Should I Build for iPhone 5?

Okay so I installed xCode 4.5, but upon building with the iOS 6 seed, I am now tentatively preparing to publish for iPhone 5. So if Submit to the App Store using the iOS 6.0 GM Seed will the app still be compatible with iOS 5 and below? I tried building with iOS SDK 6.0 GM Seed and I couldn’t install to my iPhone 4, so I am wondering if it will still be compatible.

Right now if I run my app in the iPhone 5 skin, it looks perfect and if I run it in the iPhone 4 skin it is just the way I want it. How can I publish a universal build for both? [import]uid: 59735 topic_id: 31009 reply_id: 331009[/import]

Do you have iOS6 on your iphone4? [import]uid: 8271 topic_id: 31009 reply_id: 123975[/import]

iOS 6 is supposed to be backwards compatible with 5. Moving forward, Apple always wants you to build against the latest SDK. Their stuff has generally been buggier and officially discouraged if you try to build against the older SDK and try to run on a newer OS. (Compiling against 5.0 completely broke iPad retina which needed 5.1.)

Next week when 6.0 is officially released, we will change all builds to use iOS 6.0 and remove the current popup box that lets you select between 5.1 and 6.0 GM seed.
For your problem, you may need to install the latest Xcode to get the app to install to your older device.

[import]uid: 7563 topic_id: 31009 reply_id: 123977[/import]

I’m having this same issue. Using the newest XCode 4.5 and the 6.0 GM seed I can build against 6.0, but when I try to test on my iPad w/ 5.1 it won’t install.

I’m hesitant to upload to the app stores because of this. Am I missing something? [import]uid: 84258 topic_id: 31009 reply_id: 124073[/import]

Would you please open up the Info.plist in the .app that gets built. Look for any version numbers fields that look suspicious, for example, MinimumOSVersion should be 4.3.

[import]uid: 7563 topic_id: 31009 reply_id: 124081[/import]

Info.plist looks fine, including the MinimumOSVersion.

One thing I did just try is building with an ad-hoc signing id rather than distribution and I was able to install on my iPad just fine. So is there something preventing a distribution signed app from going on my iPad 5.1? Seems strange. [import]uid: 84258 topic_id: 31009 reply_id: 124082[/import]

No, this is standard operating procedure for Apple. You are supposed to use Developer profiles to install to your test devices. You use Distribution for the App Store. The latter are not supposed to be installed to test devices.

It sounds like there is no problem here. This thread should be closed. [import]uid: 7563 topic_id: 31009 reply_id: 124084[/import]

Agreed, although I have been able to install distribution profiles to my iPad in the past. Would be interesting to hear what profile BoltVisual is using. [import]uid: 84258 topic_id: 31009 reply_id: 124085[/import]

I always use distribution ad hoc files certificates to install apps for testing. There is no reason to use developer. I was having trouble installing my latest app with distribution on my iPhone 4S with the new xCode, but it turned out I needed to update to iOS 6. All is well. [import]uid: 59735 topic_id: 31009 reply_id: 124086[/import]

Do you have iOS6 on your iphone4? [import]uid: 8271 topic_id: 31009 reply_id: 123975[/import]

iOS 6 is supposed to be backwards compatible with 5. Moving forward, Apple always wants you to build against the latest SDK. Their stuff has generally been buggier and officially discouraged if you try to build against the older SDK and try to run on a newer OS. (Compiling against 5.0 completely broke iPad retina which needed 5.1.)

Next week when 6.0 is officially released, we will change all builds to use iOS 6.0 and remove the current popup box that lets you select between 5.1 and 6.0 GM seed.
For your problem, you may need to install the latest Xcode to get the app to install to your older device.

[import]uid: 7563 topic_id: 31009 reply_id: 123977[/import]

I’m having this same issue. Using the newest XCode 4.5 and the 6.0 GM seed I can build against 6.0, but when I try to test on my iPad w/ 5.1 it won’t install.

I’m hesitant to upload to the app stores because of this. Am I missing something? [import]uid: 84258 topic_id: 31009 reply_id: 124073[/import]

Would you please open up the Info.plist in the .app that gets built. Look for any version numbers fields that look suspicious, for example, MinimumOSVersion should be 4.3.

[import]uid: 7563 topic_id: 31009 reply_id: 124081[/import]

Info.plist looks fine, including the MinimumOSVersion.

One thing I did just try is building with an ad-hoc signing id rather than distribution and I was able to install on my iPad just fine. So is there something preventing a distribution signed app from going on my iPad 5.1? Seems strange. [import]uid: 84258 topic_id: 31009 reply_id: 124082[/import]

No, this is standard operating procedure for Apple. You are supposed to use Developer profiles to install to your test devices. You use Distribution for the App Store. The latter are not supposed to be installed to test devices.

It sounds like there is no problem here. This thread should be closed. [import]uid: 7563 topic_id: 31009 reply_id: 124084[/import]

Agreed, although I have been able to install distribution profiles to my iPad in the past. Would be interesting to hear what profile BoltVisual is using. [import]uid: 84258 topic_id: 31009 reply_id: 124085[/import]

I always use distribution ad hoc files certificates to install apps for testing. There is no reason to use developer. I was having trouble installing my latest app with distribution on my iPhone 4S with the new xCode, but it turned out I needed to update to iOS 6. All is well. [import]uid: 59735 topic_id: 31009 reply_id: 124086[/import]