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.

Linking fails on react-native 0.49.3

See original GitHub issue

After installing and linking react-native-device-info I get the following error with an upgraded react-native

ld: library not found for -lRNDeviceInfo-tvOS
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I guess this is because of the automatic tvOS inclusion on rn. Any workarounds or ways to fix?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14

github_iconTop GitHub Comments

67reactions
cris-santoscommented, Oct 16, 2017
  • open xcode
  • project target
  • build phases
  • link binary with libraries
  • remove libRNDeviceInfo-tvOS.a

it worked for me 😃

1reaction
XeeshanAnsaricommented, Oct 27, 2017

remove libRNDeviceinfo-tvOS.a it also worked for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Linking fails on react-native 0.49.3 · Issue #251 - GitHub
After installing and linking react-native-device-info I get the following error with an upgraded react-native ld: library not found for ...
Read more >
Upgrading to new versions - React Native
Upgrading to new versions of React Native will give you access to more APIs, views, developer tools and other goodies.
Read more >
React Native version mismatch. JS V: 0.49.3 RN V: 0.59.9
Since I updated React Native version I'm facing with this issue. ... All I find about this error make reference to having more...
Read more >
react-native-sound/Help - Gitter
I npm installed the package and linked the library. ... In the debugger I see it says playback failed due to audio decoding...
Read more >
Android studio build failed debug/out error-React Native
[Solved]-Android studio build failed debug/out error-React Native. Search. score:1. Accepted answer. cd android && gradlew clean && cd .. && react-native ...
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