iPhone only app crashes on iPad

I created and app targeted for iPhone, in Swift. When trying to run it on iPad it is crashing with:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 
'There doesn't seem to be a valid compiled storyboard at path
'/private/var/mobile/Containers/Bundle/Application/B7D84FA5-3A7D-4ED9-A7C0-DF7A808004FD/FluffyFly.app/Base.lproj/Main.storyboardc''

My guess is that it is looking for an iPad storyboard, but I am not sure why.

I checked and the target is for iPhone only

Xcode目标配置

Any suggestion? Thank you

Edit: This is happening on device


Do a clean and then install. If that doesn't work you may take a look here of that helps -

XCode no valid compiled storyboard at path

链接地址: http://www.djcxy.com/p/44976.html

上一篇: Xcode崩溃日志没有出现

下一篇: iPhone上只有应用程序在iPad上崩溃