Repository navigation
iOS compilation error: firebase_*/ios/Classes/UserAgent.h: No such file or directory #1858
Copy link
Copy link
Closed
Labels
impact: crowdAffects many people, though not necessarily a specific customer with an assigned label. (P2)Affects many people, though not necessarily a specific customer with an assigned label. (P2)platform: iosIssues / PRs which are specifically for iOS.Issues / PRs which are specifically for iOS.type: bugSomething isn't workingSomething isn't working
Description
@momoDragon commented on Oct 10, 2019, 1:55 AM UTC:
Version:
google_maps_flutter 0.5.21+7
Steps tried:
pod install
pod update
flutter pub cache repair
Error given:
** BUILD FAILED **
Xcode's output:
↳
In file included from /Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapsPlugin.m:5:
In file included from /Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapsPlugin.h:8:
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:14:52: note: insert '_Nullable' if the pointer may be null
- (void)setCameraTargetBounds:(GMSCoordinateBounds *)bounds;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:14:52: note: insert '_Nonnull' if the pointer should never be null
- (void)setCameraTargetBounds:(GMSCoordinateBounds *)bounds;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:37:65: note: insert '_Nullable' if the pointer may be null
registrar:(NSObject<FlutterPluginRegistrar> *)registrar;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:37:65: note: insert '_Nonnull' if the pointer should never be null
registrar:(NSObject<FlutterPluginRegistrar> *)registrar;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:40:50: note: insert '_Nullable' if the pointer may be null
- (void)animateWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:40:50: note: insert '_Nonnull' if the pointer should never be null
- (void)animateWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:41:47: note: insert '_Nullable' if the pointer may be null
- (void)moveWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:41:47: note: insert '_Nonnull' if the pointer should never be null
- (void)moveWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:42:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (GMSCameraPosition *)cameraPosition;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:42:22: note: insert '_Nullable' if the pointer may be null
- (GMSCameraPosition *)cameraPosition;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:42:22: note: insert '_Nonnull' if the pointer should never be null
- (GMSCameraPosition *)cameraPosition;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:47:4: note: insert '_Nullable' if the pointer may be null
- (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:47:4: note: insert '_Nonnull' if the pointer should never be null
- (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:47:69: note: insert '_Nullable' if the pointer may be null
- (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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 /Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapMarkerController.m:5:
In file included from /Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapMarkerController.h:7:
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:14:52: note: insert '_Nullable' if the pointer may be null
- (void)setCameraTargetBounds:(GMSCoordinateBounds *)bounds;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:14:52: note: insert '_Nonnull' if the pointer should never be null
- (void)setCameraTargetBounds:(GMSCoordinateBounds *)bounds;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:37:65: note: insert '_Nullable' if the pointer may be null
registrar:(NSObject<FlutterPluginRegistrar> *)registrar;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:37:65: note: insert '_Nonnull' if the pointer should never be null
registrar:(NSObject<FlutterPluginRegistrar> *)registrar;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:40:50: note: insert '_Nullable' if the pointer may be null
- (void)animateWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:40:50: note: insert '_Nonnull' if the pointer should never be null
- (void)animateWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:41:47: note: insert '_Nullable' if the pointer may be null
- (void)moveWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:41:47: note: insert '_Nonnull' if the pointer should never be null
- (void)moveWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:42:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (GMSCameraPosition *)cameraPosition;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:42:22: note: insert '_Nullable' if the pointer may be null
- (GMSCameraPosition *)cameraPosition;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:42:22: note: insert '_Nonnull' if the pointer should never be null
- (GMSCameraPosition *)cameraPosition;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:47:4: note: insert '_Nullable' if the pointer may be null
- (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:47:4: note: insert '_Nonnull' if the pointer should never be null
- (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:47:69: note: insert '_Nullable' if the pointer may be null
- (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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 /Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.m:5:
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:14:52: note: insert '_Nullable' if the pointer may be null
- (void)setCameraTargetBounds:(GMSCoordinateBounds *)bounds;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:14:52: note: insert '_Nonnull' if the pointer should never be null
- (void)setCameraTargetBounds:(GMSCoordinateBounds *)bounds;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:37:65: note: insert '_Nullable' if the pointer may be null
registrar:(NSObject<FlutterPluginRegistrar> *)registrar;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:37:65: note: insert '_Nonnull' if the pointer should never be null
registrar:(NSObject<FlutterPluginRegistrar> *)registrar;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:40:50: note: insert '_Nullable' if the pointer may be null
- (void)animateWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:40:50: note: insert '_Nonnull' if the pointer should never be null
- (void)animateWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:41:47: note: insert '_Nullable' if the pointer may be null
- (void)moveWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:41:47: note: insert '_Nonnull' if the pointer should never be null
- (void)moveWithCameraUpdate:(GMSCameraUpdate *)cameraUpdate;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:42:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (GMSCameraPosition *)cameraPosition;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:42:22: note: insert '_Nullable' if the pointer may be null
- (GMSCameraPosition *)cameraPosition;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:42:22: note: insert '_Nonnull' if the pointer should never be null
- (GMSCameraPosition *)cameraPosition;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:47:4: note: insert '_Nullable' if the pointer may be null
- (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:47:4: note: insert '_Nonnull' if the pointer should never be null
- (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
^
_Nonnull
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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;
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/ios/Classes/GoogleMapController.h:47:69: note: insert '_Nullable' if the pointer may be null
- (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar;
^
_Nullable
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.21+7/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.
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-4.0.7/ios/Classes/GoogleSignInPlugin.m:137:41: warning: 'UIApplicationOpenURLOptionsSourceApplicationKey' is only available on iOS 9.0 or newer [-Wunguarded-availability]
NSString *sourceApplication = options[UIApplicationOpenURLOptionsSourceApplicationKey];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'UIKit' imported from /Users/mozesong/Documents/GitHub/Green-Hero-Apps-2.0/green_hero_vendor/ios/Pods/Target Support Files/google_sign_in/google_sign_in-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:538:51: note: 'UIApplicationOpenURLOptionsSourceApplicationKey' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
UIKIT_EXTERN UIApplicationOpenURLOptionsKey const UIApplicationOpenURLOptionsSourceApplicationKey NS_AVAILABLE_IOS(9_0); // value is an NSString containing the bundle ID of the originating application
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-4.0.7/ios/Classes/GoogleSignInPlugin.m:137:41: note: enclose 'UIApplicationOpenURLOptionsSourceApplicationKey' in an @available check to silence this warning
NSString *sourceApplication = options[UIApplicationOpenURLOptionsSourceApplicationKey];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-4.0.7/ios/Classes/GoogleSignInPlugin.m:138:27: warning: 'UIApplicationOpenURLOptionsAnnotationKey' is only available on iOS 9.0 or newer [-Wunguarded-availability]
id annotation = options[UIApplicationOpenURLOptionsAnnotationKey];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'UIKit' imported from /Users/mozesong/Documents/GitHub/Green-Hero-Apps-2.0/green_hero_vendor/ios/Pods/Target Support Files/google_sign_in/google_sign_in-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:539:51: note: 'UIApplicationOpenURLOptionsAnnotationKey' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
UIKIT_EXTERN UIApplicationOpenURLOptionsKey const UIApplicationOpenURLOptionsAnnotationKey NS_AVAILABLE_IOS(9_0); // value is a property-list typed object corresponding to what the originating application passed in UIDocumentInteractionController's annotation property
^
/Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-4.0.7/ios/Classes/GoogleSignInPlugin.m:138:27: note: enclose 'UIApplicationOpenURLOptionsAnnotationKey' in an @available check to silence this warning
id annotation = options[UIApplicationOpenURLOptionsAnnotationKey];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
error: /Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.14.0+5/ios/Classes/UserAgent.h: No such file or directory
error: /Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage-3.0.6/ios/Classes/UserAgent.h: No such file or directory
error: /Users/mozesong/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.0+9/ios/Classes/UserAgent.h: No such file or directory
Runner-hkczeqbdyzwqvrazjtxoyzhjoorv
note: Using new build systemnote: Planning buildnote: Constructing build description
Flutter doctor:
[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G103, locale en-MY)
[✓] 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.4)
[✓] Connected device (2 available)
• No issues found!
This issue was moved by jmagman from flutter/flutter#42382.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
impact: crowdAffects many people, though not necessarily a specific customer with an assigned label. (P2)Affects many people, though not necessarily a specific customer with an assigned label. (P2)platform: iosIssues / PRs which are specifically for iOS.Issues / PRs which are specifically for iOS.type: bugSomething isn't workingSomething isn't working
Activity
iapicca commentedon Jan 24, 2020
Hi @momoDragon
are you still experiencing the same issue
with the latest stable version of flutter
and the latest flutterfire plugin?
thank you
jmagman commentedon Jan 24, 2020
I just reproduced this.
jmagman commentedon Jan 28, 2020
You can use GCC_PREPROCESSOR_DEFINITIONS to define LIBRARY_VERSION and LIBRARY_NAME instead of generating a non-prefixed file.
IsaiahByDayah commentedon Feb 28, 2020
Just wanted to maybe note I’m seeing this issue as well with latest firebase_auth and google_sign_in
(I’m on mobile so hard to navigate github. Sorry if there’s a better issue to comment this in)
uhm0311 commentedon Feb 28, 2020
Since firebase_core 0.4.4+2 released,
fatal error: 'UserAgent.h' file not found erroris produced again. Plz use firebase_core 0.4.4 until this issue is fixed.2 remaining items
Overrides dependency of firebase_core
Overrides dependency of firebase_core
Overrides dependency of firebase_core
mono0926 commentedon Mar 2, 2020
@hterkelsen
Hi, I suspect that these issues are triggered by #2078, #2079, #2080, which you committed.
Could you fix it?
I've tried it but I couldn't.
jmagman commentedon Mar 13, 2020
Fixed by #2169.
jmagman commentedon Mar 20, 2020
Reopening to track UserAgent headers in firebase_remote_config, firebase_database, firebase_dynamic_links, firebase_messaging, firebase_ml_vision, firebase_analytics, firebase_storage, firebase_performance.
\cc @collinjackson
Salakar commentedon Aug 25, 2020
Closing this as I believe this is no longer an issue, all plugins now seem to be using
GCC_PREPROCESSOR_DEFINITIONSinstead.