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

IOS: Library not loaded: @rpath/hermes.framework/hermes issue #2369

Closed
savaskalkan opened this issue Feb 4, 2023 · 4 comments · Fixed by #2446
Closed

IOS: Library not loaded: @rpath/hermes.framework/hermes issue #2369

savaskalkan opened this issue Feb 4, 2023 · 4 comments · Fixed by #2446
Labels

Comments

@savaskalkan
Copy link

Describe the bug

After create RN app you are going to see error during IOS building like following

"Library not loaded: @rpath/hermes.framework/hermes"

But I have a solution I want to add here to see anyone needs this.

image

Solution is adding hermes.xcframework file to

xcode > build phases > Link binary with Libraries

just press to + sign and search for hermes

And then

You will need to Embed & Sign hermes framework and then build again using command.

image

Ignite version

7.15.9

Additional info

It is only encountered during react native cli build.

@savaskalkan savaskalkan added the bug label Feb 4, 2023
@frankcalise
Copy link
Contributor

@savaskalkan this is quite an older Ignite version, would you mind trying the latest 8.5.1?

@pqv2210
Copy link

pqv2210 commented Feb 14, 2023

@frankcalise i can confirm that i'm using ignite-cli v8.5.1 to generate new project and this error still exist.
i'm create new project only and run, i don't add anything with new project.

*Update: error in Simulator - iPhone 8 Plus, iOS 13.2.2.
Simulator - iPhone 8 Plus, iOS 15.5 have no problem.

@frankcalise
Copy link
Contributor

Can you explain your build steps via command-line versus Xcode?

If you could, maybe make a PR addressing this change?

@frankcalise frankcalise linked a pull request Jul 6, 2023 that will close this issue
2 tasks
@frankcalise
Copy link
Contributor

Closing this as it looks like you've found your way.

If still experiencing issues feel free to re-open the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants