I'm updating an older iPhone application, and the usual 'Base SDK Missing' pops up. When I open the project settings and try to set the 'iOS Deployment Target,' it's not in the list. This is the first time I've encountered this.
I'm able to set the Base SDK to 'Latest SDK' but many of the options are missing from the settings.
What should I do to update this project so it has all the settings?
Select the Build Settings tab at the top and search for deployment target. The Deployment section shows four build settings that relate to the deployment target: iOS Deployment Target.
You can also add new apps, system extensions, test suites, and other types of targets to your project. To add a new target: Choose File > New > Target. Select the platform for the new target.
To reconfigure an application to a different deployment targets for an application, navigate to Configure > Configure Deployment Target. In the Update deployment target window, select the taget platform(s) to configure or reconfigure the application.
You can access Target Membership by selecting file and opening the right menu in Xcode (the menu is called Inspectors ). Then, in File Inspector at the bottom of the menu, find Target Membership . It's very important to check all files in your project because without this you won't be able to build a new app target.
Did you select "Base SDK for all configurations" in the General tab of the Project Settings to your Latest SDK as if you dont set the base SDK there then by default it will show as " < Multiple Values > ".
Cheers
Change to the latest deployment target in the project settings and then reload the project. Failing that restart Xcode but this is not necessary.
To fix this error, I had to also change: Build -> Edit Active Target -> Build -> Architecture -> Base SDK
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With