Sean's Note: [Xcode Common Errors] Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' ...

2014年11月11日 星期二

[Xcode Common Errors] Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' ...

當 console 出現下列訊息時:

Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set?

檢查看看第一個 View Controller 的 Attributes Inspector 頁面 "Is Initial View Controller"

是否忘了勾選?

圖1. Attributes Inspector

沒有留言:

張貼留言