Xcode SDK IOS 4.2 安装并在构建设置中缺少 iOS 4.1

发布于 2024-10-09 05:17:32 字数 405 浏览 0 评论 0原文

我已经从Apple开发者网站下载了Xcode SDK 4.2(xcode_3.2.5_and_ios_sdk_4.2_final.dmg)并成功安装。当打开我的旧xcode项目时,它显示缺少baseSDk,当我尝试更改项目设置时,我发现并将base SDk设置为4.2,它工作正常

 my problem is ,in Base SDk list it shows  

(iOS 2.1,iOS 2.2,iOS 2.2.1,iOS 3.0,iOS 3.1,iOS 3.1.2、iOS 3.1.3、iOS 4.2)

没有iOS 4.0iOS 4.1(我之前使用过4.2)。我的安装有什么问题吗???请帮助我纠正我的错误

提前致谢

i have download Xcode SDK 4.2(xcode_3.2.5_and_ios_sdk_4.2_final.dmg) from Apple developer site and installed successfully . when open my old xcode project it shows baseSDk missing ,when i try to change project setting ,i have found and set base SDk as 4.2 it works fine

 my problem is ,in Base SDk list it shows  

(iOS 2.1, iOS 2.2, iOS 2.2.1, iOS 3.0, iOS 3.1, iOS 3.1.2, iOS 3.1.3, iOS 4.2)

There is no iOS 4.0 and iOS 4.1 (which i have used before 4.2). anything wrong in my installation???? Plz help me to correct my mistake

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我为君王 2024-10-16 05:17:32

这确实发生了。我一般只使用最新的SDK作为基础SDK。您支持最新版本并忘记旧版本[苹果风格]。这样您的应用程序就可以利用所有最新功能。

您必须记住的一件事是 Base SDK 与部署目标不同。
基础 SDK 是您的项目将使用和支持的最新 SDK。
部署目标在target->getInfo中找到;这是您的应用程序支持的最低版本。
4.2是免费升级,大多数都会升级,所以我将部署目标设置为4.0或至少3.0。谁还用2.x?

如果您确实也想要 4.0 和 4.1,则必须安装旧的 4.1 GM 作为并行 Xcode IDE,或者点击此链接并在单个 XCode IDE 中获得对所有版本的支持。

http://chris-fletcher.com/2010/08/28/howto-install-iphone-sdk-2-0-3-1-for-xcode-3-2/

我建议使用 4.2 构建,但请点击链接并安装旧版本的所有模拟器 SDK,以便您可以在这些版本的模拟器上测试应用程序。

This does happen. I generally just use the latest SDK as base SDK. You support the latest version and forget abt the older versions[apple style]. This way your app can take advantage of all the latest functionality.

One thing you must remember is that the Base SDK is different from the deployment target.
base SDK is the latest SDK your project will use and support.
deployment target is found in target->getInfo; this is the minimum version that your app will support.
4.2 is a free upgrade and most of them would upgrade, so i'd set the deployment target as 4.0 or at the least 3.0. who uses 2.x anymore?

if you really want 4.0 and 4.1 as well, you have to install the old 4.1 GM as a parallel Xcode IDE or follow this link and get support for all the versions in a single XCode IDE.

http://chris-fletcher.com/2010/08/28/howto-install-iphone-sdk-2-0-3-1-for-xcode-3-2/

I'd suggest building using 4.2 but follow the link and install all the simulator SDKs for old versions so that you can test the app on those versions of the simulator.

泛泛之交 2024-10-16 05:17:32

这里没有出什么问题。这就是Apple强制开发者始终使用最新的SDK进行开发的方式。

Nothing went wrong here. That's how Apple forces the developers to always use the latest SDK to develop.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文