我正在尝试创建一个新的Swift项目,但遇到了一些问题。the default view controller for UIMainStoryboardFile 'Main' - perhaps the
designated entry point is但是,当我使用Objective-C创建与该语言相同的单页面应用程序项目时,它可以很好地编译和运行。是否需要在Swift中执行一些手动操作才能启动并运行项目?我对这个错误的理解是,我需要设置默认<e
我正在尝试以编程的方式设置初始视图控制器,但是我一直得到这个错误。有什么解决办法吗?0000 RestaurantApp[16319:147412] [WindowScene] Failed to instantiate the default view controller for UIMainStoryboardFile'Main' - perhaps the designated entry point is not set?这是我写的代码。assertionF