Unable to run fluter app on iOS with cloud_firestore

Viewed 42

I have an app that uses cloud_firestore and it works perfectly on Android but fails when trying to launch it on iOS

enter image description here

These are the mistakes

Semantic Issue (Xcode): Unknown type name 'FIRTransactionOptions'; did you mean 'FIRTransaction'? /Users/javiermorenovalle/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.7/ios/Classes/FLTTransactionStreamHandler.m:137:2

Semantic Issue (Xcode): Unknown receiver 'FIRTransactionOptions'; did you mean 'FIRTransaction'? /Users/javiermorenovalle/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.7/ios/Classes/FLTTransactionStreamHandler.m:137:37

Semantic Issue (Xcode): 'init' is unavailable: FIRTransaction cannot be created directly. /Users/javiermorenovalle/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.7/ios/Classes/FLTTransactionStreamHandler.m:137:66

Semantic Issue (Xcode): Property 'maxAttempts' not found on object of type 'FIRTransaction *' /Users/javiermorenovalle/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.7/ios/Classes/FLTTransactionStreamHandler.m:138:10

ARC Semantic Issue (Xcode): No visible @interface for 'FIRFirestore' declares the selector 'runTransactionWithOptions:block:completion:' /Users/javiermorenovalle/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.4.7/ios/Classes/FLTTransactionStreamHandler.m:140:13 2

Could not build the application for the simulator. Error launching application on iPhone SE (3rd generation).

I have tried different versions. I have also tried to launch it directly from Xcode but the result is the same

0 Answers
Related