Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can i change my iOS deployment target to 5.0 on xcode 4.5?

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

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

is it possible to change ?

I have used feature of autolayout in xcode 4.5

and

I have one doubt: I have heard that if i develop app using deployment target of iOS 5 and with launch image of [email protected] 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 [email protected] image. how to solve this problem ?

Thanks for the reading of question.

like image 981
Krunal Avatar asked Feb 08 '13 10:02

Krunal


People also ask

How do I change the deployment target version in Xcode?

Change deployment targetSelect your app target and go to General tab, under Deployment Info change target to whatever version you want to support.

How do I change target iOS in Xcode?

Deployment Target refers to the oldest version of iOS that is capable of running your project. To change your deployment target, open up your project file in Xcode and check the setting under Build Settings -> Deployment(...) Check this answer to add earlier devices support.

How do I lower deployment target in Xcode?

Update deployment target If you haven't already, change the deployment target to the lowest iOS version you want to support, select the project name then select your app target, choose General and change the version in Deployment Info.

How do I change my deployment target?

To reconfigure an application to a different deployment targets for an application, navigate to Configure > Configure Deployment Target. In the Update deployment target window, select the taget platform(s) to configure or reconfigure the application.


2 Answers

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

enter image description here

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

Edit for XCode 7+

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

XCode 7

like image 76
Adis Avatar answered Sep 27 '22 16:09

Adis


You might also notice that you can't see older deployment targets from Adis way. So to fix that go to build settings>deployment and then locate iOS deployment target and change it there.

picture what's described above

like image 34
John Riselvato Avatar answered Sep 27 '22 17:09

John Riselvato