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.

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

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.

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?

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'

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?