I receive a compiler error when trying to use firebase FieldValue.increment(1) in iOS using swift. The error only says \"Ambiguous use of \'increment\'\"
As noted in the comments, the "Ambiguous use of 'increment'" error is solved for me by changing the code in the example to
FieldValue.increment(Int64(1)).
The compiler provides an option of double or int64 for the increment operator and I guess it does not know which one to choose.