NativeScript / NativeScript/ios
Is react-native-maps worked with ARCore/Geospatial (iOS)
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- JavaScript
- Estrellas
- 150
- Forks
- 43
- Merge medio
- 3 d 10 h
- PR fusionados (30 d)
- 22
Descripción
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 (https://github.com/react-native-maps/react-native-maps/issues/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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con la configuración de Podfile mostrada en el informe, incluidos use_frameworks! y el hook pre_install, y compárala con react-native-maps issue 1923. Reproduce la compilación de iOS con ARCore/Geospatial y la dependencia GoogleMaps.xcframework; se considera hecho cuando la compilación arm64 se enlaza sin los símbolos de Google Maps no definidos indicados.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- ios, javascript, react-native
- Área
- build-system, mobile
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Tranquilo
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100