App Rejection?? Why??

Discussion in 'iOS Programming' started by XcodeNewb, May 26, 2009.

  1. XcodeNewb macrumors member

    Joined:
    Feb 6, 2009
    #1
    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?
     
  2. SilentPanda Moderator emeritus

    SilentPanda

    Joined:
    Oct 8, 2002
    Location:
    The Bamboo Forest
    #2
    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.
     
  3. XcodeNewb thread starter macrumors member

    Joined:
    Feb 6, 2009
    #3
    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
     
  4. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #4
    If you app really doesn't require any internet connection, I would just resubmit and let them know that. And you have tested your app for 3.0-compatibility, right?
     
  5. XcodeNewb thread starter macrumors member

    Joined:
    Feb 6, 2009
    #5
    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 ).
     
  6. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #6
    But you rebuilt the app in Xcode 3.1.2 again before submitting, right?
     
  7. XcodeNewb thread starter macrumors member

    Joined:
    Feb 6, 2009
    #7
    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
     
  8. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #8
    I guess you didn't read this then:

    and

    Important Information About iPhone OS 3.0 Compatibility

    especially Step 8:

    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?
     
  9. XcodeNewb thread starter macrumors member

    Joined:
    Feb 6, 2009
    #9
    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
     
  10. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #10
    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.

    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.
     
  11. XcodeNewb thread starter macrumors member

    Joined:
    Feb 6, 2009
    #11
    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????????
     
  12. XcodeNewb thread starter macrumors member

    Joined:
    Feb 6, 2009
    #12
    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
     
  13. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #13
    I'd say no, you don't need to install them. There's a good chance you're not even using them yet anyhow.
     
  14. XcodeNewb thread starter macrumors member

    Joined:
    Feb 6, 2009
  15. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #15
    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.
     
  16. XcodeNewb thread starter macrumors member

    Joined:
    Feb 6, 2009
    #16
    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
     
  17. DaveP macrumors 6502

    DaveP

    Joined:
    Mar 18, 2005
    #17
    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.
     

Share This Page