Frage

i can run my app on my 6.1 iOS but can't with 5.1 i have the iOS Deployment Target set to 5.1 on both Project and Target when i run the simulation for 5.1 it works fine but when i try it on my iPhone it crash's i committed out all my code thinking that was the problem but the same thing keeps happening

XIB and auto-layout is not enabled

The iPhone simulation works with no errors I tried to create a new project and have only a label and i still get the same out come

can some one send a link to a single view project that works with 5.1, the program could be blank i just want to compare to mine to see what is different/ wrong.

War es hilfreich?

Lösung

Sounds like you might be trying to use an API that is specific to iOS6 (UICollectionView or something similar).

You need to plug the device in and run it and see what the console indicates is the problem.

Andere Tipps

You have Auto Layout turned on for ViewController.xib. There are two ways to work around this. Either disable Auto Layout on that xib:

1) Xcode 4.3 not presenting Autoresizing panel in Size Inspector

Or use one of many methods to enable auto layout while remaining backwards compatible:

2) Enabling auto layout in iOS 6 while remaining backwards compatible with iOS 5

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top