Шаги, которые я выполнил, чтобы добавить firestore в ios часть флаттера
- Создайте новое приложение флаттера.
- Убедитесь, что флаттер запускается в симуляторе ios. Он работает нормально.
- Добавьте cloud_firestore: 0.9.7 в pubspe c .yaml
- , затем запустите приложение, что приведет к ошибке.
Файл Pod.lock не создается
Вот мой pubspe c .yaml
name: dili_platform
description: A new Flutter application.
environment:
sdk: ">=2.1.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
cloud_firestore: 0.9.7
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2
dev_dependencies:
flutter_test:
sdk: flutter
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
uses-material-design: true
Я использую версию Xcode 11.2 (11B52)