How to install iOS 4.3 Simulator on Xcode 4.5?

I have Xcode 4.5 installed through the App Store and it supports iOS 5.1 and 6.0, but not iOS 4.3. It is also not available for download on the "Downloads" tab in the "Settings" section. I tried to grab it from another computer and put it on it, as described by Dominik Porada , but, alas, it did not work. Maybe there are other files that I need? How do I get the iOS 4.3 SDK back?

+8
ios xcode sdk ios-simulator
source share
2 answers

I really got 4.3 to appear in the Xcode 4.3 menu by simply copying the iPhoneSimulator4.3.sdk file to the iPhoneSimulator4.3.sdk package, as described by Dominik Porada . It seems I just had to restart Xcode again, and here it is!

But that will not work. As stated in the answers to this question , iOS 4.3 is not supported in Mountain Lion. However, for Leo can work just fine.

+6
source share

It was a solution to run iOS 5.1 in Xcode 4.2. Try the same procedure. Try copying it from a previous version of Xcode. Haven't tried it myself. But look if it works.

To get Xcode 4.2 on Snow Leopard to run code on a device running iOS 5.1, you can do this:

If you have another Mac running Lion and Xcode 4.3.1, you can copy files from:

 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.1 (9B176) 

Put the copied files in an equivalent location on your Mac Snow Leopard: maybe

 /Developer/Platforms/iPhoneOS.platform/DeviceSupport 

Similarly, copy the iOS 5.1 SDK files found in this directory:

 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk 

Also copy 'version.plist' from the Lion machine to the iPhoneOS.platform folder on the Snow Leopard machine.

Restart Xcode on the Snow Leopard machine and reconnect the devices and it looks happy enough.

If you do not have access to the machine with Lion and Xcode 4.3.1:

You can get the files from the 4.3.1 DMG, which can be downloaded from Apple here: Download for Apple Developers.

Install DMG, show package contents on Xcode icon and expand it to

 /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 

Follow these steps.

You may find it more convenient to use Apple's own ditto method (sudo ditto src dest) in the terminal window to copy folders.

0
source share

All Articles