Exporting to iPhone SDK 4.1

I created my new game with Unity iPhone 1.7 and I have the iPhone SDK 4.1. When I build my game with XCode it shows me a lot of errors because Unity exported my game for iPhone 3.0. My questions are:

  1. Can my game be exported for iOS 4.1 (or iOS 4.0) with Unity iPhone 1.7?
  2. I read that Unity 3 is coming soon. When will it be available? Can my game be exported to iOS with the new Unity?

Thanks :slight_smile:

You can change the base SDK in Xcode. Select the target in Xcode and push the Info button, then change the Base SDK to 4.1.

As far as I know Unity iPhone 1.7 hasn’t been updated to select 4.x as your SDK but that doesn’t stop you from building for it.

By the way, Unity 3 should be very soon. :wink:

  1. Just select unknown as sdk version in unity and in xcode then use project - edit active target settings. Set base sdk to 4.1, iOS Deployment target to whatever you want as long as it is 3.0 or higher.
  2. When its done :slight_smile: and yes it can, given you own a unity iphone 3 license and ported the game as it is a new major version and has some changes.

I put unknown and then I compiled. It showed me 96 errors :frowning: What can it be?

Solved, thanks.

jsut for the others: ensure to not build for simulator, switch it to device