Saving Build Settings Deployment Target in Xcode

To get my app to run on a 2nd Gen iPod Touch, I have to go into Xcode >> Project >> etc and change the Deployment Target to OS 3.1 and change the arm7 CPU option to arm7 arm6.

I’m getting tired of making these changes dozens of time a day while building. Is there a way to have them saved permanently between various builds of my game? Perhaps an Xcode setting? Or a config file I could copy paste into each build?

A solution here would be greatly appreciated!

Really? I’m the only one of the 10,000+ users experiencing this annoying problem?

  1. Set the target os to unknown
  2. use build in the build settings and there append instead of replace

then you won’t have to redo it.

Thanks Dreamora, I’ll give that a shot.

You’re talking about setting those things in Xcode, right? Not Unity?

Nope, He’s talking about doing those things in Unity. Once done once, it appears you don’t have to change the Xcode settings for that project to build as it normally would from “Build and Run” in Unity.

I still don’t get it. What does “Append” mean? Where are you seeing this option?

Where do I set the Target OS to Unknown? In Unity? Again, I don’t see such an option. The closest thing would be Iphone SDK Version, but somehow I don’t think that will do the trick.

Please clarify where these settings are found.

For OS Version:

Edit->Player-> Then you will find Target OS to set.

For Append:

File->Build Run-> This will prompt a dialog if you are going to build with same name before in the same directory. This dialog has an option “Append”

-Grinder

Which version of Unity are you running, 3.0 Beta?

I don’t have a Target OS option in Edit >> Player. I’ve combed over those settings more than a couple of times now trying to figure this out.

the 3.0 beta allows setting base sdk and deployment target.

in unity iphone 1.7 you can only set os version which sets the base sdk.

in 1.7 you therefor must set it to “unknown”, that way it won’t alter it on the project and you can set basesdk to 4.0 and deployment target to 3.x (only present in the active target settings in xcode, not project settings)

Sorry it’s not the Target SDK option. It’s iPhone SDK Version. and select unknown there.

Thanks
-grinder

Yup, simply switching to Build Run did the trick. I didn’t think Unity was smart enough to open up Xcode and do all the dirty work for me ! Unity’s amazing!