Мы используем эту конфигурацию для Flutter и Dart:
Flutter 3.16.7 • стабильный канал • https://github.com/flutter/flutter.git
Framework • версия ef1af02aea (4 дня назад) • 11.01.2024 15:19:26 -0600
Движок • версия 4a585b7929
Инструменты • Dart 3.2.4 • DevTools 2.28.5
Мы добавили Realm в область pubspec.yaml
: ^1.6.1
На Android Realm работает хорошо, и когда мы хотим обновить модули и запустить их IOS, мы получаем эту ошибку:
Код: Выделить всё
Updating local specs repositories
CocoaPods 1.14.3 is available.
To update use: `sudo gem install cocoapods`
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.14.3
Analyzing dependencies
firebase_auth: Using Firebase SDK version '10.18.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '10.18.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '10.18.0' defined in 'firebase_core'
project dir is /Users/agusampietro/GitHub/Dems/app/dems_mobile/ios
app dir is /Users/agusampietro/GitHub/Dems/app/dems_mobile
bundleId is dems_mobile
Downloading dependencies
Installing AppAuth (1.6.2)
Installing Firebase (10.18.0)
Installing FirebaseAppCheckInterop (10.19.0)
Installing FirebaseAuth (10.18.0)
Installing FirebaseCore (10.18.0)
Installing FirebaseCoreInternal (10.19.0)
Installing FirebaseInstallations (10.19.0)
Installing FirebaseMessaging (10.18.0)
Installing Flutter (1.0.0)
Installing GTMAppAuth (2.0.0)
Installing GTMSessionFetcher (3.2.0)
Installing GoogleDataTransport (9.3.0)
Installing GoogleSignIn (7.0.0)
Installing GoogleUtilities (7.12.0)
Installing PromisesObjC (2.3.1)
Installing RecaptchaInterop (100.0.0)
Installing firebase_auth (4.16.0)
Installing firebase_core (2.24.2)
Installing firebase_messaging (14.7.10)
Installing flutter_native_timezone (0.0.1)
Installing flutter_share (0.0.1)
Installing geolocator_apple (1.2.0)
Installing google_sign_in_ios (0.0.1)
Installing nanopb (2.30909.1)
Installing path_provider_foundation (0.0.1)
Installing permission_handler_apple (9.1.1)
Installing realm (1.6.1)
Installing shared_preferences_foundation (0.0.1)
Installing the_apple_sign_in (1.0.0)
Generating Pods project
[!] Unable to install vendored xcframework `realm_dart` for Pod `realm`, because it contains both static and dynamic frameworks.
Возможно, у кого-то уже была такая ошибка. Будем благодарны за любую помощь.
Спасибо,
Криш
Подробнее здесь: https://stackoverflow.com/questions/778 ... s-platform
Мобильная версия