evgenyneu / keychain-swift

Helper functions for saving text in Keychain securely for iOS, OS X, tvOS and watchOS.
MIT License
2.82k stars 345 forks source link

MacOS Catalyst 13.0 - Doesn't Persist once app is closed. #124

Closed chinotapales closed 4 years ago

chinotapales commented 4 years ago

Using MacOS Catalyst, the Keychain works by using Keychain Sharing and adding into the Keychain Groups but once the app is closed, the values are removed and deleted. Any suggestions / feedback would help :) Thanks!

chinotapales commented 4 years ago

Nevermind, I figured it out. Kept clearing the keychain in 'func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool ' in the AppDelegate. Everything works now. Thanks! Will close the issue.