【问题标题】:CocoaPods debug.xcconfig: unable to open file in targetCocoaPods debug.xcconfig:无法在目标中打开文件
【发布时间】:2019-07-12 09:17:27
【问题描述】:

我的代码来自我的另一台机器,它在没有 pod install 的情况下工作,但是在 pod install 之后它给了我以下错误

错误:/Users/UserName/Documents/MyApp/Target Support Files/Pods-MyApp/Pods-MyApp.debug.xcconfig:无法打开文件(在项目“MyApp”中的目标“MyApp”中)(在目标'我的应用程序')

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

pod --version 1.7.4

Xcode - 10.2

【问题讨论】:

  • 您的项目 MyApp.xcodeproj 有问题。请检查并更新。

标签: ios swift xcode cocoapods


【解决方案1】:

This answer 帮助:

  1. “吊舱解体”
  2. “sudo gem install cocoapods-clean”
  3. “豆荚清洁”
  4. 打开项目并删除应该是红色的“Pods”文件夹
  5. “吊舱设置”
  6. “pod 安装”

【讨论】:

    猜你喜欢
    • 2021-03-24
    • 2019-04-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-10-05
    • 1970-01-01
    • 2022-01-07
    • 1970-01-01
    相关资源
    最近更新 更多