firebase / flutterfire

πŸ”₯ A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.73k stars 3.98k forks source link

πŸ› [CLOUD_FIRESTORE] AggregateQuerySnapshot Missing Fields on MacOS #12129

Closed percula closed 10 months ago

percula commented 10 months ago

Bug report

Describe the bug I updated to Cloud Firestore 4.14.0, but I get these errors. It appears there may be missing files for the macOS target:

/Users/peter/.pub-cache/hosted/pub.dev/cloud_firestore-4.14.0/macos/Classes/FLTFirebaseFirestorePlugin.m:751:18: error: unknown type name 'FIRAggregateField'; did you mean 'FIRAggregateQuery'?
  NSMutableArray<FIRAggregateField *> *aggregateFields =
                 ^~~~~~~~~~~~~~~~~
                 FIRAggregateQuery
In module 'FirebaseFirestore' imported from /Users/peter/development/git/planter/macos/Pods/Headers/Public/Firebase/Firebase.h:50:
@class FIRAggregateQuery;
       ^
/Users/peter/.pub-cache/hosted/pub.dev/cloud_firestore-4.14.0/macos/Classes/FLTFirebaseFirestorePlugin.m:752:24: error: unknown type name 'FIRAggregateField'; did you mean 'FIRAggregateQuery'?
      [[NSMutableArray<FIRAggregateField *> alloc] init];
                       ^~~~~~~~~~~~~~~~~
                       FIRAggregateQuery
In module 'FirebaseFirestore' imported from /Users/peter/development/git/planter/macos/Pods/Headers/Public/Firebase/Firebase.h:50:
@class FIRAggregateQuery;
       ^
/Users/peter/.pub-cache/hosted/pub.dev/cloud_firestore-4.14.0/macos/Classes/FLTFirebaseFirestorePlugin.m:757:37: error: unknown receiver 'FIRAggregateField'; did you mean 'FIRAggregateQuery'?
        [aggregateFields addObject:[FIRAggregateField aggregateFieldForCount]];
                                    ^~~~~~~~~~~~~~~~~
                                    FIRAggregateQuery
In module 'FirebaseFirestore' imported from /Users/peter/development/git/planter/macos/Pods/Headers/Public/Firebase/Firebase.h:50:
@class FIRAggregateQuery;
       ^
/Users/peter/.pub-cache/hosted/pub.dev/cloud_firestore-4.14.0/macos/Classes/FLTFirebaseFirestorePlugin.m:757:55: error: no known class method for selector 'aggregateFieldForCount'
        [aggregateFields addObject:[FIRAggregateField aggregateFieldForCount]];
                                                      ^~~~~~~~~~~~~~~~~~~~~~
/Users/peter/.pub-cache/hosted/pub.dev/cloud_firestore-4.14.0/macos/Classes/FLTFirebaseFirestorePlugin.m:761:24: error: unknown receiver 'FIRAggregateField'; did you mean 'FIRAggregateQuery'?
            addObject:[FIRAggregateField aggregateFieldForSumOfField:[queryRequest field]]];
                       ^~~~~~~~~~~~~~~~~
                       FIRAggregateQuery
In module 'FirebaseFirestore' imported from /Users/peter/development/git/planter/macos/Pods/Headers/Public/Firebase/Firebase.h:50:
@class FIRAggregateQuery;
       ^
/Users/peter/.pub-cache/hosted/pub.dev/cloud_firestore-4.14.0/macos/Classes/FLTFirebaseFirestorePlugin.m:761:42: error: no known class method for selector 'aggregateFieldForSumOfField:'
            addObject:[FIRAggregateField aggregateFieldForSumOfField:[queryRequest field]]];
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/peter/.pub-cache/hosted/pub.dev/cloud_firestore-4.14.0/macos/Classes/FLTFirebaseFirestorePlugin.m:765:24: error: unknown receiver 'FIRAggregateField'; did you mean 'FIRAggregateQuery'?
            addObject:[FIRAggregateField aggregateFieldForAverageOfField:[queryRequest field]]];
                       ^~~~~~~~~~~~~~~~~
                       FIRAggregateQuery
In module 'FirebaseFirestore' imported from /Users/peter/development/git/planter/macos/Pods/Headers/Public/Firebase/Firebase.h:50:
@class FIRAggregateQuery;
       ^
/Users/peter/.pub-cache/hosted/pub.dev/cloud_firestore-4.14.0/macos/Classes/FLTFirebaseFirestorePlugin.m:765:42: error: no known class method for selector 'aggregateFieldForAverageOfField:'
            addObject:[FIRAggregateField aggregateFieldForAverageOfField:[queryRequest field]]];
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/peter/.pub-cache/hosted/pub.dev/cloud_firestore-4.14.0/macos/Classes/FLTFirebaseFirestorePlugin.m:773:46: error: no visible @interface for 'FIRQuery' declares the selector 'aggregate:'
  FIRAggregateQuery *aggregateQuery = [query aggregate:aggregateFields];
                                       ~~~~~ ^~~~~~~~~
/Users/peter/.pub-cache/hosted/pub.dev/cloud_firestore-4.14.0/macos/Classes/FLTFirebaseFirestorePlugin.m:800:54: error: unknown receiver 'FIRAggregateField'; did you mean 'FIRAggregateQuery'?
                             valueForAggregateField:[FIRAggregateField
                                                     ^~~~~~~~~~~~~~~~~
                                                     FIRAggregateQuery
In module 'FirebaseFirestore' imported from /Users/peter/development/git/planter/macos/Pods/Headers/Public/Firebase/Firebase.h:50:
@class FIRAggregateQuery;
       ^
/Users/peter/.pub-cache/hosted/pub.dev/cloud_firestore-4.14.0/macos/Classes/FLTFirebaseFirestorePlugin.m:801:57: error: no known class method for selector 'aggregateFieldForSumOfField:'
                                                        aggregateFieldForSumOfField:[queryRequest
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/peter/.pub-cache/hosted/pub.dev/cloud_firestore-4.14.0/macos/Classes/FLTFirebaseFirestorePlugin.m:800:30: error: no visible @interface for 'FIRAggregateQuerySnapshot' declares the selector 'valueForAggregateField:'
                             valueForAggregateField:[FIRAggregateField
                             ^~~~~~~~~~~~~~~~~~~~~~
/Users/peter/.pub-cache/hosted/pub.dev/cloud_firestore-4.14.0/macos/Classes/FLTFirebaseFirestorePlugin.m:814:54: error: unknown receiver 'FIRAggregateField'; did you mean 'FIRAggregateQuery'?
                             valueForAggregateField:[FIRAggregateField
                                                     ^~~~~~~~~~~~~~~~~
                                                     FIRAggregateQuery
In module 'FirebaseFirestore' imported from /Users/peter/development/git/planter/macos/Pods/Headers/Public/Firebase/Firebase.h:50:
@class FIRAggregateQuery;
       ^
/Users/peter/.pub-cache/hosted/pub.dev/cloud_firestore-4.14.0/macos/Classes/FLTFirebaseFirestorePlugin.m:815:57: error: no known class method for selector 'aggregateFieldForAverageOfField:'
                                                        aggregateFieldForAverageOfField:
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/peter/.pub-cache/hosted/pub.dev/cloud_firestore-4.14.0/macos/Classes/FLTFirebaseFirestorePlugin.m:814:30: error: no visible @interface for 'FIRAggregateQuerySnapshot' declares the selector 'valueForAggregateField:'
                             valueForAggregateField:[FIRAggregateField

This is all after a flutter clean, rm Podfile.lock, and new build. The build is working for iOS, Android, and web. Just macOS is encountering these issues.


Flutter doctor

Run flutter doctor and paste the output below:

Click To Expand ``` [βœ“] Flutter (Channel stable, 3.16.5, on macOS 14.1.1 23B81 darwin-arm64, locale en-US) β€’ Flutter version 3.16.5 on channel stable at /Users/peter/development/flutter β€’ Upstream repository https://github.com/flutter/flutter.git β€’ Framework revision 78666c8dc5 (3 weeks ago), 2023-12-19 16:14:14 -0800 β€’ Engine revision 3f3e560236 β€’ Dart version 3.2.3 β€’ DevTools version 2.28.4 [βœ“] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1) β€’ Android SDK at /Users/peter/Library/Android/sdk β€’ Platform android-33, build-tools 33.0.0-rc1 β€’ Java binary at: /Users/peter/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java β€’ Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) β€’ All Android licenses accepted. [βœ“] Xcode - develop for iOS and macOS (Xcode 15.1) β€’ Xcode at /Applications/Xcode.app/Contents/Developer β€’ Build 15C65 β€’ CocoaPods version 1.14.3 [βœ“] Chrome - develop for the web β€’ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [βœ“] Android Studio (version 2022.3) β€’ Android Studio at /Users/peter/Applications/Android Studio.app/Contents β€’ Flutter plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/9212-flutter β€’ Dart plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/6351-dart β€’ Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) [βœ“] VS Code (version 1.85.0) β€’ VS Code at /Applications/Visual Studio Code.app/Contents β€’ Flutter extension can be installed from: πŸ”¨ https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [βœ“] Connected device (3 available) β€’ iPhone 14 Plus (mobile) β€’ 935AE290-D408-4283-BA05-B64B605F1244 β€’ ios β€’ com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator) β€’ macOS (desktop) β€’ macos β€’ darwin-arm64 β€’ macOS 14.1.1 23B81 darwin-arm64 β€’ Chrome (web) β€’ chrome β€’ web-javascript β€’ Google Chrome 120.0.6099.129 [βœ“] Network resources β€’ All expected network resources are available. β€’ No issues found!```

Flutter dependencies

Run flutter pub deps -- --style=compact and paste the output below:

Click To Expand ``` Dart SDK 3.2.3 Flutter SDK 3.16.5 Planter 3.3.40+303400000 dependencies: - adaptive_components 0.0.10 [flutter adaptive_breakpoints adaptive_navigation] - algolia_helper_flutter 0.5.0 [algolia_insights algoliasearch collection flutter logging meta rxdart] - amplitude_flutter 3.16.1 [flutter flutter_web_plugins js] - animated_emoji 3.0.0 [flutter lottie] - animated_text_kit 4.2.2 [flutter characters] - auto_size_text 3.0.0 [flutter] - cached_network_image 3.3.0 [cached_network_image_platform_interface cached_network_image_web flutter flutter_cache_manager octo_image] - cached_network_image_platform_interface 3.0.0 [flutter flutter_cache_manager] - clippy_flutter 2.0.0-nullsafety.1 [flutter] - cloud_firestore 4.14.0 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta] - cloud_functions 4.6.0 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter] - collection 1.18.0 - colorfilter_generator 0.0.8 [flutter matrix2d] - confetti 0.7.0 [flutter vector_math] - connectivity_plus 5.0.2 [flutter flutter_web_plugins connectivity_plus_platform_interface js meta nm] - contextualactionbar 2.1.0 [flutter provider] - cross_file_image 1.1.0 [cross_file flutter] - crypto 3.0.3 [typed_data] - csv 5.1.1 - dart_mappable 4.2.0 [collection meta type_plus] - date_range_form_field 1.0.2 [flutter intl] - datetime_picker_formfield 2.0.1 [flutter intl] - device_info_plus 9.1.1 [device_info_plus_platform_interface ffi file flutter flutter_web_plugins meta win32 win32_registry] - dotlottie_loader 0.0.3 [archive flutter] - draggable_widget 2.0.0 [flutter] - english_words 4.0.0 [string_scanner] - expandable 5.0.1 [flutter] - firebase_analytics 10.7.4 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter] - firebase_app_check 0.2.1+8 [firebase_app_check_platform_interface firebase_app_check_web firebase_core firebase_core_platform_interface flutter] - firebase_auth 4.14.1 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta] - firebase_core 2.24.2 [firebase_core_platform_interface firebase_core_web flutter meta] - firebase_crashlytics 3.4.9 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace] - firebase_database 10.4.0 [firebase_core firebase_core_platform_interface firebase_database_platform_interface firebase_database_web flutter] - firebase_dynamic_links 5.4.8 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface] - firebase_logger 1.0.0 [logger firebase_crashlytics] - firebase_messaging 14.7.10 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta] - firebase_remote_config 4.3.8 [firebase_core firebase_core_platform_interface firebase_remote_config_platform_interface firebase_remote_config_web flutter] - firebase_storage 11.6.0 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter] - firebase_ui_firestore 1.6.0 [cloud_firestore firebase_ui_localizations firebase_ui_shared flutter] - flutter 0.0.0 [characters collection material_color_utilities meta vector_math web sky_engine] - flutter_adaptive_scaffold 0.1.0 [flutter] - flutter_animate 4.3.0 [flutter] - flutter_cache_manager_firebase 2.0.2 [flutter flutter_cache_manager firebase_storage path_provider path] - flutter_facebook_auth 6.0.3 [flutter flutter_facebook_auth_platform_interface flutter_facebook_auth_web facebook_auth_desktop] - flutter_image_slideshow 0.1.6 [flutter] - flutter_linkify 6.0.0 [flutter linkify] - flutter_local_notifications 15.1.2 [clock flutter flutter_local_notifications_linux flutter_local_notifications_platform_interface timezone] - flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math web] - flutter_lorem 2.0.0 [flutter] - flutter_markdown 0.6.18+3 [flutter markdown meta path] - flutter_picker 2.1.0 [flutter] - flutter_staggered_grid_view 0.7.0 [flutter] - flutter_svg 2.0.9 [flutter vector_graphics vector_graphics_codec vector_graphics_compiler] - flutter_typeahead 5.0.1 [flutter flutter_keyboard_visibility pointer_interceptor] - fluttermoji 1.0.2 [flutter flutter_svg get shared_preferences] - freezed_annotation 2.4.1 [collection json_annotation meta] - fuzzywuzzy 1.1.6 [collection] - geo_firestore_flutter 0.1.6 [flutter cloud_firestore] - geolocator 10.1.0 [flutter geolocator_platform_interface geolocator_android geolocator_apple geolocator_web geolocator_windows] - get 4.6.6 [flutter] - go_router 4.2.2 [collection flutter flutter_web_plugins logging meta] - google_fonts 6.1.0 [flutter http path_provider crypto] - google_sign_in 6.2.1 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web] - heic_to_jpg 0.2.0 [flutter] - http 1.1.2 [async http_parser meta web] - image_picker 1.0.6 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_linux image_picker_macos image_picker_platform_interface image_picker_windows] - in_app_review 2.0.8 [flutter in_app_review_platform_interface] - intl 0.18.1 [clock meta path] - js 0.6.7 [meta] - json_annotation 4.8.1 [meta] - json_serializable 6.7.1 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper] - language_picker 0.4.3 [flutter recase] - logger 1.1.0 - lottie 2.7.0 [archive flutter path vector_math] - mailto 2.0.0 - material_design_icons_flutter 7.0.7196 [flutter] - mixpanel_flutter 2.2.0 [flutter flutter_web_plugins js] - native_shared_preferences 2.0.7 [flutter meta shared_preferences file] - open_file 3.3.2 [flutter ffi] - package_info_plus 5.0.1 [ffi flutter flutter_web_plugins http meta path package_info_plus_platform_interface web win32] - path 1.9.0 - path_provider 2.1.1 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows] - pdf 3.10.7 [archive barcode bidi crypto image meta path_parsing vector_math xml] - permission_handler 11.1.0 [flutter meta permission_handler_android permission_handler_apple permission_handler_html permission_handler_windows permission_handler_platform_interface] - pie_menu 1.3.0 [flutter vector_math flutter_circular_text] - printing 5.11.1 [ffi flutter flutter_web_plugins http image js meta pdf plugin_platform_interface] - provider 6.1.1 [collection flutter nested] - purchases_flutter 6.6.0 [flutter freezed_annotation json_annotation] - regexed_validator 1.0.4 - retry 3.1.2 - screenshot 2.1.0 [flutter] - sentry_flutter 7.14.0 [flutter flutter_web_plugins sentry package_info_plus meta ffi] - share_plus 7.2.1 [cross_file meta mime flutter flutter_web_plugins share_plus_platform_interface file url_launcher_web url_launcher_windows url_launcher_linux url_launcher_platform_interface ffi win32] - shared_preferences 2.2.2 [flutter shared_preferences_android shared_preferences_foundation shared_preferences_linux shared_preferences_platform_interface shared_preferences_web shared_preferences_windows] - shared_preferences_settings 2.1.0 [flutter shared_preferences rxdart flutter_colorpicker] - sign_in_with_apple 5.0.0 [flutter meta sign_in_with_apple_platform_interface sign_in_with_apple_web] - sitemap 1.0.0 [intl xml] - streaming_shared_preferences 2.0.0 [flutter meta shared_preferences] - strings 2.0.3 [characters unicode] - tutorial_coach_mark 1.2.11 [flutter] - two_dimensional_scrollables 0.0.5+1 [flutter] - url_launcher 6.2.2 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows] - vector_math 2.1.4 - wiredash 1.9.0 [async clock collection device_info_plus file flutter flutter_localizations http http_parser intl material_color_utilities nanoid2 package_info_plus path_provider platform shared_preferences] dev dependencies: - build_runner 2.4.7 [analyzer args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml] - dart_mappable_builder 4.2.0 [analyzer ansicolor build collection dart_mappable dart_style glob path source_gen] - flutter_launcher_icons 0.13.1 [args checked_yaml cli_util image json_annotation path yaml] - flutter_lints 3.0.1 [lints] - flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math async boolean_selector characters collection material_color_utilities meta source_span stream_channel string_scanner term_glyph web] - freezed 2.4.6 [analyzer build build_config collection meta source_gen freezed_annotation json_annotation] - integration_test 0.0.0 [flutter flutter_driver flutter_test path vm_service async boolean_selector characters clock collection fake_async file matcher material_color_utilities meta source_span stack_trace stream_channel string_scanner sync_http term_glyph test_api vector_math web webdriver] - sentry_dart_plugin 1.6.3 [yaml injector ansicolor system_info2 file http crypto convert process] dependency overrides: - collection 1.18.0 - firebase_auth 4.14.1 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta] - intl 0.18.1 [clock meta path] - path 1.9.0 - shared_preferences 2.2.2 [flutter shared_preferences_android shared_preferences_foundation shared_preferences_linux shared_preferences_platform_interface shared_preferences_web shared_preferences_windows] - watcher 1.1.0 [async path] transitive dependencies: - _fe_analyzer_shared 64.0.0 [meta] - _flutterfire_internals 1.3.16 [collection firebase_core firebase_core_platform_interface flutter meta] - adaptive_breakpoints 0.1.7 [flutter] - adaptive_navigation 0.0.10 [flutter adaptive_breakpoints] - algolia_client_core 0.3.0 [dio] - algolia_client_insights 0.3.0 [algolia_client_core json_annotation collection] - algolia_client_search 0.3.0 [algolia_client_core json_annotation collection] - algolia_insights 0.2.2 [algolia_client_insights collection flutter hive logging meta path_provider rxdart uuid] - algoliasearch 0.3.0 [algolia_client_core algolia_client_search algolia_client_insights json_annotation collection] - analyzer 6.2.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml] - ansicolor 2.0.2 - archive 3.4.10 [crypto path pointycastle] - args 2.4.2 - async 2.11.0 [collection meta] - barcode 2.2.6 [meta qr] - bidi 2.0.10 - boolean_selector 2.1.1 [source_span string_scanner] - build 2.4.1 [analyzer async convert crypto glob logging meta package_config path] - build_config 1.1.1 [checked_yaml json_annotation path pubspec_parse yaml] - build_daemon 4.0.1 [built_collection built_value crypto http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel] - build_resolvers 2.4.2 [analyzer async build collection convert crypto graphs logging package_config path pool pub_semver stream_transform yaml] - build_runner_core 7.2.11 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta package_config path pool timing watcher yaml] - built_collection 5.1.1 - built_value 8.8.1 [built_collection collection fixnum meta] - cached_network_image_web 1.1.0 [cached_network_image_platform_interface flutter flutter_cache_manager] - characters 1.3.0 - checked_yaml 2.0.3 [json_annotation source_span yaml] - cli_util 0.4.1 [meta path] - clock 1.1.1 - cloud_firestore_platform_interface 6.1.0 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - cloud_firestore_web 3.9.0 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js] - cloud_functions_platform_interface 5.5.11 [firebase_core flutter meta plugin_platform_interface] - cloud_functions_web 4.6.11 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js] - code_builder 4.9.0 [built_collection built_value collection matcher meta] - connectivity_plus_platform_interface 1.2.4 [flutter meta plugin_platform_interface] - convert 3.1.1 [typed_data] - cross_file 0.3.3+8 [meta web] - dart_style 2.3.4 [analyzer args collection path pub_semver source_span] - dbus 0.7.10 [args ffi meta xml] - device_info_plus_platform_interface 7.0.0 [flutter meta plugin_platform_interface] - dio 5.4.0 [async http_parser meta path] - facebook_auth_desktop 1.0.2 [flutter http flutter_secure_storage flutter_facebook_auth_platform_interface] - fake_async 1.3.1 [clock collection] - ffi 2.1.0 - file 6.1.4 [meta path] - file_selector_linux 0.9.2+1 [cross_file file_selector_platform_interface flutter] - file_selector_macos 0.9.3+3 [cross_file file_selector_platform_interface flutter] - file_selector_platform_interface 2.6.1 [cross_file flutter http plugin_platform_interface] - file_selector_windows 0.9.3+1 [cross_file file_selector_platform_interface flutter] - firebase_analytics_platform_interface 3.9.0 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_analytics_web 0.5.5+12 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js] - firebase_app_check_platform_interface 0.1.0+10 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_app_check_web 0.1.0+10 [_flutterfire_internals firebase_app_check_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js] - firebase_auth_platform_interface 7.0.9 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_auth_web 5.8.13 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser js meta] - firebase_core_platform_interface 5.0.0 [collection flutter flutter_test meta plugin_platform_interface] - firebase_core_web 2.10.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta] - firebase_crashlytics_platform_interface 3.6.16 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_database_platform_interface 0.2.5+16 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_database_web 0.2.3+16 [firebase_core firebase_core_web firebase_database_platform_interface flutter flutter_web_plugins js] - firebase_dynamic_links_platform_interface 0.2.6+16 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_messaging_platform_interface 4.5.18 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_messaging_web 3.5.18 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta] - firebase_remote_config_platform_interface 1.4.16 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_remote_config_web 1.4.16 [firebase_core firebase_core_web firebase_remote_config_platform_interface flutter flutter_web_plugins js] - firebase_storage_platform_interface 5.1.3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_storage_web 3.6.17 [_flutterfire_internals async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta] - firebase_ui_localizations 1.10.0 [flutter flutter_localizations path] - firebase_ui_shared 1.4.1 [flutter] - fixnum 1.1.0 - flutter_cache_manager 3.3.1 [clock collection file flutter http path path_provider rxdart sqflite uuid] - flutter_circular_text 0.3.1 [flutter] - flutter_colorpicker 1.0.3 [flutter] - flutter_driver 0.0.0 [file flutter flutter_test fuchsia_remote_debug_protocol path meta vm_service webdriver async boolean_selector characters clock collection matcher material_color_utilities platform process source_span stack_trace stream_channel string_scanner sync_http term_glyph test_api vector_math web] - flutter_facebook_auth_platform_interface 5.0.0 [flutter plugin_platform_interface] - flutter_facebook_auth_web 5.0.0 [flutter flutter_web_plugins js flutter_facebook_auth_platform_interface] - flutter_keyboard_visibility 5.4.1 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_linux flutter_keyboard_visibility_macos flutter_keyboard_visibility_web flutter_keyboard_visibility_windows flutter] - flutter_keyboard_visibility_linux 1.0.0 [flutter_keyboard_visibility_platform_interface flutter] - flutter_keyboard_visibility_macos 1.0.0 [flutter_keyboard_visibility_platform_interface flutter] - flutter_keyboard_visibility_platform_interface 2.0.0 [flutter meta plugin_platform_interface] - flutter_keyboard_visibility_web 2.0.0 [flutter_keyboard_visibility_platform_interface flutter_web_plugins flutter] - flutter_keyboard_visibility_windows 1.0.0 [flutter_keyboard_visibility_platform_interface flutter] - flutter_local_notifications_linux 4.0.0+1 [dbus ffi flutter flutter_local_notifications_platform_interface path xdg_directories] - flutter_local_notifications_platform_interface 7.0.0+1 [flutter plugin_platform_interface] - flutter_plugin_android_lifecycle 2.0.17 [flutter] - flutter_secure_storage 9.0.0 [flutter flutter_secure_storage_linux flutter_secure_storage_macos flutter_secure_storage_platform_interface flutter_secure_storage_web flutter_secure_storage_windows meta] - flutter_secure_storage_linux 1.2.0 [flutter flutter_secure_storage_platform_interface] - flutter_secure_storage_macos 3.0.1 [flutter flutter_secure_storage_platform_interface] - flutter_secure_storage_platform_interface 1.0.2 [flutter plugin_platform_interface] - flutter_secure_storage_web 1.1.2 [flutter flutter_secure_storage_platform_interface flutter_web_plugins js] - flutter_secure_storage_windows 3.0.0 [ffi flutter flutter_secure_storage_platform_interface path path_provider win32] - flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math web] - frontend_server_client 3.2.0 [async path] - fuchsia_remote_debug_protocol 0.0.0 [process vm_service file meta path platform] - geolocator_android 4.4.0 [flutter geolocator_platform_interface uuid] - geolocator_apple 2.3.3 [flutter geolocator_platform_interface] - geolocator_platform_interface 4.2.0 [flutter plugin_platform_interface vector_math meta] - geolocator_web 2.2.0 [flutter flutter_web_plugins geolocator_platform_interface] - geolocator_windows 0.2.2 [flutter geolocator_platform_interface] - glob 2.1.2 [async collection file path string_scanner] - globbing 1.0.0 [path] - google_identity_services_web 0.3.0+2 [meta web] - google_sign_in_android 6.1.21 [flutter google_sign_in_platform_interface] - google_sign_in_ios 5.7.2 [flutter google_sign_in_platform_interface] - google_sign_in_platform_interface 2.4.4 [flutter plugin_platform_interface] - google_sign_in_web 0.12.3+2 [flutter flutter_web_plugins google_identity_services_web google_sign_in_platform_interface http web] - graphs 2.3.1 [collection] - hive 2.2.3 [meta crypto] - http_multi_server 3.2.1 [async] - http_parser 4.0.2 [collection source_span string_scanner typed_data] - image 4.1.3 [archive meta xml] - image_picker_android 0.8.9+2 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface] - image_picker_for_web 3.0.2 [flutter flutter_web_plugins image_picker_platform_interface mime] - image_picker_ios 0.8.9 [flutter image_picker_platform_interface] - image_picker_linux 0.2.1+1 [file_selector_linux file_selector_platform_interface flutter image_picker_platform_interface] - image_picker_macos 0.2.1+1 [file_selector_macos file_selector_platform_interface flutter image_picker_platform_interface] - image_picker_platform_interface 2.9.2 [cross_file flutter http plugin_platform_interface] - image_picker_windows 0.2.1+1 [file_selector_platform_interface file_selector_windows flutter image_picker_platform_interface] - in_app_review_platform_interface 2.0.5 [flutter url_launcher plugin_platform_interface platform] - injector 3.0.0 - io 1.0.4 [meta path string_scanner] - linkify 5.0.0 - lints 3.0.0 - lists 1.0.1 [meta] - logging 1.2.0 - markdown 7.1.1 [args meta] - matcher 0.12.16 [async meta stack_trace term_glyph test_api] - material_color_utilities 0.5.0 [collection] - matrix2d 1.0.4 - meta 1.10.0 - mime 1.0.4 - nanoid2 2.0.1 - nested 1.0.0 [flutter] - nm 0.5.0 [dbus] - octo_image 2.0.0 [flutter] - package_config 2.1.0 [path] - package_info_plus_platform_interface 2.0.1 [flutter meta plugin_platform_interface] - path_parsing 1.0.1 [vector_math meta] - path_provider_android 2.2.2 [flutter path_provider_platform_interface] - path_provider_foundation 2.3.1 [flutter path_provider_platform_interface] - path_provider_linux 2.2.1 [ffi flutter path path_provider_platform_interface xdg_directories] - path_provider_platform_interface 2.1.1 [flutter platform plugin_platform_interface] - path_provider_windows 2.2.1 [ffi flutter path path_provider_platform_interface win32] - permission_handler_android 12.0.1 [flutter permission_handler_platform_interface] - permission_handler_apple 9.2.0 [flutter permission_handler_platform_interface] - permission_handler_html 0.1.0+2 [flutter flutter_web_plugins permission_handler_platform_interface] - permission_handler_platform_interface 4.0.2 [flutter meta plugin_platform_interface] - permission_handler_windows 0.2.0 [flutter permission_handler_platform_interface] - petitparser 6.0.2 [meta] - platform 3.1.2 - plugin_platform_interface 2.1.8 [meta] - pointer_interceptor 0.9.3+7 [flutter] - pointycastle 3.7.3 [collection convert js] - pool 1.5.1 [async stack_trace] - process 4.2.4 [file path platform] - pub_semver 2.1.4 [collection meta] - pubspec_parse 1.2.3 [checked_yaml collection json_annotation pub_semver yaml] - qr 3.0.1 [meta] - recase 4.1.0 - rxdart 0.27.7 - sentry 7.14.0 [http meta stack_trace uuid] - share_plus_platform_interface 3.3.1 [cross_file flutter meta mime plugin_platform_interface path_provider uuid] - shared_preferences_android 2.2.1 [flutter shared_preferences_platform_interface] - shared_preferences_foundation 2.3.4 [flutter shared_preferences_platform_interface] - shared_preferences_linux 2.3.2 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface] - shared_preferences_platform_interface 2.3.1 [flutter plugin_platform_interface] - shared_preferences_web 2.2.2 [flutter flutter_web_plugins shared_preferences_platform_interface web] - shared_preferences_windows 2.3.2 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface] - shelf 1.4.1 [async collection http_parser path stack_trace stream_channel] - shelf_web_socket 1.0.4 [shelf stream_channel web_socket_channel] - sign_in_with_apple_platform_interface 1.0.0 [flutter plugin_platform_interface meta] - sign_in_with_apple_web 1.0.1 [flutter flutter_web_plugins sign_in_with_apple_platform_interface js] - sky_engine 0.0.99 - source_gen 1.5.0 [analyzer async build dart_style glob path source_span yaml] - source_helper 1.3.4 [analyzer collection source_gen] - source_span 1.10.0 [collection path term_glyph] - sprintf 7.0.0 - sqflite 2.3.0 [flutter sqflite_common path] - sqflite_common 2.5.0+2 [synchronized path meta] - stack_trace 1.11.1 [path] - stream_channel 2.1.2 [async] - stream_transform 2.1.0 - string_scanner 1.2.0 [source_span] - sync_http 0.3.1 - synchronized 3.1.0+1 - system_info2 4.0.0 [globbing path] - term_glyph 1.2.1 - test_api 0.6.1 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph] - timezone 0.9.2 [path] - timing 1.0.1 [json_annotation] - type_plus 2.1.0 - typed_data 1.3.2 [collection] - unicode 0.3.1 [lists] - url_launcher_android 6.2.1 [flutter url_launcher_platform_interface] - url_launcher_ios 6.2.2 [flutter url_launcher_platform_interface] - url_launcher_linux 3.1.1 [flutter url_launcher_platform_interface] - url_launcher_macos 3.1.0 [flutter url_launcher_platform_interface] - url_launcher_platform_interface 2.3.0 [flutter plugin_platform_interface] - url_launcher_web 2.2.3 [flutter flutter_web_plugins url_launcher_platform_interface web] - url_launcher_windows 3.1.1 [flutter url_launcher_platform_interface] - uuid 4.2.2 [crypto sprintf meta] - vector_graphics 1.1.9+1 [flutter vector_graphics_codec] - vector_graphics_codec 1.1.9+1 - vector_graphics_compiler 1.1.9+1 [args meta path_parsing xml vector_graphics_codec path] - vm_service 11.10.0 - web 0.3.0 - web_socket_channel 2.4.0 [async crypto stream_channel] - webdriver 3.0.2 [matcher path stack_trace sync_http] - win32 5.2.0 [ffi] - win32_registry 1.1.2 [ffi win32] - xdg_directories 1.0.4 [meta path] - xml 6.5.0 [collection meta petitparser] - yaml 3.1.2 [collection source_span string_scanner] ```

danagbemava-nc commented 10 months ago

Hi @percula, this may be an issue with your local pub cache. Can you try clearing it and running the project again? From what I understand, macOS & iOS use shared code

percula commented 10 months ago

Hi @danagbemava-nc , thanks for the reply. I tried dart pub cache clean, flutter clean, and deleted the podfile.lock in my macos directory. Unfortunately, I still get the same errors. But you're right, the files appear to be identical across both platforms. I'll tinker with it and re-open this ticket if it ends up being something not specific to my machine.

percula commented 10 months ago

Figured it out! For anyone else suffering from a similar issue: In my situation, the latest version of the pre-compiled pod from https://github.com/invertase/firestore-ios-sdk-frameworks.git stopped working for me. So I commented out the line that used it. However, what I also needed to do was comment out this line in my podfile:

$FirebaseSDKVersion = '10.12.0'

This variable was still being used behind-the-scenes to set the Firebase version, creating conflicting versions and missing classes.