Running in Xcode is correctly, but when I want to use command line with
$ /usr/bin/xcodebuild -scheme projectA -workspace projectA.xcworkspace -configuration Debug clean build
And come up with the following.
=== BUILD NATIVE TARGET projectA OF PROJECT projectA WITH CONFIGURATION Debug ===
Check dependencies
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 armv7s).
In Build Settings are:
- Architectures: Starndard (armv7, armv7s)
- Base SDK: Latest iOS (iOS 6.0)
- Build Active Architecture Only: Debug Yes, Release No
- Valid Architectures: armv7 armv7s
After I change Build Active Architecture Only = No
, then the build was BUILD SUCCEEDED.
What is the suggestion setting for this situation, to build success under commend line mode? Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…