question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

9.10.0 Compile Error

See original GitHub issue

Bug

In xcode, building a debug release for the simulator with react-native-svg 9.10.0 I am getting the following error:

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_RNSVGMarkerPosition", referenced from:
      objc-class-ref in libRNSVG.a(RNSVGRenderable.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I believe this to be new with 9.10.0 as this is where RNSVGMarkerPosition was added.

Environment info

React native info output:

info 
  React Native Environment Info:
    System:
      OS: macOS 10.14.5
      CPU: (4) x64 Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz
      Memory: 535.57 MB / 16.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 12.6.0 - /usr/local/bin/node
      Yarn: 1.17.3 - /usr/local/bin/yarn
      npm: 6.11.3 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
    IDEs:
      Xcode: 11.0/11A420a - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3 
      react-native: 0.59.3 => 0.59.3 
    npmGlobalPackages:
      react-native-git-upgrade: 0.2.7

Library version: 9.10.0

Steps To Reproduce

  1. Install react-native-svg 9.10.0
  2. Clean
  3. Build (debug) …

Describe what you expected to happen:

  1. Build successfully

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6

github_iconTop GitHub Comments

2reactions
mjm918commented, Apr 20, 2021

I guess this issue is back in v12.1.0

I tried to unlink and link again. but no luck for me.

BTW the Header Search Path should be recursive or non-recursive?

1reaction
msandcommented, Oct 1, 2019

🎉 This issue has been resolved in version 9.10.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

9.10.0 Compile Error · Issue #1130 · software-mansion/react ...
Bug In xcode, building a debug release for the simulator with react-native-svg 9.10.0 I am getting the following error: Undefined symbols ...
Read more >
Upgrade error 9.10.0 to 9.10.2 - DNN Community
I am trying to upgrade from 9.10.0 to 9.10.2 but upon unzipping the package I get this error: Could not load file or...
Read more >
9.10 | Mendix Documentation
We fixed an issue where Studio Pro became unresponsive if compiling the app's theme never finished. We fixed a small visual issue that...
Read more >
A strange compile error with Maven2 - CodeRanch
When trying to "clean install" with maven2 I receive an error like this. RoutingDataSource is not abstract and does not override method ......
Read more >
OpenFOAM compile error - Forums - CFD Online
I am installing OpenFOAM on a cluster. The location of the source is in my home folder. On running ./Allwmake this is the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found