![](/img/trans.png)
[英]Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set?
[英]Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set?
要解決此問題,請清理您的構建文件夾。 Go 到產品 -> 清理構建文件夾
我也遇到了同樣的情況,我嘗試了很多東西,但都沒有奏效。 所以我最終刪除了這個項目並重新創建了一個。 然后問題就消失了。 我不知道為什么會這樣,但無論如何,我可以進步我的學習。
所有故事板都需要一個入口點(從哪里開始,看起來你沒有定義它。你需要添加一個箭頭讓 storyboard 知道哪個 vc 是初始視圖控制器如何添加箭頭
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.