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.

library not found for -lreact-native-document-picker

See original GitHub issue

Bug report

Summary

  • Debug build: OK
  • Release build: Got above error.

Reproducible sample code

There are no complex usage with this lib just try with example in README.

Environment info

npx react-native info output:


System:
    OS: macOS 11.4
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
    Memory: 597.43 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 15.12.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.6.3 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.2 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK:
      API Levels: 23, 25, 26, 27, 28, 29
      Build Tools: 27.0.3, 28.0.3, 29.0.2
      System Images: android-28 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom, android-30 | Google Play Intel x86 Atom_64
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.1 AI-201.8743.12.41.7199119
    Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_191 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1
    react-native: 0.64.2 => 0.64.2
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

library version: 6.0.2

iOS / Android version: x.x

Issue Analytics

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

github_iconTop GitHub Comments

12reactions
pentolbaksocommented, Aug 16, 2021

solved by updating xcode deployment target to 11

1reaction
nickjordanovskicommented, Jun 29, 2022

Still happens for me - even tho I tried it all.

Using M1 Pro

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native-document-picker not returning anything
Solved. Turns out I forgot to add the function for onActivityResult. This is the code that I used.
Read more >
react-native-document-picker - npm
A react native interface to access documents from dropbox, google drive, iCloud.... Latest version: 8.1.3, last published: 18 days ago.
Read more >
react-native-document-picker/README.md - UNPKG
1. Run `npm install react-native-document-picker --save` · 2. Open your project in XCode, right click on `Libraries` and click `Add Files to "Your...
Read more >
React Native ios build error 'React/RCTBridgeModule.h' file ...
Coding example for the question React Native ios build error 'React/RCTBridgeModule.h' file not found with react-native-document-picker.
Read more >
Picking files in React Native apps using ... - LogRocket Blog
Because React Native does not provide any such feature out of the box, we will use third-party library react-native-document-picker to ...
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