At the command line, xcodebuild gives different results than creating from the Xcode user interface.
Here is the line I'm passing:
$ xcodebuild -sdk iphonesimulator5.0 -configuration Release -scheme mylib -target mylib
It may be important to note that the goal is set to create a static library file.
I know that different settings are used because -Wundeclared-selector is disabled in the project file. However, I get these warnings when running xcodebuild from the command line.
Others also seem to have this problem:
Why does xcodebuild give different build results than the Xcode user interface
source
share