Somehow, if I try to use the accessGroup feature, I get an errSecMissingEntitlement (-34018) error.
I don't have manual profiles, but use "Xcode Managed Profile" for the Provisioning Profile. ("Automatically manage signing").
I activated "Keychain Sharing" in "Capabilities" and added "com.myname.appname.keychainGroup" which is how I initialise my KeychainSwift object:
let keychain: KeychainSwift = {
let k = KeychainSwift(keyPrefix: "unixb0y_")
k.accessGroup = "com.myname.appname.keychainGroup"
return k
}()
FYI, also in the entitlements file, there is an entry with the correct name.
Somehow, if I try to use the accessGroup feature, I get an errSecMissingEntitlement (-34018) error.
I don't have manual profiles, but use "Xcode Managed Profile" for the Provisioning Profile. ("Automatically manage signing").
I activated "Keychain Sharing" in "Capabilities" and added "com.myname.appname.keychainGroup" which is how I initialise my KeychainSwift object:
FYI, also in the entitlements file, there is an entry with the correct name.