Post

Replies

Boosts

Views

Activity

Reply to Apple Watch App - Invalid Swift entry point data
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 {   }
Nov ’20