ios - CocoaPods 调试.xcconfig : unable to open file in target

标签 ios swift xcode cocoapods

我的代码来 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 deintegratepod init ,删除了 Podfile.lock 和 Pod 文件夹。

pod --版本 1.7.4

Xcode-10.2

最佳答案

This answer帮助:

  1. “pod deintegrate”
  2. “sudo gem install cocoapods-clean”
  3. “pod clean”
  4. Open the project and delete the “Pods” folder that should be red
  5. “pod setup”
  6. “pod install”

关于ios - CocoaPods 调试.xcconfig : unable to open file in target,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57003931/

相关文章:

swift - 用 AVAudioRecorder 生成 AVAudioPCMBuffer

ios - Xcode:在框架中使用静态库?

ios - xcode 中的“摘要”选项卡不可见?

ios - 当应用程序处于后台时,推送通知将触发哪个方法?

ios - 页面 View ScrollView 不是锻炼

快速加速: the vDSP enum

SwiftUI:为什么 @AppStorage 的工作方式与我的自定义绑定(bind)不同?

iphone - iPhone 4 可实现的最低往返音频延迟是多少?

ios - 如何使用EventKit处理重复事件

iphone - 停止使用仅视网膜图像