Hello
I began learning about WatchKit. But I can't go to next step at sendMessage()
I created new iOS App with Watch App Project in XCode 11.2 to follow the post.
At Part2, I found the problem. sendMessage() in WatchApp occured below error.
[Error Logs in Watch App] - send message to iOS from WatchOS
2019-11-06 16:38:05.378991+0900 watchapp WatchKit Extension[66565:2566272] [WC] WCSession iOS app not installed
2019-11-06 16:38:05.379949+0900 watchapp WatchKit Extension[66565:2566272] [WC] -[WCSession _onqueue_notifyOfMessageError:messageID:withErrorHandler:] (null) errorHandler: YES with WCErrorDomain:7018
Sending data has been failed. error[Error Domain=WCErrorDomain Code=7018 "Companion app is not installed." UserInfo={NSLocalizedRecoverySuggestion=Install the Companion app., NSLocalizedDescription=Companion app is not installed.}]
2019-11-06 16:38:05.381395+0900 watchapp WatchKit Extension[66565:2579690] [WC] WCSession iOS app not installed
2019-11-06 16:38:05.381644+0900 watchapp WatchKit Extension[66565:2579690] [WC] -[WCSession _onqueue_notifyOfMessageError:messageID:withErrorHandler:] (null) errorHandler: YES with WCErrorDomain:7018
Sending data has been failed. error[Error Domain=WCErrorDomain Code=7018 "Companion app is not installed." UserInfo={NSLocalizedRecoverySuggestion=Install the Companion app., NSLocalizedDescription=Companion app is not installed.}]
[Log for Printing Received Data in Watch App From iOS App]
[session(_:didReceiveMessage:replyHandler:)] Watch Receive. message[["title": gogo]] handler[(Function)]
Ofcourse, I checked my iPhone Simulator and Watch Simulator their are paired together.
And calling sendMessage() in iPhone App is very well(iOS => Watch => iOS).
Please anyone let me know, what I missed. Thanks.