I have been trying to work with AppWarp Platform in Xcode using Swift. When I am trying to connect the user to my server, I am getting this error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid (non-string) key in JSON dictionary'
This is the mutable dict created by the function
apiKey = "key";
authData = {
"F982424A-7284-4FA7-939E-E548AFEF650A" = (
"<UIViewAnimationState: 0x7f840ee25450>"
);
};
keepalive = 6;
recoverytime = 25;
timeStamp = "2017-05-09T05:42:42.192Z";
user = "123-123-1";
version = "1.5";
No mater what I put as authdata, it alwayes puts random values in the dict and crashes my app.