FlutterプロジェクトにCloudFirestoreを追加しようとするたびに、このエラーが発生します。私は最初にメインプロジェクトでそれを試しましたが、失敗しました。毎回同じ結果が得られるクリーンな新しいプロジェクトで試してみました。誰かがこのエラーを起こした少なくとも10の異なる投稿を読みました。どれもうまくいきませんでした。PodとPodfile / Podfile.lockを削除して、新しいものを生成してみました。最新の依存関係「cloud_firestore:^ 0.14.0」を使用してみました。
これは私のpubspec.yamlです:
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
cloud_firestore: ^0.14.0
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.3
dev_dependencies:
flutter_test:
sdk: flutter
これは私のポッドファイル(その一部):
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'Runner' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for Runner
end
# add the Firebase pod for Google Analytics
pod 'Firebase/Analytics'
# add pods for any other desired Firebase products
# https://firebase.google.com/docs/ios/setup#available-pods
pod 'Firebase/Firestore'
私は2日間YouTubeビデオを見て、できる限り記事をチェックしていて、何もうまくいかなかったので、悲惨になっています。Firebaseサポートに連絡して回答を得たこともありますが、まだ回答がありません。
私がこれを修正する方法を知っているなら、私は真剣に感謝します!
私はこれと同じ問題を抱えています。接続されたiOSデバイスでローカルに実行すると正常に動作しますが、フラッタービルドiOSを実行すると、これと同じエラーが発生します。うまくいけば、誰かがこのエラーを手伝ってくれるでしょう。
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加