Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'rndocumentpicker/rndocumentpicker.h' file not found #770

Closed
PRESIDENT810 opened this issue Feb 13, 2025 · 2 comments
Closed

'rndocumentpicker/rndocumentpicker.h' file not found #770

PRESIDENT810 opened this issue Feb 13, 2025 · 2 comments

Comments

@PRESIDENT810
Copy link

Not sure if this is document-picker problem or React Native's but I'll just post here for some help

I'm trying to upgrade RN to 0.77.0 (previously we are not using the new arch), and Xcode throws this error at me: 'rndocumentpicker/rndocumentpicker.h' file not found

I think this file is generated by ReactCodeGen, and I checked and found that I do have this file at path: ios/build/generated/ios/rndocumentpicker/rndocumentpicker.h ; however I checked the compile command for RNDocumentPicker.mm and realized I don't have any search path pointing to the directory containing generated files by ReactCodeGen.

I wonder if I need some extra setup for ReactCodeGen with RN's new arch or something goes wrong. Need some help here, thanks!

@vonovak
Copy link
Collaborator

vonovak commented Feb 13, 2025

Hello and thanks for asking,
this problem likely comes from v9 of the package (see here).
v10 of the package uses a different naming here.

I'd try upgrading to v10.
Thank you 🙂

Copy link
Contributor

👋 @PRESIDENT810, 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!

@github-actions github-actions bot locked and limited conversation to collaborators Feb 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants