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

 


 

-> Why?

 

 위와 같은 오류가 발생하였다. 최초에 Main.Storyboard와 ViewController가 연결되어 있었는데, 이 부분을 수정하는 과정에서 문제가 발생한 것 같다.

 

 


 

-> 해결 과정?

 

Attributes inspector

 

위 처럼 Atrributes inspector 창에서 View Controller -> Is Initial View Controller 부분을 체크해주면 된다.

 

'Swift' 카테고리의 다른 글

NSExpression Class  (0) 2024.06.23
[iOS Swift] Lv.2 피보나치 수열  (0) 2024.06.21
Xcode 간단 용어정리  (0) 2024.06.17
기본 문법 <제네릭>  (0) 2024.06.15
의존 관계 역전 원칙(Dip, Dependency Inversion Principle)  (0) 2024.06.14