Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I determine which iOS SDK I have?

I'm sure this is simple, but how do I determine which version of the iOS SDK I currently have installed?

like image 877
Josh Brown Avatar asked Sep 26 '09 01:09

Josh Brown


People also ask

What is my iOS SDK?

The iOS SDK is a software development kit that helps developers create native applications for Apple's iOS devices and platforms. The iOS SDK was formerly known as the iPhone SDK.

How do I know what version of Xcode SDK I have?

To find out the version number of each framework, navigate to the . framework file, locate and open the Info. plist file. If you are using an IDE (Integrated Development Environment), such as Xcode, look for the value for the key Bundle versions string.

How do I find my SDK version Mac?

If you mean the SDK for Cocoa development, you can check in /Developer/SDKs/ to see which ones you have installed. If you're looking for the Java SDK version, then open up /Applications/Utilities/Java Preferences . The versions of Java that you have installed are listed there.


2 Answers

If you type this:

$> xcodebuild -showsdks 

it gives something like this:

$> OS X SDKs:     OS X 10.8                       -sdk macosx10.8     OS X 10.9                       -sdk macosx10.9  iOS SDKs:     iOS 6.1                         -sdk iphoneos6.1     iOS 7.0                         -sdk iphoneos7.0  iOS Simulator SDKs:     Simulator - iOS 6.0             -sdk iphonesimulator6.0     Simulator - iOS 6.1             -sdk iphonesimulator6.1     Simulator - iOS 7.0             -sdk iphonesimulator7.0 
like image 104
Johan Kool Avatar answered Sep 27 '22 19:09

Johan Kool


If you care about the build number (like "10B61"), especially during betas, the best place to check which version of Xcode and related SDKs you have installed is to use "System Information".

Apple Menu > About This Mac > System Report > Software > Developer

Once there, you'll see version and build numbers for all of the major components of the Developer Tools. The top level version and build number corresponds to the name of the disk image you downloaded from Apple.

This is as of macOS 10.14.3.

like image 22
Jason Medeiros Avatar answered Sep 27 '22 19:09

Jason Medeiros