Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error iOS sdk version 1.13.0: schema mismatch for _Session.user; expected Pointer but got String #2042

Closed
SeenGhost opened this issue Jun 12, 2016 · 3 comments

Comments

@SeenGhost
Copy link

Issue Description:

I'm having problems with signing in and sign up iOS sdk.

I setup parse server on heroku, tested it with:

let testObject = PFObject(className: "TestObject")
testObject["foo"] = "bar"
testObject.saveInBackgroundWithBlock { (success: Bool, error: NSError?) -> Void in
print("Object has been saved.")
}

and the object saved successfully to mLab.

Then when I tried to sign a user up or log a user in. I got an error:

schema mismatch for _Session.user; expected Pointer but got String

There was an issue already posted but it was closed and was for the js SDK. how would one solve this for iOS sdk?

@drew-gross
Copy link
Contributor

drew-gross commented Jun 12, 2016

This was due to a breaking change in deepcopy. Upgrade your Parse Server version to 2.2.13, or pin your deepcopy version to 0.6.1.

@SeenGhost
Copy link
Author

@drew-gross I usually download the ios sdk from this link https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/releases/tag/1.13.0, and it doesn't have iOS idk 2.2.13? may you please be so kind to provide the link to iOS sdk 2.2.13?

@drew-gross
Copy link
Contributor

No your Parse Server, not your iOS SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants