Closed phackford closed 1 year ago
What's your minimum iOS version target?
14
Can you get a screenshot of where Xcode says that error is?
i got this error also, when build ipa, file WatchSessionDelegate.swift i got from example folder
Is that error even in code that's part of this plugin?
The sessionDidBecomeInactive
method is only for the phone side to support switching between Apple Watches. It looks like maybe you copy/pasted that file into an iOS app instead of a watchOS app? Anyways, I'm going to close this issue since this is not related to the actual plugin code.
I am getting this error when archive a project to push to TestFlight. everything runs fine on the simulators.
Showing Recent Messages /WatchSessionDelegate.swift:12:7: Type 'WatchSessionDelegate' does not conform to protocol 'WCSessionDelegate'
WatchConnectivity.WCSessionDelegate:8:10: Protocol requires function 'sessionDidBecomeInactive' with type '(WCSession) -> Void'
WatchConnectivity.WCSessionDelegate:10:10: Protocol requires function 'sessionDidDeactivate' with type '(WCSession) -> Void'