Trouble with architecture in XCode, armv6 armv7

Hi,

I’m trying to get Unity’s examples to work with my iPod Touch - I keep getting this error in the end of the build:

“Can’t run Unity-iPhone - was built for armv7 but device requires armv6 or compatible”

Is my iPod too old? (It worked with Unity iPhone 1.5)

Thanks!

  1. project - set active architecture and choose armv6 there
  2. if armv6 is not there, go to project - edit active target settings and switch from optimized architecture (armv7) to standard (armv6+armv7) and then do step 1 again :slight_smile:

Thanks!

Ok, what about the Base SDK setting? I have the latest 4.1 installed on the device as well as my mac - everything is installed yesterday. But in Unity’s player settings only SDKs up to 3.2 are available - so wich one should I use?

And since I’m asking, what about API compatibility level :smile: .NET 1.1 or 2.1?

I got it to run, by the way, I just want to know if I’m doing it “right”.

Set it to unknown and switch it in XCode - edit active target

base sdk 4.1
iOS deployment target: what you want as long as it is >= 3.0

On Unity 3, .net 1.1 is no longer available, if you work on Unity iphone 1.x then its up to you. if you don’t need .net 2.1 features, don’t use it, saves you 1-2 megs

Thanks a lot!