简体   繁体   English

如何将较旧的SDK添加到xcode 4

[英]how to add older SDK's to xcode 4

Good Evening, The problem is that i have both xcode 3.2 and xcode 4 and i want to transfer the installed sdks from xcode 3.2 to xcode 4.0. 晚上好,问题是我同时拥有xcode 3.2和xcode 4,我想将已安装的SDK从xcode 3.2转移到xcode 4.0。 is that even possible?? 那有可能吗? I am building an app for 3.1.3 in xcode 3.2 and i want to transfer my work to xcode 4.0. 我正在xcode 3.2中为3.1.3构建一个应用程序,我想将我的工作转移到xcode 4.0。 Is it as simple as copying the sdks from one folder to another? 就像将sdks从一个文件夹复制到另一个文件夹一样简单吗?

I hope my question is clear. 希望我的问题清楚。

thank you, 谢谢,

L_Sonic 声波

I think you can just set the iOS deployment target to 3.1 in your project settings. 我认为您可以在项目设置中将iOS部署目标设置为3.1。 I don't know if XCode will actually warn you if you're using an API call that's only available in 4.0 though. 我不知道XCode是否会实际上警告您是否正在使用仅在4.0中可用的API调用。

More here . 这里更多。

如果要在较旧的设备上进行测试,可以在xCode首选项/下载/组件上安装模拟器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM