Historically, there was no supported way to maintain access to keychain items across an app transfer. That’s recently changed. However, this is still something you need to approach with caution. The process is tricky, and if you get it wrong you run the risk of significantly inconveniencing your users. I talk about this in a lot of detail in App ID Prefix Change and Keychain Access. [quote='821752021, neha24, /thread/821752, /profile/neha24'] Is this attribute kSecAttrAccessGroup helping us to retrieve the KeyChain items without having to rebuild [/quote] That depends on how you’re using this attribute. If you’re supply an app group ID, rather than a keychain access group ID, and you’ve transferred that app group to the new team then, yes, this is the approach discussed in the post I referenced above. If that’s not the case then something else is going on. ps The code snippets in your post are really hard to read. Check out tip 5 in Quinn’s Top Ten DevForums Tips for advice on how to avoid that in the future.
Topic:
Privacy & Security
SubTopic:
General
Tags: