我尝试使用 CocoaPods 在 iOS 上安装 Flutter 的 pod,但开始时出现以下错误:
\n[!] CocoaPods could not find compatible version for pod "Cache":\n In Podfile:\n better_player (from \xc2\xb4.symlinks/plugins/better_player/ios\xc2\xb4) was resolved to 0.0.1, which depends on\n Cache (-> 6.0.0)\n\nSpecs satisfying the \xc2\xb4Cache (-> 6.0.0)\xc2\xb4 dependency were found, but they required a higher minimum deployment target.\nRun Code Online (Sandbox Code Playgroud)\n 我想检查我的 Flutter 应用程序是否有某个项目不在数组中。如果它在里面,我想把它整理出来,如果没有,我想把它拿走。
有一个arrayContains反向函数的函数,但是我找不到arrayContainsNot函数什么的。我该如何解决这个问题?
我想这样做:
await FirebaseFirestore.instance
.collection("someCollection")
.where("someArray", arrayContainsNot: "someItem")
.get();
Run Code Online (Sandbox Code Playgroud)