Open sharadAimonk opened 2 years ago
Hello @sharadAimonk ,
I've encountered this issue as well, i fixed this by adding the SceneDelegate.swift, have you add the swift file directly to vscode? if so, we should add the swift files directly to xcode.
SceneDelegate.swift
@available(iOS 13.0, *)
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
var window: UIWindow?
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
guard let windowScene = scene as? UIWindowScene else { return }
window = UIWindow(windowScene: windowScene)
let flutterEngine = FlutterEngine(name: "SceneDelegateEngine")
flutterEngine.run()
GeneratedPluginRegistrant.register(with: flutterEngine)
let controller = FlutterViewController.init(engine: flutterEngine, nibName: nil, bundle: nil)
window?.rootViewController = controller
window?.makeKeyAndVisible()
}
}
@sharadAimonk can give some details about the path issues?
Hey, I have tried to run this app but I was getting some path issues, so I created a sample app and sample module and copy code from here to dedicated files. But when I run the app it just shows blank screen. How I copied the code: