Hello, I've made a fairly simple iPhone app (TableView, subviews, mapviews), and have submitted it to Apple twice but it's been refused on both occasions. I've tested the app on iPhone 3GS, iPhone 4, a new iPod touch running iOS 5.0.1, and our first gen iPad (iOS 4.3.1) – the app wasn't built for iPad but it does run on ours (although at iPhone size in the middle of the display, or pixelated at x2).
Apple says:
"We found that your app crashed on iPhone 4 and iPad 2 running iOS 5.0.1, which is not in compliance with the App Store Review Guidelines.
Your app crashed on both Wi-Fi and cellular networks on launch."
And the crash report says:
"Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/mobile/Applications/ECE03BEB-2774-4C81-AECE-8133FB7820EA/M-wayBreaks.app> (loaded)' with name 'MainWindow-iPad''
"
Thing is, there is no MainWindow-iPad in my app (it was built just for iPhone), but it runs fine on our Pad here.
Oddly, despite having been rejected, my app's still listed in iTunes connect as 'Waiting for review' (I notice MrBlom's post reports a similar issue). Anyone know what's going on?
Hello, I've made a fairly simple iPhone app (TableView, subviews, mapviews), and have submitted it to Apple twice but it's been refused on both occasions. I've tested the app on iPhone 3GS, iPhone 4, a new iPod touch running iOS 5.0.1, and our first gen iPad (iOS 4.3.1) – the app wasn't built for iPad but it does run on ours (although at iPhone size in the middle of the display, or pixelated at x2).
Apple says:
"We found that your app crashed on iPhone 4 and iPad 2 running iOS 5.0.1, which is not in compliance with the App Store Review Guidelines.
Your app crashed on both Wi-Fi and cellular networks on launch."
And the crash report says:
"Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/mobile/Applications/ECE03BEB-2774-4C81-AECE-8133FB7820EA/M-wayBreaks.app> (loaded)' with name 'MainWindow-iPad''
"
Thing is, there is no MainWindow-iPad in my app (it was built just for iPhone), but it runs fine on our Pad here.
Please help.
Cheers,
Kev.
It sounds like the info.plist is set up so iOS thinks your app is a universal app. I don't remember how you tell it which type of app you are creating, but you need to get that setting correct.
Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.
I had a similar issue where I was loading a custom nib - funnily enough I had a typo in my loading of the nib name. Not sure when I introduced the typo but I think it was correct to begin with.
Whenever I was launching through xcode it would always work on my test devices but the tester was always complaining about crashes.
So I rolled a proper ipa and installed on my test device and _that_ caused the crash to happen.
So I assume when you say it works on your iPad that you are loading through xCode. Try doing a proper install and see what happens.
Note as well that they say that it's failing on iPhone as well so make sure to test that too.
Hi, and thanks for the replies. I've attached a screenshot of the info.plist, if there's anything there that stands out please let me know. As for 'rolling a proper .ipa' can you explain what you mean by this, please?