问题
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:
- “pod deintegrate”
- “sudo gem install cocoapods-clean”
- “pod clean”
- Open the project and delete the “Pods” folder that should be red
- “pod setup”
- “pod install”
来源:https://stackoverflow.com/questions/57003931/cocoapods-debug-xcconfig-unable-to-open-file-in-target