How do I add the iPhone SDK 3 to the latest version of Xcode?

烈酒焚心 提交于 2019-12-25 01:25:25

问题


I just upgraded Xcode, but now I don't have any 3.x SDK for Simulator. How do I add it for testing purposes?


回答1:


You can try using old versions of XCode (with previous simulators) but the most reliable one is using a device. The iPhone1's latest OS version is 3.1.3. I'm sure you can pick one pretty cheap on eBay or similar.

You will also need to make sure that you drop the minimum OS version to 3.0.




回答2:


You can goto Project->Edit Project Settings, and from there edit the "Base SDK" to what ever version you have. From here when you build and run you should be running whatever sdk simulator or device you picked.




回答3:


http://cocoawithlove.com/2010/07/tips-tricks-for-conditional-ios3-ios32.html

This will show you how to install older version of xcode to run iphone simulatr pre-4.0.



来源:https://stackoverflow.com/questions/4492966/how-do-i-add-the-iphone-sdk-3-to-the-latest-version-of-xcode

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