I have different targets, hence different configurations in my app.
Every time I run pod install
, I end up having a debug and a release warning for each configuration, telling me that :
The file “Pods-{MyTarget}.debug.xcconfig” couldn’t be opened because there is no such file.
/{MyAppPath}/Pods/Pods/Target Support Files/Pods-{MyTarget}/Pods-{MyTarget}.debug.xcconfig
It appears that /Pods
is being added twice in the configuration paths (from Info section at project level), and I have no idea why:
But to solve this issue, I simply have to manually select the option that's below, and it's OK:
Then the warning disappears and I am able to build the project again.
What's causing this issue?
Thanks for your help!
Listing the answer we worked out in the comments:
pod deintegrate
Pods
in the filePods
pod install
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With