CocoaPods debug.xcconfig:无法在目标中打开文件 [英] CocoaPods debug.xcconfig: unable to open file in target
问题描述
我从另一台机器上获得了我的代码,该机器可以在没有 pod安装
的情况下工作,但是在pod安装之后,它会出现以下错误
I have my code from my other machine, which is working without pod install
, but after pod install it gives me following error
错误:/ Users / UserName / Documents / MyApp / Target支持文件/Pods-MyApp/Pods-MyApp.debug.xcconfig:无法打开文件(在目标 MyApp中在项目 MyApp中)(在目标 MyApp中)
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')
尝试 pod解整合$ c $在
pod初始化
-to-open-file-wrong-directory>链接,删除了 Podfile.lock
和Pod文件夹。
Tried pod deintegrate
and pod init
again given in this link, deleted Podfile.lock
and Pod folder.
pod --version 1.7.4
pod --version 1.7.4
Xcode-10.2
Xcode - 10.2
推荐答案
此答案有助于:
- 吊舱解体
- su做gem install cocoapods-clean
- pod clean
- 打开项目并删除应为红色的 Pods文件夹
- pod设置
- pod安装
- "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"
这篇关于CocoaPods debug.xcconfig:无法在目标中打开文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!