iOS Question Build Release App failing to launch

MotoMusher

Active Member
Licensed User
Longtime User
I had a problem before with certificates. I recreated them all and downloaded them for both development and distribution. Existing apps all work fine now.

I have another app that is installing fine with both "build release app" and "debug" using my development keys.

This new app works fine in debug. When i do "build release app" the app appears to install fine. When I launch, it immediately crashes. No error message. I see the app launch to a black screen and instantly shuts down. Is there any kind of log or tracking I can do to determine why? Prod keys are not in the keys folder, only development. There is no itunes connect app set up (yet).
 

MotoMusher

Active Member
Licensed User
Longtime User
More information. This app uses GPS which launches as soon as the app is opened. When the app starts (though very briefly) the gps indicator arrow does show up next to the clock for a few seconds until it disappears after the normal period. This leads me to believe that the app is actually starting and running, though briefly.

I have no errors or warnings in debug mode running the app. I do have these two lines in project attributes in case that's the next question.

B4X:
    #PlistExtra:<key>NSLocationWhenInUseUsageDescription</key><string>Used to display the current location information.</string>
       #PlistExtra:<key>NSLocationUsageDescription</key><string>Used to display the current navigation data.</string>
 
Upvote 0
Top