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?
asked Jun 24 '10 at 02:01 PM
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.
answered Jun 24 '10 at 02:37 PM
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.
answered Jun 29 '10 at 02:16 AM
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).
answered Jul 05 '10 at 07:24 AM
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
answered Mar 21 '11 at 10:27 PM