jrendel / SwiftKeychainWrapper

A simple wrapper for the iOS Keychain to allow you to use it in a similar fashion to User Defaults. Written in Swift.
MIT License
1.59k stars 340 forks source link

Problem with Swift 3 #60

Closed GZaccaroni closed 8 years ago

GZaccaroni commented 8 years ago
        KeychainWrapper.defaultKeychainWrapper.set("ads", forKey: "boh")
        print(KeychainWrapper.defaultKeychainWrapper.string(forKey: "boh"))

That code actually prints nil.

GZaccaroni commented 8 years ago

Ok, it's not your fault. I have debugged the code and the error is -34018, reported in http://stackoverflow.com/questions/38456471/secitemadd-always-returns-error-34018-in-xcode-8-in-ios-10-simulator