Comments (6)
Interesting. Ususally this happens if you don't follow the install steps properly. Can you take a screenshot of your table of contents and your build phase? IE:
Also, what version of react-native/react-native-mapbox-gl are you using?
from react-native-mapbox-gl.
I am using the latest version of this module, 0.4.1
, node version iojs-2.0.0
and react-native version 0.10.0
.
I have retraced my steps and re-added all the components as was shown in the documentation. Here's the build phase:
However, now my build is failing and spits out the following errors:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_MGLAccountManager", referenced from:
objc-class-ref in libRCTMapboxGL.a(RCTMapboxGL.o)
"_OBJC_CLASS_$_MGLAnnotationImage", referenced from:
objc-class-ref in libRCTMapboxGL.a(RCTMapboxGL.o)
"_OBJC_CLASS_$_MGLMapView", referenced from:
objc-class-ref in libRCTMapboxGL.a(RCTMapboxGL.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
from react-native-mapbox-gl.
@1ec5 have you seen this issue before?
from react-native-mapbox-gl.
After step 1, I wound up with a node_modules/react-native-mapbox-gl/ directory that contains not only RCTMapboxGL/ but also RCTMapbox/. Both folders are a mixture of Mapbox GL for iOS 0.5.1 and Mapbox iOS SDK 2.0.0 (see #87). How did this happen?
from react-native-mapbox-gl.
Can you upgrade to 0.4.2 and see if the error still persists?
from react-native-mapbox-gl.
not sure if this is related, but installation failed for me too (ios, and node 2.1.0). However if I changed the last step in the installation process (header_search_path) to:
it worked
from react-native-mapbox-gl.
Related Issues (20)
- Execution failed for task ':react-native-mapbox-gl_maps:compileDebugJavaWithJavac'
- I can not play video in callout or popup in react-native-mapbox-gl
- RN Mapbox doesn't work with android version 30 // GETDATANETWORKTYPEFORSUBSCRIBER HOT 1
- Prevent map view from "sleeping"
- Is it possible offline navigation if you download Mapbox offline
- Popup class needs classList in addition to className
- How can I make my style compatible with the Mapbox Countries v1 vector
- MapboxGL.VectorSource gradient fill [Feature Request] HOT 1
- x
- every first time when mapbox map initialise, camera moving on unknown location
- Could onRegionDidChange event result bring the screenPointX, screenPointY just like in onPress?
- Can I render non-geographical map tiles served by my own backend ?
- How to add more border width to the selected shape with MapboxGL.FillLayer component
- markers are shaking from their position when moving the map
- Force resetting the navigation cache for offline usage HOT 1
- Execution failed for task ':react-native-mapbox-gl_maps:lintDebug'.
- message=Failed to load tile: Chain validation failed
- `ShapeSource -> OnPress()` not working as expected HOT 1
- Offline map
- [Android] ShapeSource onPress handler not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-mapbox-gl.