CocoaPods debug.xcconfig: unable to open file in target

纵饮孤独 提交于 2020-03-05 03:37:29

问题


I have my code from my other machine, which is working without pod install, but after pod install it gives me following error

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')

Tried pod deintegrate and pod init again given in this link, deleted Podfile.lock and Pod folder.

pod --version 1.7.4

Xcode - 10.2


回答1:


This answer helped:

  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”


来源:https://stackoverflow.com/questions/57003931/cocoapods-debug-xcconfig-unable-to-open-file-in-target

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!