Will installing XCode 4.5 remove iOS Simulator 5.1

2020-07-06 09:38发布

问题:

I have 2 machines. On one of them I updated to xcode 4.5, but doing so uninstalled my iOS simulator for 5.1.

I'm hesitant to update my other machine as I have a project that requires the 5.1 simulator.

Are my assumptions correct or did I do something to remove the older simulator without knowing?

回答1:

You can redownload the simulator in the Xcode preferences.



回答2:

Download Xcode 4.3.3 for lion and open the dmg, and click and show package contents,and copy the Contents\Developer\platforms\iPhoneOS.platform\sdks\iPhoneOs5.1sdk folders into your xcode4.5 Contents\Developer\platorms\iPhoneOS.platform\sdks folder, and it works