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.
Change deployment targetSelect your app target and go to General tab, under Deployment Info change target to whatever version you want to support.
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.
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.
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.
I ran into the same issue today using XCode 4.2. Here is what I did to get it to build correctly:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With