Help needed WCSession.default error NSFileReadNoPermission

Hi,

I am getting NSFileReadNoPermission in communication between watchOS->iOS
Code Block
do {
try WCSession.default.updateApplicationContext(some_dictionary)
} catch {
print("ERROR: \(error)")
}

Below is the error showing
Code Block
[WCFileStorage loadAppContextDataFromInbox] error loading in application context from inbox NSFileReadNoPermissionError -> EACCES

Someone please help me to ding more

What is the reason ? I didn't get a clue, from where this error throws, even there is catch block.

What is NSFileReadNoPermission? Searched about it and WCFileStorage loadAppContextDataFromInbox, but nothing on the internet useful. My own guess is we are trying to access the context when it is used by some other(hence the permission error).

So how we can find the context is free? How to wait for load context data inbox in WCSession WCFileStorage.

Somebody please throw light on this
Did you find a resolution to this? I get this error often and the only way to get rid of it is to delete the watch app, which is obviously far from ideal! I send a lot of data between the watch and the phone and I'm wondering if that has something to do with it.
Help needed WCSession.default error NSFileReadNoPermission
 
 
Q