react-native-documents / document-picker

Document Picker for React Native
https://react-native-documents.github.io/
MIT License
1.35k stars 440 forks source link

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

Closed luutruong closed 3 years ago

luutruong commented 3 years ago

Bug report

Summary

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

pentolbakso commented 3 years ago

@luutruong what is your solution for the issue? Also happened to me when trying to build. Debug is fine

pentolbakso commented 3 years ago

solved by updating xcode deployment target to 11

gustavohcastro commented 3 years ago

solved by updating xcode deployment target to 11

this works for me, thanks

nickjordanovski commented 2 years ago

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

Using M1 Pro

Atikur-Rahman-Sabuj commented 2 years ago

Still happening for me on M1 Air

luutruong commented 2 years ago

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

Using M1 Pro

Still happening for me on M1 Air

Make sure your ios target is matched between Podfile and XCode.