iOS Question Ios Apps crashing

jai

Active Member
Licensed User
Longtime User
I have apps that are released and working. The last compilation was done about 4 months ago. I had to update these apps and just found out that I cannot get a compiled version of any that works. I tried to compile the apps without any changes. They compile but crash at execution with no logs. All libraries are up to date. I am using iOS v8.5 and the hosted server. I have tried it on different iPhones and an iPad, all with sane results.
 
Solution
Got it working.

Apple now requires a plist inclusion of the AdMob ID with the app's ad account. This was a new requirement after my last release. With this new info added the apps are all working.

Thanks Erel and Alex for your help!

Alex_197

Well-Known Member
Licensed User
Longtime User
can you show a screenshot with an error message?
 
Upvote 0

Alex_197

Well-Known Member
Licensed User
Longtime User
There is no error message. It blanks out and disappears from the screen.
Do you use Try Catch? If not - try it in every sub or functions and write an exception message into a log and then you can read it.
 
Upvote 0

jai

Active Member
Licensed User
Longtime User
does it work in Debug mode?
It seems to compile fine with no error message but when it executes the the bridge disappears and the app does not execute. Never seen such outcome, could there be something wrong with the mac server?
 
Upvote 0

jai

Active Member
Licensed User
Longtime User
tart a new project and set its package name based on your provision profile. Does it run?

In many cases hard crashes happen when a new plist requirement is missing. For example if you are using camera and haven't added the required descriptions.
A new project with the provision profile of the crashing app works fine.

I have not made any change to the app and there is no camera usage. How to I figure out what may be a new requirement since last successful submission? Here is a list of current plist items-
B4X:
    #PlistExtra: <key>UIViewControllerBasedStatusBarAppearance</key><false/>

    #PlistExtra:<key>CFBundleDocumentTypes</key>
    #PlistExtra:<array><dict><key>CFBundleTypeIconFiles</key><array/>
    #PlistExtra: <key>CFBundleTypeName</key><string>txt File</string>
    #PlistExtra:<key>LSItemContentTypes</key><array>
    #PlistExtra:<string>public.plain-text</string>
    #PlistExtra:</array></dict></array>

    #PlistExtra: <key>GADIsAdManagerApp</key><true/>
    #AdditionalLib: libsqlite3.dylib
    #AdditionalLib: libz.dylib
    #AdditionalLib: WebKit.framework

     #PlistExtra: <key>NSBluetoothAlwaysUsageDescription</key><string>Used to integrate gmap framework.</string>
The following libraries are used-
 
Last edited:
Upvote 0

Alex_197

Well-Known Member
Licensed User
Longtime User
I had the same problem. Remove Bridge from your phone and install it again, recompile your app and you're gonna be fine.
 
Upvote 0

jai

Active Member
Licensed User
Longtime User
Removed and reinstalled the bridge. This did not make any difference. Got the same results. Unfortunately, the problem is somewhere else. Thanks for the tip.
 
Upvote 0

Alex_197

Well-Known Member
Licensed User
Longtime User
Removed and reinstalled the bridge. This did not make any difference. Got the same results. Unfortunately, the problem is somewhere else. Thanks for the tip.
The last resort - comment as much as you can to the bare bone and see if it will start. Then step by step uncomment until it will crash.

I know it's time consuming but it will point you to the place where the problem is.
 
Upvote 0

jai

Active Member
Licensed User
Longtime User
Got it working.

Apple now requires a plist inclusion of the AdMob ID with the app's ad account. This was a new requirement after my last release. With this new info added the apps are all working.

Thanks Erel and Alex for your help!
 
Upvote 1
Solution
Cookies are required to use this site. You must accept them to continue using the site. Learn more…