views:

1003

answers:

3

What is the easiest way of finding out what version of the iPhone SDK is installed on my OS X?

When you log into the Apple's iPhone Developer Center, you can see the build number of the current available version of the SDK, but you have to remember if you have already downloaded that version or not.

What is the easiest way of staying current?

A: 

You can always take a look at the file named "About iPhone SDK.pdf" under /Developer ...

Thanks for the answer. After your suggestion I read that document and, although it talks about the version of XCode included in the SDK (in this case the 3.1), there is no information on what SDK build number is installed.
Sergio Acosta
In Snow Leopard, try System Profiler > Software > Developer.
Jason Medeiros
+2  A: 

In general, you get the version number for any SDK from the CoreServices/SystemVersion plist file:

$Developer/Platforms/$Platform.platform/Developer/SDKs/$SDK.sdk/System/Library/CoreServices/SystemVersion.plist.

You should see an entry for the ProductBuildVersion.

mmalc
This number doesn't help when deciding to grab the latest dmg from developer.apple.com. System Profiler > Software > Developer in Snow Leopard gives you all the information you need.
Jason Medeiros
+3  A: 

This is a cross post from this question.

The best place to check which version of the iPhone SDK you have installed is to use System Profiler.

Apple Menu > About this Mac > More Info... > 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 works in Snow Leopard, but apparently not in Leopard. I don't know of a singularly useful equivalent in Leopard. Consider upgrading :)

Jason Medeiros
Thanks! I marked this as accepted considering Snow Leopard will be the most common platform for Mac developers in the future.
Sergio Acosta