-
Notifications
You must be signed in to change notification settings - Fork 787
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
'React/RCTDefines.h' file not found #461
Comments
Sounds like it might be a library configuration issue. Are you using the new podfile base autolinking? |
Yes we use the podfile base autolinking. We now downgraded to version 0.60 and now it works :) Seems like it is only an issue with version 0.61 and above |
is there a way to fix it for 0.61.2 we have exactly the same issue? |
actually downgrading to 0.60.6 didn't solve a problem for us :( |
Do native libraries work at all for you? For example, can you successfully use something like Also, if you have an old version of Xcode, you may need to update it to at least 10. |
I found a work around by adding a condition in the import:
|
I am seeing this as well. This is being caused by a few of our dependencies which don't support auto linking (they're linked manually). |
@josectobar Where are you adding that workaround? If I replace the error line in the OP with that, I just get new errors ( |
Following. We are facingn the same issue |
Ok, I managed to fix it (for me, at least). What you do is the following:
Repeat for other libraries that complain about missing |
To sum up, I'll update my workaround here: |
|
according to joltup#461
Having the same issue with react-native-passcode-auth:
|
Hi @judygab, I tried your solution and got the errors you mentioned above too. Did you solve it already? If so, can you please tell me how? Thanks in advance. |
Any updates ? |
any updates ? |
After following the
Edit (fix found 🚀 ): Here's the fix:
The issue seemed to be that because I was already linking the pods directly (see pic below) I didn't need to manually add the |
Hi,
Installed Versions:
we recently upgraded from react-native version 0.59 to 0.61 and now the
rn-fetch-blob
library no longer works with XCode, we get the following errors when trying to build the project:In the error stack trace it says that the error originates from
node_modules/rn-fetch-blob/ios/RNFetchBlob/RNFetchBlob.h:22
Any ideas or pointers on how we can solve this issue?
Thanks in advance for your support.
Best regards,
Thomas
The text was updated successfully, but these errors were encountered: