x


Unity iPhone - Player Settings - iPhone SDK Version (missing)

Hi all,

Since upgrading my phone to OS 4.0 and updating Xcode and the iPhone SDK to the latest build, when I try and build and run from Unity, Xcode now has errors which states "Base SDK Missing". If i create a brand new Xcode project from scratch, it sets it just fine to 4.0

I figured to overcome this issue i would just need to go to Unity player settings and adjust the iPhone SDK Version to the new 4.0 but of course, it doesn't exist as an option. I seemingly have the most up to date version of Unity, so does anyone have any advice on how to overcome this problem? Also, i'd prefer to be able to build for compatibility with 3.x. Is this no longer possible? Will setting the SDK version to 4.0 mean anyone still on 3.x, won't be able to run my app?

Thanks

Mat

more ▼

asked Jun 24 '10 at 02:01 PM

Mat Brummitt gravatar image

Mat Brummitt
220 21 23 32

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

6 answers: sort voted first

Your project probably had a base SDK version of 2.x or so. The new SDK doesn't go back that far. Just change your base SDK version in Unity to like 3.1.3 or something, you should be fine.

To answer your last question, setting your SDK version to 4.0 would mean that you need 4.0 to run your game, unless you set your deployment target option to an earlier version. This is what people did to get 3.x features running for people with those operating systems but could still run on 2.x devices: http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/WeakLinking.html

You shouldn't really need to worry about that, though, unless you are using some OS 4.0 specific feature.

more ▼

answered Jun 24 '10 at 02:37 PM

Tetrad gravatar image

Tetrad
7.2k 27 37 89

Thanks, I had to set it to 3.2 in order for it to work... however, this seems to have introduced a new issue which I guess is unrelated to the original question. I'm now getting an Xcode error, "SIGBUS" which others have suggested is due to a null reference exception not picked up by Unity. Thanks for your help with the original question.

Jun 24 '10 at 08:29 PM Mat Brummitt
(comments are locked)
10|3000 characters needed characters left

I had this problem with the new Unity 3 Remote. Of course I couldn't rebuild it. A member of MacRumors Forums posted the solution:

In the Xcode project window click on the box that says "BaseSDK Missing" while holding down the option key and you will see a list of SDKs. Choose the one you want and the project will then build correctly.

You'll still need to check the settings in Info under General and Build to make sure they match the SDK you've selected.

I was able to install the Unity 3 Remote on both my iPhone 4 and my iPad.

more ▼

answered Jun 29 '10 at 02:16 AM

sharmoni gravatar image

sharmoni
31 2 3 10

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

You can select "Unknown" SDK in Player Settings and in such case Unity Editor won't touch active SDK of your Xcode project. (So your manual selection of SDK in Xcode will remain between builds).

more ▼

answered Jul 05 '10 at 07:24 AM

Mantas Puida gravatar image

Mantas Puida
871 1 4 10

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

Hi,

After updating my iPhone to iOS 4.2 I began having the "Base SDK Missing" error in Xcode. I downloaded and installed the latest Xcode & iOS SDK (4.2), but continue to have issues with "Base SDK Missing" in Xcode...

I have had limited success following the solutions outlined above and throughout the web; however, now building my Unity project over wrights the Unity-Remote app on my phone!

This has been frustrating to resolve, and there seems to be no straight forward answers. Way too much ambiguity!

Thanks for your time

more ▼

answered Jan 29 '11 at 08:12 AM

time_miner gravatar image

time_miner
1

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

I've just bought Unity iPhone and am having the exact same thing as the last poster. It's very frustrating. Also I've installed SDK 4.3

more ▼

answered Mar 21 '11 at 10:27 PM

Davies gravatar image

Davies
84 6 6 9

(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:

x3737
x1999
x347
x95
x63

asked: Jun 24 '10 at 02:01 PM

Seen: 10328 times

Last Updated: Jun 24 '10 at 02:01 PM