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

Linking does not work #534

Closed Macilias closed 2 years ago

Macilias commented 2 years ago

Bug report

Summary

after adding the library and running pod install Xcode build fails with the exception: ld: warning: directory not found for option '-L/Users/mac/Library/Developer/Xcode/DerivedData/fak10-gwynwwxmqdvfqgfcrunmfyjkqmzc/Build/Products/Debug-iphonesimulator/react-native-document-picker' ld: library not found for -lreact-native-document-picker clang: error: linker command failed with exit code 1 (use -v to see invocation)

which is strange, because the dependency is in place: react-native-document-picker: :path: "../node_modules/react-native-document-picker"

I checked also the folder, its there.

Reproducible sample code

Ihm using only the code from provided example folder

Steps to reproduce

try to run the example

Describe what you expected to happen:

Environment info

npx react-native info output:

# paste it here

library version: x.x.x

Xcode: Version 13.2.1 (13C100) "react": "17.0.2", "react-native": "0.65.1", "react-native-document-picker": "8.0.0",

iOS / Android version: x.x iOS 15

github-actions[bot] commented 2 years ago

:wave: @Macilias, 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 code snippet that we can copy-paste into an empty project and see the error ourselves, or provide a git repository with 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!