googlemaps / flutter-navigation-sdk

Google Navigation for Flutter plugin (Beta)
https://pub.dev/packages/google_navigation_flutter
Apache License 2.0
27 stars 11 forks source link

Unable to build google_navigation_flutter on iOS #189

Open yoshiya12x opened 1 month ago

yoshiya12x commented 1 month ago

The error occurs during installation when building the iOS of a new Flutter project. It seems to be an error related to Google Maps, so I defined only google_maps_flutter in pubspec.yaml and tried building on iOS. The error did not occur, and the installation was successful.

Environment details

Steps to reproduce

  1. Create new Flutter project
  2. Define google_navigation_flutter in pubspec.yaml
  3. Build on iOS
  4. The build succeeds, but the following error occurs when installing on the simulator or actual device
Running pod install...
Running Xcode build...
Xcode build done.                                           12.8s
Failed to build iOS app
Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSCameraPosition

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSCameraUpdate

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSCircle

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSCoordinateBounds

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSMapStyle

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSMapView

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSMapViewOptions

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSMarker

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSMutablePath

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSNavigationMutableRoutingOptions

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSNavigationMutableSpeedAlertOptions

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSNavigationServices

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSNavigationStepInfo

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSNavigationWaypoint

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSPath

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSPolygon

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSPolyline

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSRouteLeg

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSServices

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSStrokeStyle

Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSStyleSpan

Error (Xcode): Undefined symbol: OBJC_METACLASS$_GMSMapView

Error (Xcode): Undefined symbol: _kGMSMaxZoomLevel

Error (Xcode): Undefined symbol: _kGMSMinZoomLevel

Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
illuminati1911 commented 1 month ago

Thanks for reporting this! We'll take a look.