Applications are expected to have a root view controller at the end of application launch

后端 未结 30 1819
野的像风
野的像风 2020-11-22 06:42

I get the following error in my console:

Applications are expected to have a root view controller at the end of application launch

30条回答
  •  执笔经年
    2020-11-22 07:36

    I was able to set the initial view controller on the summary screen of xcode.

    Click on the top most project name in the left hand file explorer (it should have a little blueprint icon). In the center column click on your project name under 'TARGETS', (it should have a little pencil 'A' icon next to it). Look under 'iPhone / iPod Deployment Info' and look for 'Main Interface'. You should be able to select an option from the drop down.

提交回复
热议问题