Skip to content

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

Closed
@SeenGhost

Description

@SeenGhost

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions