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

Type KeychainWrapper has no member defaultKeychainWrapper #51

Closed etayluz closed 8 years ago

etayluz commented 8 years ago

Just installed the pod and tried using it. Got this error right away:

screen shot 2016-08-24 at 2 36 08 pm
jrendel commented 8 years ago

Are you using the latest version from cocoa pods? You can check by opening your workspace, and going to the SwiftKeychainWrapper in your pods project. Check the info.plist for the SwiftKeychainWrapper pod and make sure its version 2.0.0.

You can also see a sample project with usage here https://github.com/jrendel/SwiftKeychainWrapperExample.

BorisNikolic commented 8 years ago

@etayluz You forgot to add "import SwiftKeychainWrapper" to your class. Please check.