storyboards are unavailable on ios 4.3 and prior - iphone

i've developing the iphone application. i got a error when i run the application like "storyboards are unavailable on ios 4.3 and prior". i don't know how to resolve this so anyone guide me to resolve this.
My xcode is 4.3 version. My iphone is 2g.

Did you do ANY research on this question? Storyboards are only available in iOS SDK 5.0 and later.
If you build an application that is based on storyboards, you must choose 5.0 as the least supported iOS version on your build settings.
And vice versa, if you want to build your application for 4.3, you must not use storyboards.

There is already an answer here at iOS5 Storyboard error: Storyboards are unavailable on iOS 4.3 and prior
Storyboards are not supported for IOS 4.3.

Related

can app(target os below 4.3) run on ios6

Just wonder if the app(target os below 4.3) can run on ios6.
xcode 4.5 can not build the target below 4.3, does this mean ios6 does not accept app with os target below 4.3?
Welcome any comment
Almost all apps built for older iOS versions will be able to run on future iOS versions. However, you will have difficulty building older iOS apps to newer iOS devices. Also, be careful when you release. I had been working on one of my apps in iOS 4, and it was rejected for crashing. I updated my xcode and realized some of the old code didn't work in iOS 6.
an app targeted below 4.3 should be able to run on iOS6 devices as long as the app is built with an xcode less than 4.5. at least that was the case with an app I work on and it didn't seem to cause any problems (that i'm aware of). the difference is if you want to update that app using xcode 4.5 you'll have to change the target build to at least 4.3.

We intend to support the iPhone 5, do we need to upgrade Xcode to v4.5 and use the iOS 6 SDK?

We want to update our game to support the iPhone 5.
Do we need to upgrade Xcode to v4.5 and use the iOS 6 SDK??
[edit]Apple is now explicitly rejecting applications submitted with the iOS 5.x SDK and iPhone 5 default images, saying "Your app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later."
Old answer :
Yes you can use Xcode 4.4 or below to support iPhone 5.
The iOS (6) will run an app in letterbox mode if there is not a 640x1136 splashscreen image in your resources. The image must be called Default-568h#2x.png (if your splashscreen is Default.png in your Info.plist).
So just add this image on your Xcode project whatever version it is, and the app will run in full screen mode.
This being said, there are chances that Apple will not let you install an app compiled with Xcode 4.4 or below on an iOS 6 device (and of course no iPhone 5 simulator for Xcode 4.4 and below). [edit] As told in the comments, yes, you can install on an iPhone 5 / iOS6 with Xcode4.4.
All apps created with older SDK works perfectly on newer iOS versions, so iPhone 5 should also run every existing app without any problem, so you don't need to use the iOS 6.0 SDK to support iPhone 5.
I think you mean to ask to support iOS 5. If that is the case then you really do not need to upgrade your Xcode version. YOu can use iOS SDK 5.0 or iOS SDK 5.1 which contains Xcode version 4.2 and 4.3.
You really do not need to use iOS SDK 6.0 beta. I hope this may help you.
All the information about iOS 6 are under NDA, and the iPhone 5 is not even announced.
But there are rumors, that the iPhone 5 will have a screen resolution of 1136*640. There are hacks for Xcode 4.4.1 out there that make it possible to create that screen resolution in the iPhone simulator. So, I think that would be a viable way for testing the rumored new resolution.
Regarding iOS 6: if you are a paying iOS developer, you can download iOS 6 to test your app against it (We don't talk about products under NDA here).
You can use this receipt http://0xced.blogspot.co.at/2012/08/prepare-your-apps-for-new-iphone.html for start iOS Simulator (iOS 5 only) with new screen size.
Yes, You need to update your Xcode to build for iPhone5. Do the following steps for this:
Download Xcode 4.5 with iOS 5.1 SDK.
Build your apps with Xcode 4.5.

How do I create an IiPhone/iPad app which targets iOS 4.3 and later?

I have created an app using Xcode 4.3 and iOS 5.0, but I recently found out I need to also support 4.3.x devices. I changed my Deployment target to 4.3, but then I got the infamous storyboard error:
Storyboards are unavailable on iOS 4.3 and prior
So, how do I create an app that targets both? I can get my app to build using the post here but then my app shows the launch screen and then goes blank.
You can't. Storyboard is only available on iOS 5.0 or higher.
If you want to support iOS 4.3 you need to remove all the storyboard code and go back to using not nib/viewcontroller way of building your UI.

Making iPhone App iOS 5 Compatible

I have developed the app using Base SDK 4.3.
I want to make sure my app is iOS 5 compatible.
In that case, should I change my base SDK to 5.0 or keep it at 4.3 and test it in iPhone 5 Simulator?
Please let me know.
Thanks!
Here is what I have done on mine:
Once you installed the latest version of xCode 4.2, you can't go back to SDK 4.3.
A. So Base SDK will be set at SDK 5.0.
B. If you still want to support iOS 4.3 devices then set your "iOS Deployment Target" to iOS 4.3 or whatever minimum version you still want to support.
C. Now you can test your app on Simulator/devices with iOS 4.3 or whatever minimum version and iOS 5.0 as well.
If you change your depoloyment target to 5.0, your app will be only available for devices that run iOS 5.0. Keep it at 4.3 (edit: sorry, you're talking about base sdk here, but still leave your depoloyment as is) and test in the iOS 5 Simulator. You should definately do the same to a device with iOS 5.0 as well! (Your base sdk is not relevant in your case -- change it to 5.0 if you need to use APIs from 5.0)
More about deployement targets here.
First of all if you want to make sure test on a real device instead of simulator.
Second, you should compile for iOS 5.0 and check any errors/warnings.
Third, you can set iOS Deployment Target for 4.3 and test on 5.0 simulator

About iAd in my application

thanks in advance.
I have created an application for iphone and am using iAd in that.If i am using ios with version 4.0 then the app crashing because of iAd. But is installing while executing in ios with version 4.1 and later. If any one know the reason please tell me.
This crash is due to iAd migration from iOS 4.0, 4.1 to iOS 4.2. The new sdk suggests using ADBannerContentSizeIdentifier320x50 with ADBannerContentSizeIdentifierPortrait. Its all ok if its working with 4.1 and above. Just mention to use ios 4.1 and above in your app.