Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Mat Brummitt · Jun 24, 2010 at 02:01 PM · iphonexcodesdkversion

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

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

6 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Tetrad · Jun 24, 2010 at 02:37 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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Mat Brummitt · Jun 24, 2010 at 08:29 PM 0
Share

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.

avatar image
1

Answer by sharmoni · Jun 29, 2010 at 02:16 AM

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Mantas-Puida · Jul 05, 2010 at 07:24 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).

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Geoff Coope · Oct 14, 2010 at 01:52 PM

Hi

I also had this problem in Unity 3 but from the XCode end as it is trying to load an older 4.0 SDK when I installed the 4.1 SDK

I got Base SDK missing errors.

Here is how I got it to work work:

After doing build & run from unity, XCode should have opened with its error:

  1. Choose Project --> Edit Project Settings. When a dialog appears, click the Build tab and change the value in the Base SDK from <4.0 missing> to iPhone 4.1.

  2. Choose Project --> Edit Active Target. When a dialog appears, click the Build tab and change the Base SDK option again

After doing that I could then Build & Run in XCode and after about 20 seconds the game (Penelope in this case) popped up on my iPhone all working perfectly.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image n8 · Oct 14, 2010 at 04:34 PM 0
Share

This is a documented bug by apple in the sdk. It actually has nothing to do with unity. If you log into the your developer.apple.com and go to the new iOS beta sdk you can see the release notes. In the notes apple explains the problem.

avatar image
0

Answer by time_miner · Jan 29, 2011 at 08:12 AM

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

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Current unity iPhone and iphone 4 2 Answers

Unity iOS sdk question 1 Answer

buy older version of unity iPhone for making free games on iPhone 1 Answer

Xcode error dyld: symbol not found: _glbeginquery 0 Answers

unable to download & load particular scene in iPhone Project 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges