关于swift:尝试保存PFUser之后解析已破坏的会话

Parse destroyed session after trying to save PFUser

Parse Server破坏了iOS(Parse版本1.13.0)中的用户会话,并且在首次成功保存PFUser对象后,用户变得未经授权。下次保存(当前用户的任何更新)都会导致错误,当前用户在Parse Server上的session上的session消失了,并且PFUser.currentUser()变为nil:

1
[Error]: cannot modify user 84Yl7S2mNE (Code: 206, Version: 1.13.0)

我已经绝望了。如何解决这个错误?
我在Heroku

上使用Parse Server

1
2
3
4
5
6
7
let configuration = ParseClientConfiguration {
  $0.applicationId ="*************"
  $0.clientKey ="unused"
  $0.server ="http://**********.herokuapp.com/parse"
  $0.localDatastoreEnabled = false
}
Parse.initializeWithConfiguration(configuration)

试图禁用LocalDataStore-无效


解析很棒。这是我的错误,我在登录后更改了PFUser.currentUser().password字段。从不这样做)