Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated in iOS 12.0 #13

Closed
nebucaz opened this issue Oct 20, 2018 · 2 comments
Closed

Deprecated in iOS 12.0 #13

nebucaz opened this issue Oct 20, 2018 · 2 comments

Comments

@nebucaz
Copy link

nebucaz commented Oct 20, 2018

in Strongbox.swift

Line 73
let archiver = NSKeyedArchiver(forWritingWith: data)
'init(forWritingWith:)' was deprecated in iOS 12.0: Use -initRequiringSecureCoding: instead

and Line 95:
let unarchiver = NSKeyedUnarchiver(forReadingWith: data as Data)
'init(forReadingWith:)' was deprecated in iOS 12.0: Use -initForReadingFromData:error: instead

@granoff
Copy link
Owner

granoff commented Mar 24, 2019

Fixed in v0.5.2

@granoff granoff closed this as completed Mar 24, 2019
@clintonb
Copy link

This issue still exists.

let unarchiver = NSKeyedUnarchiver(forReadingWith: data as Data)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants