iOS Development App Startup Crash

iOS development app startup crash

If application is installed with XCode and you don't have a Paid Program Developer Account, the life expectancy of the app is like 48h approximately

(There is no official time of validity for that)
, for a paid program, it's a few month with the correct certificate. Currently it seems to be approx 60 days.

If you didn't sign your app, it has low life expectancy. It's quite new that Apple allow you to deploy for a free account, but it just for testing purpose (other than simulator), if you want more days to test on device, you have to pay for the developer program.

Hope This will help you...

Do let me know if you have any other query.

App is crashing on startup in Apple App store, but it works fine in Debug/Adhock?

It turns out that the hint @BinaryGuy have made is solution of the problem.
Seems like UI_USER_INTERFACE_IDIOM is kept and linked into the compiled IPA if the developer use some of the classes containing a link toward it.

The classes which causing the issues is primarely related to the previously accessible hardware ID's on the Apple products, now these classes seems like is deprecated and causing the Application Store rejection without obvious reason.

Please if You are using some of the follow Delphi units :

FMX.Helpers.iOS.pas (TUIDevice / UIUserInterfaceIdiomPad references),

iOSapi.UIKit.pas (UIUserInterfaceIdiomPhone references),

FMX.Platform.iOS.pas (UIUserInterfaceIdiomPad references),

double check if they could be avoided.

iOS Application crash after launch screen

The error is saying that it can't find any object of the principal class to instantiate when starting the app. The Principal class entry in the Info.plist file tells the UIApplicationMain() function which class to load on startup. You can try changing that entry to UIApplication, or creating a subclass of UIApplication named Application to fix this.

how to determine why ios app crashes on iOS 13 at start

Just to share my experience, in case someone else has the same problem.

The issue was caused by an old unused component in the storyboard.
There was a deprecated UISearchDisplayController and that was triggering some interaction with tetflight delivery. The same IPA distributed via adhoc server was not causing any problem.

Maybe Testflight delivery does now some kind of optimization that was clashing with the deprecated component?

However, simply removing the component solved the crash.

Why does my Flutter app crash at startup on iOS?

Ok, so here's what happened. Originally the app crashed on iOS because there were issues with the GoogleServices-info.plist file (probably). There were no error messages, so I didn't know where to look. I finally just went back to the simple demo app and started layering things back in to isolate the issue. The demo app would build and run on iOS with no problems, but when I added the Firebase dependencies (as a group), it failed. I had added the GoogleServices-info.plist file manually (outside of Xcode) and adjusted the references in ios/Runner.xcodeproj/project.pbxproj using a text editor, but that didn't do the trick.

At this point I finally broke down and got a MacBook. Debugging on the Mac, I could now see that the app crashed in debug mode on the emulator as well as when in release mode on a device, but still no helpful error messages. I added the GoogleServices-info.plist file using Xcode, so at least that piece was correct, but the app still crashed immediately. Going through the documentation, I realized that when I made the sample app, I had forgotten to add the app ID in the info.plist file for AdMob. At this point it was just AdMob causing the crash, not the other Firebase dependencies. I added that back in and things ran fine. I wish I had looked at that a month ago. Ugh.

Thanks @Mikhail Tokharev and @season for taking a stab at such a vague question. I wish I had more detail to share initially, but I didn't know enough yet to know what could be going wrong.

TL;DR

  1. Just get a Mac. Trying to debug through Codemagic won't work.
  2. For Firebase, be sure you actually add your GoogleServices-info.plist file through Xcode. Trying to add it manually and hack the project.pbxproj file probably won't work (this a practical recommendation, I didn't prove this conclusively).
    https://firebase.google.com/docs/flutter/setup?platform=ios#add-config-file
  3. For AdMob, be sure to add your application ID to the info.plist. https://pub.dev/packages/firebase_admob

App crashing on launch in iPhone x?

You have to add font extension also Ex. roboto.ttf

Sample Image



Related Topics



Leave a reply



Submit