Iphone app crashes before didFinishLaunchingWithOptions

徘徊边缘 提交于 2019-12-06 10:28:41

Make sure that your target has the correct name entered for your storyboard file. I was able to reproduce your error by going to the Info.plist file for my target, and renaming the storyboard so it didn't match the actual storyboard filename. My guess is either you accidentally renamed that in your target or you changed the filename of your storyboard at some point.

This could happen if your application uses embedded binaries, but you haven't added them in Target > General > Embedded Binaries.

I was having a similar strange problem. The app would crash before didFinishLaunchingWithOptions, as you said. I tried some of the suggestions related to making sure the storyboard file is correct in the plist, and is properly selected for the target.

My problem was that I was referencing a font in my plist that did not exist. I had changed fonts, and forgot to change it in my plist.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!