我的代码来 self 的另一台机器,该代码在没有 pod install
的情况下工作,但在 pod install 后它给了我以下错误
error: /Users/UserName/Documents/MyApp/Target Support Files/Pods-MyApp/Pods-MyApp.debug.xcconfig: unable to open file (in target "MyApp" in project "MyApp") (in target 'MyApp')
再次尝试了此link中给出的pod deintegrate
和pod init
,删除了 Podfile.lock
和 Pod 文件夹。
pod --版本 1.7.4
Xcode-10.2
最佳答案
This answer帮助:
- “pod deintegrate”
- “sudo gem install cocoapods-clean”
- “pod clean”
- Open the project and delete the “Pods” folder that should be red
- “pod setup”
- “pod install”
关于ios - CocoaPods 调试.xcconfig : unable to open file in target,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57003931/