Can't access keychain after add App Groups on simulator

I am adding a new feature to my existing app and I have to add app group to project in order to share data between extension and app. However, after I added app group to project file, my code can't no longer retrieve data from previous keychain on simulator. It looks like it create a brand new keychain for the app. If I turn off app group and my app can retrieve data again. Does iOS create a different keychain after add app group to project? It's even weird is that this

happens only on simulator. When I test it on real device, app can retrieve keychain data without issue. I have go through some documents and found no information about this. Is it a bug on simulator? Can anyone gives feedback?



Following is my environment:


1. Xcode 6.3.2

2. Simulator iPhone 6 (iOS 8.3 12F69)

Update: I found not only app groups causing the issue. any capablities change on entitlement would cause this issue.

I think I'm seeing a similar issue. My app uses Homekit. It builds, starts and runs in Simulator (iPhone 6, iOS 9.0) but can't see the existing Homekit data from iCloud. A version of the app works fine on my real iPhone 6 (iOS 8.4). The Simulator can't access the Home data.


Did you solve your problem?

I end up ignore this issue on simulator. it works on real device anyway.

Please file a radar at http://bugreport.apple.com, including a tarball of ~/Library/Logs/CoreSimulator/[Device UDID]

I am having the same issue. The Simulator some how got worse than 9.1. As of updaitng to XCode 9.2 my HomeKit App now cannot access HomeKit Data, Come on guys. This is just ridiculous. I have temporarily gotten it to work, but as soon as i quit XCode the problem comes right back because the data isnt persistant and something is seriously broken here. Please FIX ASAP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Can't access keychain after add App Groups on simulator
 
 
Q