diff --git a/Project Templates/Custom/iOS Minimalist.xctemplate/Source/Application/SceneDelegate.swift b/Project Templates/Custom/iOS Minimalist.xctemplate/Source/Application/SceneDelegate.swift index 65d6fb7..7e86850 100644 --- a/Project Templates/Custom/iOS Minimalist.xctemplate/Source/Application/SceneDelegate.swift +++ b/Project Templates/Custom/iOS Minimalist.xctemplate/Source/Application/SceneDelegate.swift @@ -13,7 +13,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { guard let windowScene = scene as? UIWindowScene else { - return + fatalError("Expected scene of type UIWindowScene but got an unexpected type") } window = UIWindow(windowScene: windowScene) window?.rootViewController = UINavigationController(rootViewController: MainViewController())