-
Notifications
You must be signed in to change notification settings - Fork 794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to pass items from Keychain between iOS project and watchOS extension app #572
Comments
i tried to use accessGroup but I have no idea why it's not working, maybe I did something wrong...could you explain how to share data from Keychain between iOS and watchOS targets pls? |
+1, seeing this issue |
Historically it was possible to share a keychain access group between your phone app and your watch extension because they both ran on the same device (the phone). This is no longer the case. Modern versions of watchOS run your watch extension on the watch, which is a different device from the phone app (the phone), and there’s no keychain access group sharing between devices.
option. If the user does not use iCloud Sync, this functionality is not available. In that case, consider using Watch Connectivity to send and receive data directly, for example. See also: |
Not using the SPM but actually importing the files inside the main app target made it possible to user shared keychain between the apps, i guess tehre is something with shared keychain and SPM packages that makes this not possible |
No description provided.
The text was updated successfully, but these errors were encountered: