- Home /
iPhone Build Errors
I'm trying to build a test project to the iPhone from unity. I consistently receive the error, "No architectures to compile for (ARCHS=armv6, VALID_ARCHS=i386 ppc ppc64 ppc7400 ppc970 x86_64)."
I have zero experience with xcode so I would appreciate some advice on why exactly I am receiving this error.
Answer by Eric5h5 · Mar 26, 2010 at 06:59 PM
You're trying to build for the simulator, which you can't do in Unity. You have to build for the device.
Thanks, bear in $$anonymous$$d, I don't know xcode and this is my first time building from Unity. How do I make sure I'm building for the device?
@Random$$anonymous$$easure: use the popup menu in the upper-left, where you can select the build target.
I assume you are referring to active target. The only option I am given is "Unity-iPhone". I am never given the choice between simulator and iPhone. On the top left of my screen I have three drop-down choices, page, overview, and action.
@Random$$anonymous$$easure: Look here: http://www.starscenesoftware.com/stuff/pics/xcode.png
Thank you, I am now redownloading the iPhone SD$$anonymous$$ because I didn't have any of those SD$$anonymous$$ options. I must have downloaded the wrong version. $$anonymous$$y confusion has been partially explained and hopefully this will solve my problem.
Answer by touchgamedev · Apr 15, 2010 at 05:56 PM
You will want to view this on the iPhone Developer site: This will walk you through the exact problem you are running into but you need to go further and understand the code signing process or it still will not work and you will not be able to submit you app to the appStore.
Lots of screen shots to guide you - should make the concept and process easier.
Answer by m_for · Jul 23, 2010 at 06:58 PM
I have downloaded and installed xcode_3.2.3_and_ios_sdk_4.0.1.dmg, I have folders for iPhoneOS3.2.sdk and iPhoneOS4.0sdk but in xcode it always says "Base SDK Missing" in the top left pulldown. In that my options are Active -> Release or Debug, Active Target Unity-iPhone or Unity-iPhone-simulator, greyed out Active Exe, Active Architecture armv7.
project settings in all point to armv6 and iPhone 3.2 but the error is always "There is no SDK with the name or path 'iPhone3.0' and warning:building for deployment target '3.0' requires an armv6 architecture.
the png offered above looks nice but how do I get my xcode to offer up those choices?
Answer by funkyllama · Oct 26, 2010 at 06:36 PM
In your XCode project, in the "Groups & Files" section on the left Double Click the top item in the project to open Project Settings.
Click the Build tab if not already selected. Select Configuration: All Configurations. Under 'Architectures', 'Base SDK' select 'iPhone Device 3.2'
Answer by Jorgos · Mar 31, 2011 at 06:39 PM
I have the same problem. Tried all the things mentioned above but with no success.
I'm using xCode version 3.2.2 64-bit and phonegap 0.9.4 Should I update my xCode?
Your answer
Follow this Question
Related Questions
Building for iPad 1 Answer
XCode error 1 Answer
Beginner user - nothing will compile in Xcode 2 Answers
Xcode: Build and Archive error "No such file or directory" 3 Answers
iPhone Virtual Reality App won't load onto my phone. 0 Answers