Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unable to find sdk 'iphoneos11.2'

Tags:

xcode

ios

xcode10

IDE: Xcode10

OS: 10.13.6

A compiler error

Showing Recent Messages Build system information error: unable to find sdk 'iphoneos11.2' (in target 'xxx')

The project built on Xcode 9.4 / OS 10.13.4. Only after updating did the project build start failing.

Screenshot of error in Xcode

like image 647
Yinper Avatar asked Sep 26 '18 08:09

Yinper


People also ask

Where is iOS SDK stored?

Default iOS SDK paths Xcode: /Applications/Xcode. app. Xamarin. iOS (Visual Studio for Mac): /Library/Frameworks/Xamarin.

How do I check my Xcode SDK version?

framework file, locate and open the Info. If you are using an IDE (Integrated Development Environment), such as Xcode, look for the value for the key Bundle versions string. Xcode automatically formats the file in a table. If you are not using an IDE, the value to look for is CFBundleShortVersionString.


2 Answers

Click on your target

Click Build Settings

Under the Base SDK row, change the value to iOS (or whatever platform you are building for).

Screenshot of Xcode Build Settings

like image 192
Michael Sacks Avatar answered Oct 11 '22 23:10

Michael Sacks


I had this problem and fixed it by going to Build Settings, Basic; the Base SDK was set to "11.4 (SDK not found)" ; I changed it to iOS and that fixed it.

like image 31
SqlACID Avatar answered Oct 11 '22 22:10

SqlACID