moredip / Frank

Automated acceptance tests for native iOS apps
www.testingwithfrank.com
Apache License 2.0
1.21k stars 237 forks source link

Setting ONLY_ACTIVE_ARCH=NO when compiling on command line #243

Closed sgleadow closed 11 years ago

sgleadow commented 11 years ago

In the past, I've always specified ONLY_ACTIVE_ARCH=NO in my xcconfig files for debug builds, so that they would build correctly on the command line.

Xcode 5 complains about this and wants to set ONLY_ACTIVE_ARCH=YES for performance reasons. I tend to agree, since I build and run from Xcode much more often than I run the frank build from the command line.

I set it here where we call the xcodebuild command rather than in the frankify.xcconfig as I seem to remember having problems with dependent projects not building properly when I used an xcconfig as it is applies the settings all the way down the xcodeproj dependency chain.