NativeScript / NativeScript/ios

Is react-native-maps worked with ARCore/Geospatial (iOS)

Aperta
#355 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
JavaScript
Stelle
150
Fork
43
Merge medio
3g 10h
PR unite (30g)
22

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia dalla configurazione di Podfile mostrata nel report, includendo use_frameworks! e l’hook pre_install, e confrontala con react-native-maps issue 1923. Riproduci la build iOS con ARCore/Geospatial e la dipendenza GoogleMaps.xcframework; il lavoro è completato quando la build arm64 viene collegata senza i simboli Google Maps non definiti segnalati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
ios, javascript, react-native
Ambito
build-system, mobile
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.