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.
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.
Thank you, I am now redownloading the iPhone SDK because I didn't have any of those SDK options. I must have downloaded the wrong version. My confusion has been partially explained and hopefully this will solve my problem.
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.
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?
Thanks, bear in mind, 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?
– anon69343314@RandomMeasure: use the popup menu in the upper-left, where you can select the build target.
– Eric5h5I 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.
– anon69343314@RandomMeasure: Look here: http://www.starscenesoftware.com/stuff/pics/xcode.png
– Eric5h5Thank you, I am now redownloading the iPhone SDK because I didn't have any of those SDK options. I must have downloaded the wrong version. My confusion has been partially explained and hopefully this will solve my problem.
– anon69343314