nxtbgthng / OAuth2Client

Client library for OAuth2 (currently built against draft 10 of the OAuth2 spec)
855 stars 217 forks source link

NSAssert1 fail #97

Open vleango opened 10 years ago

vleango commented 10 years ago

I was running my test on a device with iOS7 and the test failed on this line:

NXOAuth2AccountStore.m

for #if TARGET_OS_IPHONE

if (status != noErr) {
        NSAssert1(status == errSecItemNotFound, @"Unexpected error while fetching accounts from keychain: %ld", status);
        return nil;
    }

The status i get is -34018

I am just wondering if this should be reason for concern?

I have been getting some reports of my app crashing, and I am wondering if this could be it.

Thank you.

airdrummingfool commented 10 years ago

I have seen this same error and same error code. Strangely, it only seems to happen when debugging from Xcode; if I disconnect from Xcode and run the app manually it works fine.

tralves commented 10 years ago

Hi!

I am having the exact same problem. How did you solve it?

Thanks

toto commented 10 years ago

The question is what does Error -34018 mean. I could not find any docs about that.

Also, is this a 8.0b3 only problem or did it occur in 8.0b2?