“Base SDK Missing” after upgrading to Xcode 3.2.5

后端 未结 2 1335
自闭症患者
自闭症患者 2021-02-15 02:20

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:

相关标签:
2条回答
  • 2021-02-15 02:57

    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.

    0 讨论(0)
  • 2021-02-15 03:20

    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).

    0 讨论(0)
提交回复
热议问题