WCSession has not been activated Error, Is any compatibility issue?

Hello everyone,

I have an iOS app that can control simple specific BLE device. Also I have simple watchOS app for scanning and connecting devices with its buttons.

Here it's my problem, I am using WCSession sendMessage func to communicate with the containing app. When I test the project with iPhone 8 (iOS 13.7) and Apple Watch Series 2 (watchOS 6.2.9) everything works fine, all the background tasks, session communications etc. But when I test with iPhone 11 (iOS 14.1) and same Watch 2, WCSession is not active from watch side.

Why its working almost perfectly on iOS 13.7 iPhone 8, but not on the iOS 14.1 iPhone 11. Is there any compatibility problem here?

Thanks.
Has your WCSessionDelegate received this callback with WCSessionActivationStateActivated yet?

Code Block
/** Called when the session has completed activation. If session state is WCSessionActivationStateNotActivated there will be an error with more details. */
- (void)session:(WCSession *)session activationDidCompleteWithState:(WCSessionActivationState)activationState error:(nullable NSError *)error IOS_AVAILABLE(9.3) WATCHOS_AVAILABLE(2.2);


If not, you can expect to get that error when you call sendMessage
WCSession has not been activated Error, Is any compatibility issue?
 
 
Q