Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
b-jan opened this issue Sep 26, 2019 · 3 comments
Labels
type: bug Something isn't working

Comments

@b-jan
Copy link

b-jan commented Sep 26, 2019

Steps to Reproduce

  1. Install some flutter firebase libraries
  cloud_firestore: ^0.12.9
  firebase_storage: ^3.0.6
  firebase_auth: ^0.14.0
  1. get flutter packages, or update them
  2. run pod install
  3. 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!
@b-jan b-jan added the type: bug Something isn't working label Sep 26, 2019
@b-jan
Copy link
Author

b-jan commented Sep 26, 2019

I found this issue: firebase/firebase-ios-sdk#3904

I also found that there was a new version of firebase sdk iOS: https://github.com/firebase/firebase-ios-sdk/releases

Any thought about this?

@b-jan
Copy link
Author

b-jan commented Sep 26, 2019

Screenshot of the pod update I suspect responsible for the error.

image

@b-jan
Copy link
Author

b-jan commented Sep 26, 2019

I cleaned everything I could:
Xcode (DerivedData)
Flutter (clean)
Pods (rm -rf)

And the error disappeared...

@b-jan b-jan closed this as completed Sep 26, 2019
@iapicca iapicca changed the title flutter build ios fatal error: could not build module 'GoogleDataTransport' [cloud_firestore] flutter build ios fatal error: could not build module 'GoogleDataTransport' Oct 23, 2019
@firebase firebase locked and limited conversation to collaborators Aug 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant