2013-11-08 16:22:12.293 gpsprof[34428:70b] KCSKeyChain.m:140 [ERROR] SecItemCopyMatching returned -25300 for key 'gpsprof - password'!
2013-11-08 16:22:12.299 gpsprof[34428:70b] KCSKeyChain.m:140 [ERROR] SecItemCopyMatching returned -25300 for key 'gpsprof - authtoken'!
2013-11-08 16:22:12.307 gpsprof[34428:70b] Active user = (null)
Inside the log, I check the value of my activeUser after the block, You can see that the activeUser is still null. I call the block on the first controller that require the activeUser.
I think, that I lost my private key (after an OSX update), then, the KinveyKit can't find anymore the keys needed to save/restore the activeUser. Maybe its why I can't have a activeUser because the value can't be saved to the related keys. I don't have access to check inside KCSKeyChain.m to debug...
Then, every time that I looking for my currentUser, my KinveyApp still looking for his old key/value, but can't find it...
almost 6 years ago
In what condition are you finding the active user to be nil? If the user is nil before your code block, we should expect the call to createAutogeneratedUser: to execute. If there is no error in the completion block, then the user should be non-null. Is there are an error?