Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS5 - Setting the deployment target and building

I'm using iOS5 GM Seed and created an application using "story board" concept. Now I want to distribute the app to app store and want to set the deployment target to iOS4.2 The app when tested in simulator, its working fine. When I'm building it for iOS device using development profile to test on device, its giving error: "Story boards are unavailable on iOS 4.3 and prior"

How to resolve this issue and make my app run on ios4.2 as well.

like image 837
Satyam Avatar asked Oct 10 '11 12:10

Satyam


People also ask

How do I change Iphone deployment target?

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 increase deployment target 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 check my iOS deployment target?

The dropdown menu of the Deployment Info section is nothing more than a convenient way to define a build setting. Select the Build Settings tab at the top and search for deployment target. The Deployment section shows four build settings that relate to the deployment target: iOS Deployment Target.

How do I change the deployment app in 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.


1 Answers

I ran into the same issue today using XCode 4.2. Here is what I did to get it to build correctly:

  1. Set Deployment and Build options back to 5.0.
  2. Clean the project.
  3. Close the project.
  4. Quit XCode.
  5. Restart XCode.
  6. Debug / Build the project.
like image 59
Dan Waterbly Avatar answered Sep 22 '22 06:09

Dan Waterbly