Skip navigation
CoconutJustice
Currently Being Moderated

Big Black Screen

Jun 18, 2013 7:41 PM

Tags: #export #ios

Hi,

 

I am building a game and am pretty close to finishing, however, I'm running into an .ipa issue.

 

When I debug "On iOS Simulator" the app runs fine.
When I debug "On Device" the app runs fine.

But when I "Export Release Build...", install on the device and run it I get nothing but a black screen.

 

SO CLOSE!!! Any help would be greatly appreciated.

 
Replies
  • Currently Being Moderated
    Jun 19, 2013 2:18 AM   in reply to CoconutJustice

    Firstly I would suggest that you double check you've got the correct certificates and provisioning profiles setup for release build if you're using different ones to the debug version.

     

    If you've got that correct, then setup a launch image (even just a placemarker one) that your game loads at the beginning of the app so you can tell if it's something to do with your code or the application setup (if the launch screen disappears it's code related). More information about launch screens can be found here:

     

    http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d129907d 2886-8000.html

     

    If you've got a launch image setup and it disappears and still freezes after this, then compile a release build with detailed telemetry enabled so that you can see where your code might be hanging/crashing using Adobe Scout.

     

    Another quick tip is that, if you're not using iTunes to add the release build to the device - then do use iTunes. It can sometimes provide information about why it doesn't work or can't be added. If it doesn't say anything and doesn't add the app to the device then you will know that there is something wrong with the application setup.

     

     

    Other than that there isn't much more I can suggest without you explaining a little more, ie, how are you compiling, what does your app do at the beginning, what extensions do you have if any, which render mode are you using, etc.

     

     

    Hope that helps,

    O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 19, 2013 3:30 PM   in reply to CoconutJustice

    Ok, so just to clarify, you have a default image in the app directory which is displayed correctly when you launch the app in debug? Then the image disappears and your app starts?

     

    In an exported release build the default image doesn't even show?

     

    Do you get different results installing the app via testflight? In your testflight app permissions does your device's UDID show up in the permissions list?

     

    Does a new session start in Adobe Scout when you launch the release build from the device?

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 20, 2013 1:19 AM   in reply to CoconutJustice

    Ah great, so you can see the session in Adobe Scout, which rules out app settings being the problem in my books.

     

    You're going to have to look through the process that your application goes through at the beginning, follow through frame-by-frame on both versions, so run a debug and release version and compare results in Scout. Maybe there is also debug code you've got hanging around somewhere which doesn't or does get fired in a different build type?

     

    Capabilities.isDebugger anywhere in your code?

     

    I'm 95% sure this is code related and nothing to do with app settings / build types.

     

    If you want I'm also on testflight and I can take a peak for you on my scout.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points