Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

XcodeNewb

macrumors member
Original poster
Feb 6, 2009
79
0
Here is what Apple says:

At this time, "Your App" cannot be posted to the App Store because it is crashing on iPhone OS 3.0 Beta 5 and Mac OS X 10.5.6. Application crashes on launch whenever there is no network connection available.

Is this for real? My app does not even require an internet connection! When I run it on my phone in airplane mode it runs fine. What are these guys doing to test these things?

Does anyone have any ideas of what I could do to try and resolve this? I feel I have done everything!

The app loads the camera when it launches but surely that does not require any network connections! What is up with these guys?
 
I haven't looked much into the networking API but does it return a different code when airplane mode is on vs when there actually isn't a connection? If so you might have to find a "dead zone". Some code might not be running if it knows there is no chance of a connection whereas if there is, it might be failing there.
 
Do you think checking for a connection and notifying the user if no connection exists could take care of that "bad code" that may be running?

Thanks for the response
 
I have compiled for Iphone 3.0 Simluator and iPhone 3.0 Device but as I do not actually have 3.0 on my device ( too many horror stories ) I have just tested on 2.2.1 on my personal device. I figured that should suffice correct?

All this was done in Xcode 3.1.3 ( the new beta ).
 
Uh, no. I wouldn't even know where to start to do that. Is that a config in Xcode somewhere? Wow, if that is it I feel like a complete idiot. Never read anything about having to recompile in a different version of Xcode. Any ideas how?

Thanks again
 
I guess you didn't read this then:

iPhone SDK for iPhone 3.0 can not be used for submitting iPhone OS 2.2.1 applications to the App Store.

and

Important Information About iPhone OS 3.0 Compatibility

especially Step 8:

Once you've fixed all of the compatibility issues you discovered, rebuild your source code using Xcode 3.1.2, which is part of the iPhone SDK 2.2.1.

I'm guessing you installed Xcode 3.1.3 right over top of 3.1.2 rather than in a separate location. Is that correct?
 
Yeah, I read that but apparently not as well as I should have! Some of this goes over my head.

I did install Xcode 3.1.3 over the other. I have submitted updates to other apps though built with this version and they have been approved. Does that seem odd as well?

I am re-downloading iPhode SDK for 2.2.1. Do I need to install it as well in a different location? It seems really dumb that you would have to run two versions of Xcode to get this stuff done.

Thanks again
 
I did install Xcode 3.1.3 over the other. I have submitted updates to other apps though built with this version and they have been approved. Does that seem odd as well?
A little. But I'm not about to suggest I truly understand what goes on in the review process. I just follow Apple's suggestions as much as possible.

I am re-downloading iPhode SDK for 2.2.1. Do I need to install it as well in a different location? It seems really dumb that you would have to run two versions of Xcode to get this stuff done.
Yes, I would install it to a different location. There's a ReadMe (I think) in the SDK download with tips on how to do that. Whether it seems dumb or not, that's the way it is. I doubt Apple is doing it just to mess with us.
 
Thanks again Dejo.

I will try to rebuild and resubmit in another 2 1/2 hours after the SDK downloads!! Why is it so huge????????
 
dejo, one more:

Do I need to not install System Tools because of this statement in the ReadMe:

NOTE: Only one version of the System Tools and the UNIX Development Support components can be installed on a computer at a time. The last installed set of these components replaces any previously installed set.

Thanks again
 
I have compiled for Iphone 3.0 Simluator and iPhone 3.0 Device but as I do not actually have 3.0 on my device ( too many horror stories ) I have just tested on 2.2.1 on my personal device. I figured that should suffice correct?

There do exist compatibility issues that appear only when testing on an actual device running OS 3.0 (beta). If you have one of those kinds of problems, you won't find it on the Simulator.

One possibility is to borrow an iPod Touch. The iPod Touch allows both upgrading and downgrading the OS. You could provision and upgrade the OS. Test. Then downgrade and return to owner.
 
The rejected the app again saying it is crashing on OS 3.0 beta 5.

Should I upgrade my phone to OS 3.0? It testing in the simulator not good enough?

Thanks
 
Wow, they reviewed your app in like 2 days. And yes, I think a 3.0 device is probably necessary to get to the bottom of this.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.