Could not find a storyboard named 'Main' in bundle

前端 未结 24 1683
无人共我
无人共我 2020-12-01 00:26

I\'m getting a strange error: \'Could not find a storyboard named \'Main\' in bundle NSBundle\' when trying to run my app on a real iOS device.

I have

24条回答
  •  执念已碎
    2020-12-01 00:59

    In a project that uses UIScene in iOS 13 and Xcode 11, you need to remove the UISceneStoryboardFile key from the .plist.

    Xcode 11:

    Changing directly from the file:

提交回复
热议问题