can i change my iOS deployment target to 5.0 on xcode 4.5?(我可以在 xcode 4.5 上将我的 iOS 部署目标更改为 5.0 吗?)

本文介绍了我可以在 xcode 4.5 上将我的 iOS 部署目标更改为 5.0 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 base SDKs 作为 6.0 和 deployment target 作为 6.0

I developed iPhone app using base SDKs as 6.0 and deployment target as 6.0

现在我想将我的 部署目标 更改为 5.0 而不是 6.0

Now i want to change my deployment target to 5.0 instead of 6.0

可以改吗?

我在 xcode 4.5 中使用了自动布局功能

I have used feature of autolayout in xcode 4.5

我有一个疑问:我听说如果我使用 iOS 5 的部署目标和 iPhone 的 Default-568h@2x.png 启动图像开发应用程序5 苹果将拒绝我的应用程序..(原因:启动图像无效 - 您的应用程序包含带有大小修饰符的启动图像,仅支持使用 iOS 6.0 SDK 或更高版本构建的应用程序)但需要支持iPhone 5,我必须提供图像 Default-568h@2x.png 图像.如何解决这个问题?

I have one doubt: I have heard that if i develop app using deployment target of iOS 5 and with launch image of Default-568h@2x.png for iPhone 5 apple will reject my app..(Reason : Invalid Launch Image - You app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later) but for support of iPhone 5, i have to supply image Default-568h@2x.png image. how to solve this problem ?

感谢您阅读问题.

推荐答案

无需更改基础SDK即可更改部署目标.只需在您的目标选项下将其更改为 5.0:

You don't need to change the base SDK to change the deployment target. Just change it to 5.0 under your target options:

请注意,自动布局和其他一些功能仅在 SDK 6.0 上可用.

Note that autolayout and some other features are available only on SDK 6.0.

为 XCode 7+ 编辑

该选项卡现在称为General部署目标位于部署信息下:

The tab is now called General, and the Deployment target is under Deployment info:

这篇关于我可以在 xcode 4.5 上将我的 iOS 部署目标更改为 5.0 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!