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

Please upgrade to Swift 3 #57

Closed crashoverride777 closed 8 years ago

crashoverride777 commented 8 years ago

Please upgrade this project to swift 3 ASAP, it only will take a few minutes. Currently this breaks CocoaPod integration with Swift 3 and xCode 8.

jrendel commented 8 years ago

Sorry I started this a couple weeks ago but have been traveling. I'll be finishing this as soon as I can.

crashoverride777 commented 8 years ago

Thank you very much.

magonicolas commented 8 years ago

Thanks! Would be awesome to have this updated.

lztetreault commented 8 years ago

Any idea when you may be completed the update?

jrendel commented 8 years ago

Everything has been pushed through to master at this point. However, I'm having issues uploading the new version to cocoa pods. You should be able to use the branch directly by updating your pod file like this:

pod 'SwiftKeychainWrapper', :git => 'https://github.com/jrendel/SwiftKeychainWrapper.git', :branch => 'master'

Dbigshooter commented 8 years ago

I'm still getting a lot errors, how come?

sssss
jrendel commented 8 years ago

Are you getting those errors trying to compile the library, or in your own code while using the library?

bennettl commented 8 years ago

I'm getting these errors as well

screen shot 2016-09-19 at 5 46 13 pm
jrendel commented 8 years ago

It looks like you are still using the old version of the library, not the latest that's been updated for Swift.

Did you point your pod file directly at the master branch? I haven't been able to update the cocoapod listing yet for the library as I'm having issues getting the automated cocoapod upload to work. You can manually point it to master and run pod update using this in your pod file:

pod 'SwiftKeychainWrapper', :git => 'https://github.com/jrendel/SwiftKeychainWrapper.git', :branch => 'master'

You should be on version 2.2 of the library after you update.

crashoverride777 commented 8 years ago

This can be closed. Working great with Swift 3.

lindseyvastola commented 7 years ago

When do you plan on having the pod updated?

jrendel commented 7 years ago

What do you mean by updated? The Swift 3 updated pod has been available for quite awhile now.