CocoaPod debug.xcconfig:无法在目标中打开文件

时间:2019-07-12 09:17:27

标签: ios swift xcode cocoapods

我从另一台机器上获得了我的代码,该机器可以在没有pod install的情况下工作,但是在pod安装之后,它会提示我以下错误

  

错误:/ Users / UserName / Documents / MyApp / Target支持文件/Pods-MyApp/Pods-MyApp.debug.xcconfig:无法打开文件(在项目“ MyApp”中的目标“ MyApp”中)(在目标“ MyApp')

在此link中再次尝试pod deintegratepod init,删除了Podfile.lock和Pod文件夹。

pod-版本1.7.4

Xcode-10.2

1 个答案:

答案 0 :(得分:0)

帮助this的答案

  1. “豆荚解体”
  2. “ sudo gem install cocoapods-clean”
  3. “干净的豆荚”
  4. 打开项目并删除应为红色的“ Pods”文件夹
  5. “吊舱设置”
  6. “ pod安装”
相关问题