iOS pull replication document revision issue

Check on the CBL side if that document is in conflict.

How can I tell if there are any conflicts in the database?
Use an all-documents query with the onlyConflicts mode.

Source: Couchbase Capella for Mobile Developers