Post marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
Post marked as solved with 20 replies, 0 views
I resolved the console messages by adding the new watchOS 7 App struct. The WKExtensionDelegate protocol conformance isn't required, but I added it for completeness. Move code from your extension delegate to your new App struct.
import SwiftUI
@main
structMyWatchApp: App {
@WKExtensionDelegateAdaptor(MyWatchAppDelegate.self) var myWatchAppDelegate
@SceneBuilder var body: some Scene {
WindowGroup {
ContentView()
}
}
}
class myWatchAppDelegate: NSObject, WKExtensionDelegate {
}