简体   繁体   中英

CocoaPods debug.xcconfig: unable to open file in target

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

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”

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM