My project won't build if I keep the -Objc flag in other linker flags and I inherit the flag from Cocoapods. I can delete this from Pods.debug.xcconfig and all works, however, every time I run pod update
it comes back and I have to delete it again.
Is there a podfile script I could add to automate removing the -Objc flag?
I'm using Cocoapods v0.37.2. I'd like to remove -Objc
from the following snippet taken from Pods.release.xcconfig and Pods.debug.xcconfig.
OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -l"sqlite3" -framework "AVFoundation" -framework "Alamofire"
btw the need to remove the -Objc flag is caused by Parse and Facebook SDKs.