- Remove Main.storyboard file
- Remove Main interface in Deployment Info
- Remove
UISceneStoryboardFile
key in Info.plist
<key>UISceneStoryboardFile</key>
<string>Main</string>
- Create main window in SceneDelegate.swift
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
guard let windowScene = (scene as? UIWindowScene) else { return }
let window = UIWindow(windowScene: windowScene)
window.rootViewController = ViewController()
window.makeKeyAndVisible()
self.window = window
}