title: App crashing on launch in iPhone x?
body: <p>I have developed an app with swift 4 &amp; Xcode 9. Whenever i launch the app its crashes. It does not give any error on Console.</p>
  
  <p>I studied it that it is the issue of the font.</p>
  
  <p><a href="https://stackoverflow.com/questions/46351831/existing-app-crashes-on-startup-on-iphone-x-simulator">Existing app crashes on startup on iPhone X Simulator</a></p>
  
  <p>But my font is in my project and plist<a href="https://i.stack.imgur.com/VHYgd.png" rel="noreferrer"><img src="https://i.stack.imgur.com/VHYgd.png" alt="enter image description here"></a></p>
  
  <p>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. </p>
  
  <p>My app crashes in appdelegate as below screenshot</p>
  
  <p><a href="https://i.stack.imgur.com/7TLvz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/7TLvz.png" alt="enter image description here"></a></p>
  
  <p>Does anyone know why this happens?</p>