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 339 forks source link

iOS 12/13 deprecations #137

Closed m0n9oose closed 4 years ago

m0n9oose commented 4 years ago

Steps to reproduce:

  1. Create new iOS application
  2. Set deployment target to iOS 13

Expected result:

No deprecation warnings.

Actual result:

  1. KeychainItemAccessibility.swift:109:18: 'kSecAttrAccessibleAlways' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock
  2. KeychainItemAccessibility.swift:111:33: 'kSecAttrAccessibleAlwaysThisDeviceOnly' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
  3. KeychainWrapper.swift:203:34: 'unarchiveObject(with:)' was deprecated in iOS 12.0: Use +unarchivedObjectOfClass:fromData:error: instead
  4. KeychainWrapper.swift:289:36: 'archivedData(withRootObject:)' was deprecated in iOS 12.0: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
romeugodoi commented 4 years ago

This issue is still happening

markusloffler commented 4 years ago

Same here...

Th5192 commented 4 years ago

Same here...

@jrendel thank you for creating this awesome SwiftKeychainWrapper!

dinotrnka commented 3 years ago

This warning is happening to me too. Can we expect a fix?

jamesjmtaylor-dexcom commented 1 year ago

Still happening as of 2023.