Search code examples
iosxcodesdktarget

Xcode iOS Base SDK Missing


I have an old iOS app that I never distributed and am now trying to work on the project again. It worked fine with an earlier version of Xcode but I was not ready to deploy it at that time. Now I am using the current version of Xcode but I have an error that there is a missing base SDK. I have explored every posting here with that error message and they did not work for me.

On investigation in Xcode. I can choose my app under "Project" pane. With the Info tab chosen, it has under Deployment Target as "Mac OS X Deployment Target" and Default in the drop list.

This is an iOS app and not a Mac OS X app. How do I change this?

I already have the base SDK as the Latest iOS.

Suggestions?


Solution

  • Try this:

    1. Open Xcode and Press cmd + 1

    2. In left panel choose your project -> Your target in center panel-> Build Settings in right panel

    3. Find "Base SDK" and choose "Latest iOS". If you see a Release and Debug lines, then choose this for both Release and Debug.

    4. Restart your Xcode