react-native-documents / document-picker

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

Fastlane fails due to ld: library not found for -lreact-native-document-picker #470

Closed ahaverty closed 3 years ago

ahaverty commented 3 years ago

Bug report

Summary

fastlane build_app is failing on this library with the following error:

❌  ld: library not found for -lreact-native-document-picker
❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)

Reproducible sample code

Steps to reproduce

  1. Setup a react native project with the latest RN and react-native-document-picker library
  2. Attempt to build the project via fastlane
  3. Notice that fastlane produces the above error during the build_app step

Describe what you expected to happen:

  1. Xcode builds/runs are not having issues
  2. Expect fastlane to not have an issue with this library

Environment info

npx react-native info output:

System:
    OS: macOS 11.5.2
    CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
    Memory: 1.68 GB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 15.8.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.19.0 - /usr/local/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.11.0 - /Users/alan/.rbenv/shims/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK: Not Found
  IDEs:
    Android Studio: 2020.3 AI-203.7717.56.2031.7583922
    Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
  Languages:
    Java: 15.0.1 - /usr/local/opt/openjdk/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1 
    react-native: 0.64.1 => 0.64.1 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

library version: 6.0.4

label-actions[bot] commented 3 years ago

:wave: @ahaverty, sorry you're having an issue. This issue is being closed because it does not provide all information required by the issue template. As the issue template explains, we require that you provide a runnable example that reproduces your issue and your environment information. This means you need to provide a git repository with code that reproduces the issue. The reason is that maintainers do not have time to try reproduce bugs themselves. Please try to minimize the superfluous code and focus only on reproducing the bug. Please create a new issue with this and we'll be happy to review it!