Hi,
I wanna use app group shared container for both iphone and watch.
The problem is that when I call
NSFileManager.defaultManager().containerURLForSecurityApplicationGroupIdentifier(appGroupID)!
this API, it returns different path depending on which device I call it.
For example,
On iPhone side, it gives this URL:
file:///Users/****/Library/Developer/CoreSimulator/Devices/C2A842DA-717A-47CC-A156-A88443E5D463/data/Containers/Shared/AppGroup/04ADFA9D-3D5D-4C2B-8C71-1F910FF23E28/
On the other hand,
On Watch side, it gives:
file:///Users/*****/Library/Developer/CoreSimulator/Devices/9EE19C73-9785-4560-AAB4-8B9A3D09B4A8/data/Containers/Shared/AppGroup/BD18BBF9-E665-4E39-9110-674E70194177/
I think each device generates shared container on its device. What can solve this problem?