soffes / SAMKeychain

Simple Objective-C wrapper for the keychain that works on Mac and iOS
MIT License
5.4k stars 956 forks source link

OSStatus -34018 #124

Closed DrAma999 closed 8 years ago

DrAma999 commented 8 years ago

I'm using the latest version on a mixed ObjC/SWIFT app. Everything run fine since Xcode 7.0, now that I update to the Xcode 7.2 (so latest SWIFT version) I'm dealing with a very particular issue. When I try to obtain account using the service string from ObjC I get what I need, if try to do the same from SWIFT (most of times) I get nil with status error -34018 ( I wasn't able to find any description of it). The most weird fact is that if after the crash I run the app again do the same steps everything works fine, until the next call from SWIFT from another object.

alexanderedge commented 8 years ago

I've had the same behaviour with both SSKeychain and Locksmith, which led me to look elsewhere. I found this: https://forums.developer.apple.com/thread/4743#14441

DrAma999 commented 8 years ago

Since it's related to Apple I close the issue