Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App crashing on launch in iPhone x?

I have developed an app with swift 4 & Xcode 9. Whenever i launch the app its crashes. It does not give any error on Console.

I studied it that it is the issue of the font.

Existing app crashes on startup on iPhone X Simulator

But my font is in my project and plistenter image description here

Some of them said that it is storyboard issue as the controller must have safe area margin. But few days back I run my app on iPhone X but it did not crash although it was not using safe area.

My app crashes in appdelegate as below screenshot

enter image description here

Does anyone know why this happens?

like image 472
TechChain Avatar asked Nov 21 '17 04:11

TechChain


People also ask

Why do my apps keep crashing iPhone X?

Fourth solution: Uninstall problematic apps More often, if there are issues with apps, your device may start to become sluggish and slow and may lead to crashes and freezes. This is the reason why you need to update not just the firmware but your apps as well.

Why is my app closing as soon as I open it iPhone?

Most often, apps crash because they aren't updated and have unaddressed bugs. To fix this, go to the Updates section of the App Store and update the app if an update is available.

Why does an app keep crashing as soon as I open it?

Apps on Android can crash because of low storage space, too many apps running simultaneously, a weak internet connection, or not having the proper app updates installed.


1 Answers

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

enter image description here

like image 111
Gaganpreet Avatar answered Oct 28 '22 03:10

Gaganpreet