CocoaPods debug.xcconfig:无法在目标中打开文件 [英] CocoaPods debug.xcconfig: unable to open file in target

查看:845
本文介绍了CocoaPods debug.xcconfig:无法在目标中打开文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从另一台机器上获得了我的代码,该机器可以在没有 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解整合 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

推荐答案

此答案有助于:



  1. 吊舱解体

  2. su做gem install cocoapods-clean

  3. pod clean

  4. 打开项目并删除应为红色的 Pods文件夹

  5. pod设置

  6. pod安装

  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"


这篇关于CocoaPods debug.xcconfig:无法在目标中打开文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆