相关疑难解决方法(0)

Error when trying to call setData(from: ) in the Cloud Firestore ios API. How can i fix it?

Working in Swift..

I'm trying to call .setData(from: ) to write a Codable struct to a document in the cloud firestore database as outlined in the Firebase docs here to:

https://firebase.google.com/docs/firestore/manage-data/add-data#custom_objects

However, I'm getting the error: "Argument labels '(from:)' do not match any available overloads"

The odd thing is I was able to build and run on the simulator once, and successfully posted a document, but now obviously the compiler is calling this error and causing the build to fail. …

cloud ios firebase swift google-cloud-firestore

4
推荐指数
1
解决办法
742
查看次数

标签 统计

cloud ×1

firebase ×1

google-cloud-firestore ×1

ios ×1

swift ×1