心血来潮,尝试swift大框架,以下是自己的尝试想通过纯代码构建,于是移除了storyboard文件,接着移除了target>General>Deployment Info > Main Interface

2A08B08F-F82D-41E7-950E-9AFB550C9E21.png
接着移除Info.plist中Application Scene Manifest>Scene Configuration>Application Session Role> Item0> Storyboard Name 项

68E8C15F-FAAC-4F62-93B0-13EEFA0211B0.png
接着在 ScenneDelegate中
- (void)scene:(UIScene*)scenewillConnectToSession:(UISceneSession*)sessionoptions:(UISceneConnectionOptions*)connectionOptions;
键入 如下代码
self.window=UIWindow.init(windowScene: sceneas!UIWindowScene)
self.window?.rootViewController = MainTabbarController.init()
self.window?.makeKeyAndVisible()
然后就可以了,如果错误小伙伴请指出