-
Notifications
You must be signed in to change notification settings - Fork 783
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
xCode 12 compilation warning: iOS Simulator target and Deprecated code on iOS 12.0 #508
Comments
Same problem |
1 similar comment
Same problem |
+1 for the deprecation warnings |
@jefflks, @sergeifabian, @erolando and @Rickth64 — add this to your Podfile:
Source: https://www.jessesquires.com/blog/2020/07/20/xcode-12-drops-support-for-ios-8-fix-for-cocoapods/ |
That helps to silence the iOS 8.0 warning. Not the deprecation warnings. In fact, they only arise when the deployment target becomes 12.0, which is exactly what happens when I delete this key from the Pods (because it then inherits it from my project which is set to 12.0). |
If you include this version into you own podspec it's not going to work, because |
Ignore warnings for the KeychainAccess pod like so
Then |
What if using SPM ?? |
@kishikawakatsumi I think that the right way to resolve this issue is to remove the deprecated accessibility levels. These accessibility levels have been declared by apple as deprecated for security reasons so there is no reason to exist and be maintained in the code. May I open a Pull Request with the solution? Documentation |
Do we know when these deprecated levels are going to be removed by Apple? We're coming up on new releases of iOS and macOS soon, which I worry may completely break KeychainAccess. |
The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.
'kSecAttrAccessibleAlways' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock
'kSecAttrAccessibleAlwaysThisDeviceOnly' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
'kSecAttrAccessibleAlways' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock
'kSecAttrAccessibleAlwaysThisDeviceOnly' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
The text was updated successfully, but these errors were encountered: