Keychain upgrade apps Xcode 6.1.1 to 8.3.3

We have 6 Apps built with Xcode 6.1.1 published on the Apple Store and we need to upgrade them to Xcode 8.3.3.

Upon publishing the first App built with XCode 8.3.3 we found out that users that had the previous version (built with XCode 6.1.1) lost all data saved in the Keystore.

We checked the two artifacts generated by our builds and in the mobileprovision used with XCode6.1.1 and Xcode 8.3.3 have the same lines for ApplicationIdentifierPrefix and keychain-access-groups.

We noticed that the app generated with Xcode 8.3.3 when trying to read the KeyChain th first time returns a “-25300” code (errSecItemNotFound)

This problem seems to occur only with devices that have a version of iOS greater than 8.3. (We tested on an iPhone 5 with iOS 8.3 and it worked correctly)

Can you help us address this issue? Is there anything we can do?