Could not find a storyboard named 'Main' in bundle

前端 未结 24 1637
无人共我
无人共我 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 01:02

    If your storyboard is added in project (which you'll determine from Project File Inspector section of xcode utility area)

    You just have to remove Main.Storyboard from "Copy bundle resource" (in Build Phase) and add it again in "Copy bundle resource". This was worked for me.

提交回复
热议问题