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

React-native release build error on iOS: Id: library not found for -IReact. #20503

Closed
ant-caor opened this issue Aug 2, 2018 · 1 comment
Closed
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@ant-caor
Copy link

ant-caor commented Aug 2, 2018

I am doing a Release scheme react-native build in Xcode and I get the following error:

ld: warning: directory not found for option '-L/Users/username/Library/Developer/Xcode/DerivedData/ProjectName-qwfopvasfnhysedskapbaefsdwer/Build/Products/Release-iphonesimulator/React' ld: library not found for -lReact clang: error: linker command failed with exit code 1 (use -v to see invocation)

I tried to add libReact.a in Link Binary With Libraries section in Build Phases but I can't find the library in my workspace.

React-native link doesn't work because the project uses custom paths since react-native was integrated into existing native android/ios projects. I have to manually link libraries, but I get the "ld: library not found for -lReact" error.

Thanks in advance

@react-native-bot
Copy link
Collaborator

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library.

If you'd like to propose a change or discuss a feature request, there is a repository dedicated to Discussions and Proposals you may use for this purpose.

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. 📋No Template labels Aug 2, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Aug 2, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants