As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
Before I try to answer your question I was hoping to get a little bit of background on this issue. Did this code work for you in a previous version of the library or is this the first project that you've built with Kinvey?
Are you developing this using Swift, or in objective - C ?
If you want to shoot me a sample of your code to damien@kinvey.com I will look it over and get back to you as soon as possible.
Thanks,
J
Jeppe Vesterbæk
said
almost 9 years ago
Using Swift. I cannot reproduce the problem consistently, but can you check your code for calls to "userId"? I've switched to using your REST API for now.
Damien Bell
said
almost 9 years ago
Good afternoon Vesterbaek,
I wanted to loop back with you to let you know that we've been unable to reproduce the issue that you're having locally at this time. There are some ways that you can implement this function that are technically "wrong" that will still compile and run with Xcode.
Can you please shoot me a 1-line sample of your code (just the line where you are experiencing the error) so we can double check it? My email is damien@kinvey.com. Once you shoot that over I'll be more than happy to work with you to resolve this issue (off-forums).
Jeppe Vesterbæk
On first launch of app, I login using the username/password login method on KCSUser.
On second app launch, I try to access saved used credentials using KCSUser.activeUser => Crash
2014-12-18 12:07:20.851 PetPals[4181:5585457] -[__NSDictionaryM userId]: unrecognized selector sent to instance 0x7fe068e3cc30
(lldb) po 0x7fe068e3cc30
{
"_id" = 543685cf3d438d542204d131;
"_kinveymeta" = "";
"_push" = {
};
email = "";
"first_name" ="";
"last_name" = "";
username = "some username";
}
(lldb) po [0x7fe068e3cc30 class]
__NSDictionaryM
Can you shed some light on this?