Xcode 4.3 and iPhone Simulator 4.2

北城以北 提交于 2019-11-30 08:59:15
Asilisoft

I have found a way to install iPhone simulator 4.2 to Xcode 4.3:

Follow the instructions by Parth Bhatt, but install the simulator in a temporary folder ('Developer' folder doesn't exists in Xcode 4.3).

Once installed, go to <tmp_dir>/Platforms/iPhoneSimulator.platform/Developer/SDKs, and you'll find a file named "iPhoneSimulator4.2.sdk".

Open a new Finder window and go to /Applications and right-button on Xcode, select show the package contents, navigate to /Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs, you will see a .sdk files, one for each iPhone simulator installed in Xcode.

Drag the "iPhoneSimulator4.2.sdk" file from your temporary folder and drop inside SDKs folder of Xcode package.

Restart Xcode and that's all (you can delete the temporary folder).

If your project has a Deployment target to 4.2, you'll have the 4.2 simulator available.

Go to "Preferences -> Downloads tab -> Components tab" and install what You need. At the moment it lets me download 4.3 and 5.0 simulators.

I think its not possible. You can just download and install the SDK provided by Apple

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!