Code Monkey home page Code Monkey logo

Comments (6)

bsudekum avatar bsudekum commented on June 7, 2024

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.

mtimofiiv avatar mtimofiiv commented on June 7, 2024

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:

screen shot 2015-09-04 at 1 28 53 pm

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.

bsudekum avatar bsudekum commented on June 7, 2024

@1ec5 have you seen this issue before?

from react-native-mapbox-gl.

1ec5 avatar 1ec5 commented on June 7, 2024

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.

bsudekum avatar bsudekum commented on June 7, 2024

Can you upgrade to 0.4.2 and see if the error still persists?

from react-native-mapbox-gl.

sslash avatar sslash commented on June 7, 2024

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:

skjermbilde 2015-10-31 kl 13 20 35

it worked

from react-native-mapbox-gl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.