I have the following code to produce a Dictionary for KeyClip:
var serialized: [String: String] {
var dict = [
"username": self.username,
"password": self.password
]
if let accessToken = self.accessToken {
dict["accessToken"] = accessToken
}
if let refreshToken = self.refreshToken {
dict["refreshToken"] = refreshToken
}
return dict
}
I use the following to get KeyClip to save the data:
KeyClip.save("fb-account", dictionary: account.serialized as NSDictionary)
I receive the following error:
[KeyClip] function:save(_:data:failure:) line:77 Error Domain=pw.aska.KeyClip Code=-34018 "Refer to SecBase.h for description (status:-34018)" UserInfo={NSLocalizedDescription=Refer to SecBase.h for description (status:-34018)}
This code used to work fine before Xcode 8, and KeyClip 1.4.0. I was using KeyClip 1.3.4. This occurs running on Simulator iPhone 6 with both iOS 9.0 and 10.0.
Do you have any idea of what is happening?
I have the following code to produce a Dictionary for KeyClip:
I use the following to get KeyClip to save the data:
I receive the following error:
This code used to work fine before Xcode 8, and KeyClip
1.4.0. I was using KeyClip1.3.4. This occurs running on Simulator iPhone 6 with both iOS 9.0 and 10.0.Do you have any idea of what is happening?