Have you encountered this problem using swift? I did, and I went mental for days, I posted questions on forums, parse google group, and stackoverflow. Luckily after 3 days, someone replied to my question in stackoverflow, finally a relief. I’ll provide a solution for you.
If you are trying to present a view after logging in, where the next view you presented has a query in it, this will trigger the error.
I honestly think this is a small flaw from Parse’s side. Anyway, here’s what got mine fixed.
Seems, like you have to save first before running a query. Just make sure the currentUser is saved first by checking objectID.
Tags: parse.com, swift2.1
If ever you encounter a problem with your testing, saying…
Here’s a little snippet for you to save a user…
Have you ever encountered a problem with your codes where…
Your email address will not be published.
Notify me of follow-up comments by email.
Notify me of new posts by email.