nxtbgthng / OAuth2Client

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

XCode6 Beta 3 - Unable to create account store - keychain error (iOS Simulator) #123

Closed rohitgupta857 closed 10 years ago

rohitgupta857 commented 10 years ago

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unexpected error while fetching accounts from keychain: 8589900574'

I am getting the above error when executing - [NXOAuth2AccountStore sharedStore]

AlixKang commented 10 years ago

I got this error too.

2014-07-09 18:16:56.633 OAuth2.0Test[31775:1178419] * Assertion failure in +[NXOAuth2AccountStore accountsFromDefaultKeychain], /Users/WPH/Desktop/OAuth2.0Test/Pods/NXOAuth2Client/Sources/OAuth2Client/NXOAuth2AccountStore.m:607 2014-07-09 18:16:56.635 OAuth2.0Test[31775:1178419] * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unexpected error while fetching accounts from keychain: -34018'

ghvillasboas commented 10 years ago

Yes. Same error here. Any workarounds?

bmorton commented 10 years ago

I'm not seeing this error when executing NXOAuth2AccountStore.sharedStore() with Beta 4 and version 1.2.6.

toto commented 10 years ago

Can anybody confirm that this is gone in Beta4?

rohitgupta857 commented 10 years ago

I can confirm that it is indeed gone is Beta 6. I did not test Beta 4 & Beta 5.