Could not find a storyboard named 'Main' in bundle

前端 未结 24 1675
无人共我
无人共我 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:25

    The simulator is not case sensitive, but the device is. If your storyboard is called MainStoryboard, not MainStoryBoard, this will cause your problem. and aslo * dont use the extensions write only the story board name

    main.storyboard -> only main is the storyboard name

提交回复
热议问题