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.7k stars 3.97k forks source link

[cloud_firestore] flutter build ios fatal error: could not build module 'GoogleDataTransport' #326

Closed kroikie closed 5 years ago

kroikie commented 5 years ago

Steps to Reproduce

  1. Install some flutter firebase libraries
    cloud_firestore: ^0.12.9
    firebase_storage: ^3.0.6
    firebase_auth: ^0.14.0
  2. get flutter packages, or update them
  3. run pod install
  4. flutter build ios

Logs

flutter build ios
Building for device (ios-release)...
Automatically signing iOS for device deployment using specified development team in Xcode project: XXXXXXXXXX
Running pod install...                                             22,3s
Running Xcode build...

Xcode build done.                                           83,1s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    warning: Stale file '/build/ios/Release-iphoneos/vibration/vibration.framework/Modules/vibration.swiftmodule/arm.swiftdoc' is located outside
    of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/vibration/vibration.framework/Modules/vibration.swiftmodule/arm.swiftmodule' is located
    outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/vibration/vibration.framework/Modules/vibration.swiftmodule/armv7.swiftdoc' is located
    outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/vibration/vibration.framework/Modules/vibration.swiftmodule/armv7.swiftmodule' is located
    outside of the allowed root paths.
    warning: Stale file
    '/build/ios/Release-iphoneos/multi_image_picker/multi_image_picker.framework/Modules/multi_image_picker.swiftmodule/arm.swiftdoc' is located
    outside of the allowed root paths.
    warning: Stale file
    '/build/ios/Release-iphoneos/multi_image_picker/multi_image_picker.framework/Modules/multi_image_picker.swiftmodule/arm.swiftmodule' is
    located outside of the allowed root paths.
    warning: Stale file
    '/build/ios/Release-iphoneos/multi_image_picker/multi_image_picker.framework/Modules/multi_image_picker.swiftmodule/armv7.swiftdoc' is
    located outside of the allowed root paths.
    warning: Stale file
    '/build/ios/Release-iphoneos/multi_image_picker/multi_image_picker.framework/Modules/multi_image_picker.swiftmodule/armv7.swiftmodule' is
    located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/Runner.app/Frameworks/Bolts.framework' is located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTAssert.h' is located outside of
    the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTClock.h' is located outside of
    the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTConsoleLogger.h' is located
    outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTDataFuture.h' is located
    outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTEvent.h' is located outside of
    the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTEventDataObject.h' is located
    outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTEventTransformer.h' is located
    outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTLifecycle.h' is located outside
    of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTPlatform.h' is located outside
    of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTPrioritizer.h' is located
    outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTRegistrar.h' is located outside
    of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTStoredEvent.h' is located
    outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTTargets.h' is located outside
    of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTTransport.h' is located outside
    of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTUploadPackage.h' is located
    outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers/GDTUploader.h' is located outside
    of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/PrivateHeaders/GDTEvent_Private.h' is
    located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/PrivateHeaders/GDTReachability.h' is
    located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/PrivateHeaders/GDTReachability_Private.h'
    is located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/PrivateHeaders/GDTRegistrar_Private.h' is
    located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/PrivateHeaders/GDTStorage.h' is located
    outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/PrivateHeaders/GDTStorage_Private.h' is
    located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/PrivateHeaders/GDTTransformer.h' is
    located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/PrivateHeaders/GDTTransformer_Private.h'
    is located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/PrivateHeaders/GDTTransport_Private.h' is
    located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/PrivateHeaders/GDTUploadCoordinator.h' is
    located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/PrivateHeaders/GDTUploadPackage_Private.h'
    is located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/FBSDKCoreKit/FBSDKCoreKit.framework/Headers/FBSDKMacros.h' is located outside of the allowed
    root paths.
    warning: Stale file '/build/ios/Release-iphoneos/BSImageView/BSImageView.framework/Modules/BSImageView.swiftmodule/arm.swiftdoc' is located
    outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/BSImageView/BSImageView.framework/Modules/BSImageView.swiftmodule/arm.swiftmodule' is
    located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/BSImageView/BSImageView.framework/Modules/BSImageView.swiftmodule/armv7.swiftdoc' is located
    outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/BSImageView/BSImageView.framework/Modules/BSImageView.swiftmodule/armv7.swiftmodule' is
    located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/BSImagePicker/BSImagePicker.framework/Modules/BSImagePicker.swiftmodule/arm.swiftdoc' is
    located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/BSImagePicker/BSImagePicker.framework/Modules/BSImagePicker.swiftmodule/arm.swiftmodule' is
    located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/BSImagePicker/BSImagePicker.framework/Modules/BSImagePicker.swiftmodule/armv7.swiftdoc' is
    located outside of the allowed root paths.
    warning: Stale file '/build/ios/Release-iphoneos/BSImagePicker/BSImagePicker.framework/Modules/BSImagePicker.swiftmodule/armv7.swiftmodule'
    is located outside of the allowed root paths.
    warning: Stale file
    '/build/ios/Release-iphoneos/BSGridCollectionViewLayout/BSGridCollectionViewLayout.framework/Modules/BSGridCollectionViewLayout.swiftmodule/a
    rm.swiftdoc' is located outside of the allowed root paths.
    warning: Stale file
    '/build/ios/Release-iphoneos/BSGridCollectionViewLayout/BSGridCollectionViewLayout.framework/Modules/BSGridCollectionViewLayout.swiftmodule/a
    rm.swiftmodule' is located outside of the allowed root paths.
    warning: Stale file
    '/build/ios/Release-iphoneos/BSGridCollectionViewLayout/BSGridCollectionViewLayout.framework/Modules/BSGridCollectionViewLayout.swiftmodule/a
    rmv7.swiftdoc' is located outside of the allowed root paths.
    warning: Stale file
    '/build/ios/Release-iphoneos/BSGridCollectionViewLayout/BSGridCollectionViewLayout.framework/Modules/BSGridCollectionViewLayout.swiftmodule/a
    rmv7.swiftmodule' is located outside of the allowed root paths.
    In file included from /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapsPlugin.m:5:
    In file included from /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapsPlugin.h:8:
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:14:52: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (void)setCameraTargetBounds:(GMSCoordinateBounds *)bounds;
                                                       ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:14:52: note: insert '_Nullable' if the
    pointer may be null
    - (void)setCameraTargetBounds:(GMSCoordinateBounds *)bounds;
                                                       ^
                                                        _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:14:52: note: insert '_Nonnull' if the
    pointer should never be null
    - (void)setCameraTargetBounds:(GMSCoordinateBounds *)bounds;
                                                       ^
                                                        _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:37:65: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
                        registrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                    ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:37:65: note: insert '_Nullable' if the
    pointer may be null
                        registrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                    ^
                                                                     _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:37:65: note: insert '_Nonnull' if the
    pointer should never be null
                        registrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                    ^
                                                                     _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:40:50: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (void)animateWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                     ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:40:50: note: insert '_Nullable' if the
    pointer may be null
    - (void)animateWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                     ^
                                                      _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:40:50: note: insert '_Nonnull' if the
    pointer should never be null
    - (void)animateWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                     ^
                                                      _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:41:47: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (void)moveWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                  ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:41:47: note: insert '_Nullable' if the
    pointer may be null
    - (void)moveWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                  ^
                                                   _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:41:47: note: insert '_Nonnull' if the
    pointer should never be null
    - (void)moveWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                  ^
                                                   _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:42:22: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (GMSCameraPosition *)cameraPosition;
                         ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:42:22: note: insert '_Nullable' if the
    pointer may be null
    - (GMSCameraPosition *)cameraPosition;
                         ^
                          _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:42:22: note: insert '_Nonnull' if the
    pointer should never be null
    - (GMSCameraPosition *)cameraPosition;
                         ^
                          _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:4: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
       ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:4: note: insert '_Nullable' if the
    pointer may be null
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
       ^
                    _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:4: note: insert '_Nonnull' if the
    pointer should never be null
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
       ^
                    _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:69: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                        ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:69: note: insert '_Nullable' if the
    pointer may be null
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                        ^
                                                                         _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:69: note: insert '_Nonnull' if the
    pointer should never be null
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                        ^
                                                                         _Nonnull
    7 warnings generated.
    In file included from /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapMarkerController.m:5:
    In file included from /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapMarkerController.h:7:
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:14:52: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (void)setCameraTargetBounds:(GMSCoordinateBounds *)bounds;
                                                       ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:14:52: note: insert '_Nullable' if the
    pointer may be null
    - (void)setCameraTargetBounds:(GMSCoordinateBounds *)bounds;
                                                       ^
                                                        _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:14:52: note: insert '_Nonnull' if the
    pointer should never be null
    - (void)setCameraTargetBounds:(GMSCoordinateBounds *)bounds;
                                                       ^
                                                        _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:37:65: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
                        registrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                    ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:37:65: note: insert '_Nullable' if the
    pointer may be null
                        registrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                    ^
                                                                     _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:37:65: note: insert '_Nonnull' if the
    pointer should never be null
                        registrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                    ^
                                                                     _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:40:50: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (void)animateWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                     ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:40:50: note: insert '_Nullable' if the
    pointer may be null
    - (void)animateWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                     ^
                                                      _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:40:50: note: insert '_Nonnull' if the
    pointer should never be null
    - (void)animateWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                     ^
                                                      _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:41:47: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (void)moveWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                  ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:41:47: note: insert '_Nullable' if the
    pointer may be null
    - (void)moveWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                  ^
                                                   _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:41:47: note: insert '_Nonnull' if the
    pointer should never be null
    - (void)moveWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                  ^
                                                   _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:42:22: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (GMSCameraPosition *)cameraPosition;
                         ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:42:22: note: insert '_Nullable' if the
    pointer may be null
    - (GMSCameraPosition *)cameraPosition;
                         ^
                          _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:42:22: note: insert '_Nonnull' if the
    pointer should never be null
    - (GMSCameraPosition *)cameraPosition;
                         ^
                          _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:4: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
       ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:4: note: insert '_Nullable' if the
    pointer may be null
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
       ^
                    _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:4: note: insert '_Nonnull' if the
    pointer should never be null
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
       ^
                    _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:69: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                        ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:69: note: insert '_Nullable' if the
    pointer may be null
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                        ^
                                                                         _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:69: note: insert '_Nonnull' if the
    pointer should never be null
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                        ^
                                                                         _Nonnull
    7 warnings generated.
    In file included from /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.m:5:
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:14:52: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (void)setCameraTargetBounds:(GMSCoordinateBounds *)bounds;
                                                       ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:14:52: note: insert '_Nullable' if the
    pointer may be null
    - (void)setCameraTargetBounds:(GMSCoordinateBounds *)bounds;
                                                       ^
                                                        _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:14:52: note: insert '_Nonnull' if the
    pointer should never be null
    - (void)setCameraTargetBounds:(GMSCoordinateBounds *)bounds;
                                                       ^
                                                        _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:37:65: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
                        registrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                    ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:37:65: note: insert '_Nullable' if the
    pointer may be null
                        registrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                    ^
                                                                     _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:37:65: note: insert '_Nonnull' if the
    pointer should never be null
                        registrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                    ^
                                                                     _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:40:50: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (void)animateWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                     ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:40:50: note: insert '_Nullable' if the
    pointer may be null
    - (void)animateWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                     ^
                                                      _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:40:50: note: insert '_Nonnull' if the
    pointer should never be null
    - (void)animateWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                     ^
                                                      _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:41:47: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (void)moveWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                  ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:41:47: note: insert '_Nullable' if the
    pointer may be null
    - (void)moveWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                  ^
                                                   _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:41:47: note: insert '_Nonnull' if the
    pointer should never be null
    - (void)moveWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
                                                  ^
                                                   _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:42:22: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (GMSCameraPosition *)cameraPosition;
                         ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:42:22: note: insert '_Nullable' if the
    pointer may be null
    - (GMSCameraPosition *)cameraPosition;
                         ^
                          _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:42:22: note: insert '_Nonnull' if the
    pointer should never be null
    - (GMSCameraPosition *)cameraPosition;
                         ^
                          _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:4: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
       ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:4: note: insert '_Nullable' if the
    pointer may be null
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
       ^
                    _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:4: note: insert '_Nonnull' if the
    pointer should never be null
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
       ^
                    _Nonnull
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:69: warning: pointer is missing a
    nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                        ^
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:69: note: insert '_Nullable' if the
    pointer may be null
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                        ^
                                                                         _Nullable
    /flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+4/ios/Classes/GoogleMapController.h:47:69: note: insert '_Nonnull' if the
    pointer should never be null
    - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
                                                                        ^
                                                                         _Nonnull
    7 warnings generated.
    /ios/Pods/Protobuf/objectivec/google/protobuf/Wrappers.pbobjc.m:17:10: warning: non-portable path to file '<protobuf/Wrappers.pbobjc.h>';
    specified path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/Wrappers.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/Wrappers.pbobjc.h>
    1 warning generated.
    /ios/Pods/Protobuf/objectivec/google/protobuf/Type.pbobjc.m:19:10: warning: non-portable path to file '<protobuf/Type.pbobjc.h>'; specified
    path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/Type.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/Type.pbobjc.h>
    /ios/Pods/Protobuf/objectivec/google/protobuf/Type.pbobjc.m:20:10: warning: non-portable path to file '<protobuf/Any.pbobjc.h>'; specified
    path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/Any.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/Any.pbobjc.h>
    /ios/Pods/Protobuf/objectivec/google/protobuf/Type.pbobjc.m:21:10: warning: non-portable path to file '<protobuf/SourceContext.pbobjc.h>';
    specified path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/SourceContext.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/SourceContext.pbobjc.h>
    3 warnings generated.
    /ios/Pods/Protobuf/objectivec/google/protobuf/Timestamp.pbobjc.m:17:10: warning: non-portable path to file '<protobuf/Timestamp.pbobjc.h>';
    specified path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/Timestamp.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/Timestamp.pbobjc.h>
    1 warning generated.
    /ios/Pods/Protobuf/objectivec/google/protobuf/Struct.pbobjc.m:19:10: warning: non-portable path to file '<protobuf/Struct.pbobjc.h>';
    specified path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/Struct.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/Struct.pbobjc.h>
    1 warning generated.
    /ios/Pods/Protobuf/objectivec/google/protobuf/SourceContext.pbobjc.m:17:10: warning: non-portable path to file
    '<protobuf/SourceContext.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/SourceContext.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/SourceContext.pbobjc.h>
    1 warning generated.
    In file included from /ios/Pods/Protobuf/objectivec/GPBWellKnownTypes.m:35:
    /ios/Pods/Protobuf/objectivec/GPBWellKnownTypes.h:40:10: warning: non-portable path to file '<protobuf/Any.pbobjc.h>'; specified path differs
    in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/Any.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/Any.pbobjc.h>
    /ios/Pods/Protobuf/objectivec/GPBWellKnownTypes.h:41:10: warning: non-portable path to file '<protobuf/Duration.pbobjc.h>'; specified path
    differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/Duration.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/Duration.pbobjc.h>
    /ios/Pods/Protobuf/objectivec/GPBWellKnownTypes.h:42:10: warning: non-portable path to file '<protobuf/Timestamp.pbobjc.h>'; specified path
    differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/Timestamp.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/Timestamp.pbobjc.h>
    3 warnings generated.
    /ios/Pods/Protobuf/objectivec/google/protobuf/FieldMask.pbobjc.m:17:10: warning: non-portable path to file '<protobuf/FieldMask.pbobjc.h>';
    specified path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/FieldMask.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/FieldMask.pbobjc.h>
    1 warning generated.
    /ios/Pods/Protobuf/objectivec/google/protobuf/Empty.pbobjc.m:17:10: warning: non-portable path to file '<protobuf/Empty.pbobjc.h>'; specified
    path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/Empty.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/Empty.pbobjc.h>
    1 warning generated.
    /ios/Pods/Protobuf/objectivec/google/protobuf/Duration.pbobjc.m:17:10: warning: non-portable path to file '<protobuf/Duration.pbobjc.h>';
    specified path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/Duration.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/Duration.pbobjc.h>
    1 warning generated.
    /ios/Pods/Protobuf/objectivec/google/protobuf/Api.pbobjc.m:17:10: warning: non-portable path to file '<protobuf/Api.pbobjc.h>'; specified
    path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/Api.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/Api.pbobjc.h>
    /ios/Pods/Protobuf/objectivec/google/protobuf/Api.pbobjc.m:18:10: warning: non-portable path to file '<protobuf/SourceContext.pbobjc.h>';
    specified path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/SourceContext.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/SourceContext.pbobjc.h>
    /ios/Pods/Protobuf/objectivec/google/protobuf/Api.pbobjc.m:19:10: warning: non-portable path to file '<protobuf/Type.pbobjc.h>'; specified
    path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/Type.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/Type.pbobjc.h>
    3 warnings generated.
    /ios/Pods/Protobuf/objectivec/google/protobuf/Any.pbobjc.m:17:10: warning: non-portable path to file '<protobuf/Any.pbobjc.h>'; specified
    path differs in case from file name on disk [-Wnonportable-include-path]
     #import <Protobuf/Any.pbobjc.h>
             ^~~~~~~~~~~~~~~~~~~~~~~
             <protobuf/Any.pbobjc.h>
    1 warning generated.
    Command CompileSwift failed with a nonzero exit code
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTEventDataObject.h' [-Werror,-Wincomplete-umbrella]
    #import "Headers/GoogleDataTransport-umbrella.h"
    ^
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTClock.h' [-Werror,-Wincomplete-umbrella]
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTConsoleLogger.h' [-Werror,-Wincomplete-umbrella]
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTDataFuture.h' [-Werror,-Wincomplete-umbrella]
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTPlatform.h' [-Werror,-Wincomplete-umbrella]
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTEventTransformer.h' [-Werror,-Wincomplete-umbrella]
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTLifecycle.h' [-Werror,-Wincomplete-umbrella]
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTAssert.h' [-Werror,-Wincomplete-umbrella]
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTEvent.h' [-Werror,-Wincomplete-umbrella]
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTPrioritizer.h' [-Werror,-Wincomplete-umbrella]
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTUploader.h' [-Werror,-Wincomplete-umbrella]
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTTransport.h' [-Werror,-Wincomplete-umbrella]
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTRegistrar.h' [-Werror,-Wincomplete-umbrella]
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTStoredEvent.h' [-Werror,-Wincomplete-umbrella]
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTUploadPackage.h' [-Werror,-Wincomplete-umbrella]
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTTargets.h' [-Werror,-Wincomplete-umbrella]
    16 errors generated.
    In file included from /ios/Pods/GoogleDataTransportCCTSupport/GoogleDataTransportCCTSupport/GDTCCTLibrary/GDTCCTPrioritizer.m:17:
    /ios/Pods/GoogleDataTransportCCTSupport/GoogleDataTransportCCTSupport/GDTCCTLibrary/Private/GDTCCTPrioritizer.h:19:9: fatal error: could not
    build module 'GoogleDataTransport'
    #import <GoogleDataTransport/GDTCORClock.h>
     ~~~~~~~^
    17 errors generated.
    note: Using new build systemnote: Planning buildnote: Constructing build description

Encountered error while building for device.

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G95, locale fr-FR)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.38.1)
[✓] Connected device (1 available)

• No issues found!
pro100svitlo commented 5 years ago

why this one closed? was it solved? I still got this error

kroikie commented 5 years ago

@pro100svitlo From the discussion in the original issue it seems to have been resolved.

jaysephjw commented 4 years ago

@kroikie I'm still seeing this issue. I followed cleaning steps suggested at the other thread (https://github.com/FirebaseExtended/flutterfire/issues/326) without luck.

Any thoughts on other things to check / specific firebase dependency versions that could be causing?

my env:

pubspec.yaml
 `firebase_crashlytics: any`
pubspec.lock

firebase_crashlytics: dependency: "direct main" description: name: firebase_crashlytics url: "https://pub.dartlang.org" source: hosted version: "0.1.2+2"

.ios/Podfile.lock
jaysephjw commented 4 years ago

I'm using the same flutter module in an AddToApp configuration, and interestingly don't see it when building from there. The Podfile.locks match totally with all the Firebase stuff.

Perhaps its an issue with the target iOS version in the Podfile? these differ 8 (generated runner project) vs 10 (addToApp project). Potential related comment: https://github.com/firebase/firebase-ios-sdk/issues/3904#issuecomment-534312155

ArtfulDodgerB92 commented 4 years ago

Can you guys stop releasing new "features" which are really just more and more bugs and critical instability issues? Please? If you are going to do any work on this platform at all, devs, just focus on fixing the vast plethora of issues and getting close to something resembling a stable platform from which to build on. It seems you are blindly surging ahead with new developments, built on top of a turd, that will just inevitably continue to cause issues until the base platform is at least stable.

That's all we ask. Please. Thank you.

rcproctor commented 4 years ago

Looks like an exact duplicate of issue #222 and related to #41383

Resolution: (https://github.com/FirebaseExtended/flutterfire/issues/222#issuecomment-535690002)