x


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.

more ▼

asked Mar 26 '10 at 04:49 PM

RandomMeasure gravatar image

RandomMeasure
34 4 6 10

(comments are locked)
10|3000 characters needed characters left

5 answers: sort voted first

You're trying to build for the simulator, which you can't do in Unity. You have to build for the device.

more ▼

answered Mar 26 '10 at 06:59 PM

Eric5h5 gravatar image

Eric5h5
80.3k 42 132 521

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?

Mar 26 '10 at 08:32 PM RandomMeasure

@RandomMeasure: use the popup menu in the upper-left, where you can select the build target.

Mar 26 '10 at 08:57 PM Eric5h5

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.

Mar 30 '10 at 04:44 PM RandomMeasure

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.

Mar 31 '10 at 05:57 PM RandomMeasure
(comments are locked)
10|3000 characters needed characters left

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.

http://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone_development/120-Running_Applications/running_applications.html

Lots of screen shots to guide you - should make the concept and process easier.

more ▼

answered Apr 15 '10 at 05:56 PM

touchgamedev gravatar image

touchgamedev
100 5

(comments are locked)
10|3000 characters needed characters left

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?

more ▼

answered Jul 23 '10 at 06:58 PM

m_for gravatar image

m_for
1

(comments are locked)
10|3000 characters needed characters left

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?

more ▼

answered Mar 31 '11 at 06:39 PM

Jorgos gravatar image

Jorgos
1

(comments are locked)
10|3000 characters needed characters left

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'

more ▼

answered Oct 26 '10 at 06:36 PM

funkyllama gravatar image

funkyllama
111 1 4

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2001
x347
x123

asked: Mar 26 '10 at 04:49 PM

Seen: 12913 times

Last Updated: Mar 26 '10 at 04:49 PM