I want to edit the xcconfig file, but unfortunately Xcode only allows 1 xcconfig file per configuration, and that is Pods.xcconfig because I'm using Cocoapods
So how can I edit the xcconfig without hurting Cocoapods
I can think of several ways
So how to deal with this ?
Here is a issue in CocoaPods Tracker. A workaround is described here: #1736.
As kylef (owner of CocoaPods repo) mentioned:
Manual Workaround: Use
pod install --no-integrate
then add#include "Pods/Pods-GCE.xcconfig"
from your custom xcconfig files.I don't think there is a clear solution to automatically fix it, but maybe it would be nice if cocoa pods detected this and told the user. Took me a while to figure out what happened after I did
pod install
and the projects xcconfig files wasn't being included.