Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Base SDK Missing" after upgrading to Xcode 3.2.5

So I took the step upgrading to Xcode 3.2.5 (iPhone SDK 4.2) and now I cannot run to device. I always see this now in the dev environment:

alt text

In my current projects, when going to the project settings I can only set the Base SDK to iOS 4.2 but this doesn't change the "Base SDK Missing" problem. :/

I can however deploy to the simulator, and change which version I want the simulator to load as.

Does anyone know how to fix this?

If I create a new project I don't get this...

Thanks

like image 909
ingh.am Avatar asked Dec 02 '10 22:12

ingh.am


2 Answers

I solved this problem, by doing this:

Project->Edit Project Settings->Build->Base SDK->Latest SDK (4.2)
Project->Edit Project Settings->Build->iOS Target Deployment->iOS 4.2

Project->Edit Active Target (myTarget)->Base SDK->Latest SDK (4.2)
Project->Edit Active Target (myTarget)->iOS Target Deployment->iOS 4.2

And, If you still have problems:

Click the box that says base SDK missing, and select:

Simulator -> Debug

That should do it.

like image 63
Richard J. Ross III Avatar answered Nov 25 '22 11:11

Richard J. Ross III


You can double-click or right-click on your target and pull up it's Info. Click on the build tag and look for the setting for Base SDK. You probably want this set to Latest iOS, which is a new option and should prevent this from happening the next time you upgrade.

However, you might be better off doing this at the Project level, by selecting Project -> Edit Project Settings and following the steps above. You can also select the general tab under the project settings and set your Base SDK with the "Base SDK for all Configurations" drop down. That has the advantage of fixing a problem that sometimes crops up with your linked frameworks (if they are all in red in the sidebar, you have the problem).

like image 28
Tyson Tune Avatar answered Nov 25 '22 10:11

Tyson Tune