因此,我正在我的应用程序中构建一个用户配置文件,并保存在Firestore数据库中创建的名称、Bio、Image、uid和date。当其他值保存在数据库中并在用户配置文件中检索时,imageurl被保存为空字符串,因此不会在用户配置文件中检索。我哪里出问题了?@Published var image_Data = Data(count: 0) let ref = Fir
我最近在我的一个iOS应用程序中切换到了Firestore。我正在尝试将一些设置存储在" settings“集合中。= db.collection("settings").document(uid) // I tried this
{ Swift.print以下是我在Firestore中的规则: service cloud.firest
我尝试使用updateData(fields: AnyHashable : Any)函数来更新文档中的数组。一段时间后,它工作得很好,我得到了一个非常奇怪的错误,我无法解决,这是错误消息: global function '__designTimeString(_:fallback:)' requires thatExpressibleByStringLiteral'
CompileDylibError: Failed to