I am trying to solve a mysterious riddle, which I really appreciate the explanation, as this will help me understand the tools and be sure of what I am doing.
I ran into a puzzle while scrolling through the xcodebuild command line to create my iPhone app. I found this to reject '-sdk iphonesimulator6.0' with this message: " There are no architectures to compile for (ARCHS = i386, VALID_ARCHS = armv7). "
Then I saw that my VALID_ARCHS were installed in armv7, and that turned out to explain why xcodebuild refused to build for the simulator (which, in my opinion, was intelligence). But how did my Xcode IDE go around it and manage to build for the simulator (what does it do)?
Change VALID_ARCHS to: VALID_ARCHS = "$ (ARCHS_STANDARD_32_BIT)"; (which extends to armv7 and armv7a) or VALID_ARCHS = armv7 i386 Seems to have satisfied xcodebuild to agree to build for the simulator. Keep in mind, in the first case, the i386 is still not specified! And I must conclude that the i386 becomes, under certain conditions, implicit. Can someone confirm and / or expand all of this?
source
share