mirror of
https://github.com/xtool-org/xtool.git
synced 2026-11-16 12:31:40 +03:00
Perform iOS 13-ification
This commit is contained in:
committed by
Kabir Oberai
Unverified
parent
f9c63acfca
commit
c153e869fc
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1100"
|
||||
LastUpgradeVersion = "1250"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
|
||||
@@ -59,7 +59,7 @@ public struct KeychainStorage: KeyValueStorage {
|
||||
if result != errSecSuccess {
|
||||
if ignoreNotFound && result == errSecItemNotFound { return }
|
||||
let info: [String: Any]?
|
||||
if #available(iOS 11.3, *), let message = SecCopyErrorMessageString(result, nil) {
|
||||
if let message = SecCopyErrorMessageString(result, nil) {
|
||||
info = [NSLocalizedDescriptionKey: message as String]
|
||||
} else {
|
||||
info = nil
|
||||
|
||||
Reference in New Issue
Block a user