1

Since the IOS 10 update I had great difficulties with my app and so far I haven´t been able to find any clue on what he problem could be.

I´m using a framework called SimpleKayChain for storing login details for users. It´s been working great until now. But after the IOS 10 updates all my stored KeyChains are returning NULL. https://github.com/auth0/SimpleKeychain/blob/master/SimpleKeychain/A0SimpleKeychain.h

For Saving KeyChain

[[A0SimpleKeychain keychain] setString:token forKey:tokenConstant];

For returning KeyChain

NSString *token = [[A0SimpleKeychain keychain] stringForKey:tokenConstant];

I would really appreciate some directions regarding how to solve this. Thanks.

  • iam not sure why, but for me it was only working with iPhone 7 Simulator. I made as well my Project signed with provisioning profiles and so on – Björn Ro Sep 23 '16 at 21:20
  • Seems to be an issue with the latest iOS 10 simulators. This issue does not affect real devices - http://stackoverflow.com/questions/38456471/secitemadd-always-returns-error-34018-in-xcode-8-in-ios-10-simulator – TonyMkenu Sep 23 '16 at 21:49
  • strange, i lost 2 hours today for this ... on my Mac it was working but on the CI server not ... funny – Björn Ro Sep 23 '16 at 21:52
  • Try enabling shared keychain. The keychain has been very buggy for me since Beta 1. – Andy Ibanez Sep 23 '16 at 23:20
  • Thanks! The simulator and KeyChains started to work again after I enabled shared KeyChain just as you said. Very strange bugg. – Anton Håkanson Sep 24 '16 at 13:11

0 Answers0