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
- Just get a Mac. Trying to debug through Codemagic won't work.
- 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 - 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
Related Topics
Generics Type Constraint VS Inheritance
Countdown with Several Decimal Slots, Using Nstimer in Swift
How to Parse a Iso 8601 Duration Format in Swift
Avcapturevideopreviewlayer Add Overlays and Capture Photo in iOS
Scaling Current Dot of Uipagecontrol and Keeping It Centered
Why Is My Admob Interstitial Working Fine in Xcode Simulator But Not on My Test Devices
Module Compiled with Swift 5.1.2 Cannot Be Imported by the Swift 5.2.4 Compiler
Why Do I Get an Mkerrordomain Error When Doing a Local Search
Swift How to Add Background Color Just Around Text in a Label
iOS Mkmapview Custom Images Display on Top Left Corner
Didoutputsamplebuffer Delegate Not Called
Why Swift Use a Struct as Dictionary Key Instead of a String Here
Find Delegate in a Swift Array of Delegates
Apply Nspredicate on [(String, Array<String>)]
How to Find the Index of a Tuple Element from an Tuple Array? iOS, Swift
Disable Long Press Back Button (Callout Menu)
Get "No Keychain Available" Error When Try to Access Keychain from App Extension