-
-
Notifications
You must be signed in to change notification settings - Fork 39
Is react-native-maps worked with ARCore/Geospatial (iOS) #355
Description
There is some issue coming from reactVision and react-native-maps,
As the Geospatial need to add below code to Podfile,
use_frameworks! :linkage => :dynamic
pod 'ARCore/Geospatial', '~> 1.51.0'
and this will show the error as below
[!] The 'Pods-XXX' target has transitive dependencies that include statically linked binaries: (/Users/XXX/XXX/ios/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.xcframework)
therefore, I have added below code to ignore verifying static or not (react-native-maps/react-native-maps#1923)
pre_install do |installer|
Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
end
however, the error message is shown below in build phase, how can I solve the undefined symbols raised?
ld: warning: Could not find or use auto-linked framework 'UIUtilities': framework 'UIUtilities' not found
Undefined symbols for architecture arm64:
"_GMSProject", referenced from:
-[GMUWeightedLatLng initWithCoordinate:intensity:] in GoogleMapsUtils26
"_GMSStyleSpans", referenced from:
-[AIRGoogleMapPolyline configureStyleSpansIfNeeded] in AIRGoogleMapPolyline.o
"OBJC_CLASS$_GMSCameraPosition", referenced from:
in RCTConvert+GMSMapViewType.o
"OBJC_CLASS$_GMSCameraUpdate", referenced from:
in AIRGoogleMap.o
"OBJC_CLASS$_GMSCircle", referenced from:
in AIRGoogleMapCircle.o
"OBJC_CLASS$_GMSCoordinateBounds", referenced from:
in AIRGoogleMap.o
"OBJC_CLASS$_GMSGroundOverlay", referenced from:
in AIRGoogleMapOverlay.o
"OBJC_CLASS$_GMSMapID", referenced from:
in AIRGoogleMap.o
"OBJC_CLASS$_GMSMapStyle", referenced from:
in AIRGoogleMap.o
"OBJC_CLASS$_GMSMapView", referenced from:
OBJC_CLASS$_AIRGoogleMap in AIRGoogleMap.o
"OBJC_CLASS$_GMSMapViewOptions", referenced from:
in AIRGoogleMap.o
"OBJC_CLASS$_GMSMarker", referenced from:
OBJC_CLASS$_AIRGMSMarker in AIRGMSMarker.o
in AIRGoogleMapMarker.o
"OBJC_CLASS$_GMSMutablePath", referenced from:
in AIRGoogleMapPolygon.o
"OBJC_CLASS$_GMSPolygon", referenced from:
OBJC_CLASS$_AIRGMSPolygon in AIRGMSPolygon.o
"OBJC_CLASS$_GMSPolyline", referenced from:
OBJC_CLASS$_AIRGMSPolyline in AIRGMSPolyline.o
"OBJC_CLASS$_GMSServices", referenced from:
in AIRGoogleMapManager.o
"OBJC_CLASS$_GMSStrokeStyle", referenced from:
in AIRGoogleMapPolyline.o
"OBJC_CLASS$_GMSStyleSpan", referenced from:
in AIRGoogleMapPolyline.o
"OBJC_CLASS$_GMSSyncTileLayer", referenced from:
OBJC_CLASS$_WMSTileOverlay in AIRGoogleMapWMSTile.o
OBJC_CLASS$_GMUHeatmapTileLayer in GoogleMapsUtils14
"OBJC_CLASS$_GMSURLTileLayer", referenced from:
in AIRGoogleMapUrlTile.o
"OBJC_METACLASS$_GMSMapView", referenced from:
OBJC_METACLASS$_AIRGoogleMap in AIRGoogleMap.o
"OBJC_METACLASS$_GMSMarker", referenced from:
OBJC_METACLASS$_AIRGMSMarker in AIRGMSMarker.o
"OBJC_METACLASS$_GMSPolygon", referenced from:
OBJC_METACLASS$_AIRGMSPolygon in AIRGMSPolygon.o
"OBJC_METACLASS$_GMSPolyline", referenced from:
OBJC_METACLASS$_AIRGMSPolyline in AIRGMSPolyline.o
"OBJC_METACLASS$_GMSSyncTileLayer", referenced from:
OBJC_METACLASS$_WMSTileOverlay in AIRGoogleMapWMSTile.o
OBJC_METACLASS$_GMUHeatmapTileLayer in GoogleMapsUtils14
"_kGMSTileLayerNoTile", referenced from:
-[GMUHeatmapTileLayer tileForX:y:zoom:] in GoogleMapsUtils14
ld: symbol(s) not found for architecture arm64