我已经解决了Manifest.lock和Podfile.lock错误,但现在出现了这个错误:
“Pods.debug.xcconfig”文件无法打开,因为没有这样的文件。 (/Users/user/GitHub/xxxxxx/Pods/Pods/Target Support Files/Pods/Pods.debug.xcconfig)
如您所见,路径不正确,因为没有Pods/Pods目录(多了一个pod)。
我该怎么办?我只添加了PODS_ROOT到用户定义变量,因为那可以修复我的Podfile和Manifest.lock文件。
非常感谢您的帮助!
编辑:
添加PODS_ROOT后,运行pod install
时会出现以下情况。
[!] The `Project [Debug]` target overrides the `PODS_ROOT` build setting defined in `Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
pod install
可能可以解决此问题。 - Keith Smileypod update
,但都没有成功解决这个问题。就是无法解决这个问题。 - mais-ouiPods
从synx
中排除,方法如下:https://github.com/venmo/synx/blob/master/lib/synx/project.rb#L10 - Keith Smileysynx
时,它会删除所有图像,所以我只是再次运行了pod install,这给我带来了所有错误。我通过添加PODS_ROOT来消除Podfile.lock和Manifest.lock错误来修复它。现在我遇到了这个错误 :/ - mais-oui