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

[email protected] app build for Mac Catalyst fails with: hermes.framework: bundle format is ambiguous (could be app or framework) #1492

Closed
birdofpreyru opened this issue Aug 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@birdofpreyru
Copy link

Hey, I am migrating my libraries / app from [email protected] to the latest [email protected]. When building for Mac Catalyst target my build fails with that error hermes.framework: bundle format is ambiguous (could be app or framework). I did a brief googling, and it seems the issue should be on Hermes side, something not packed correctly for the distribution? Or is it a problem elsewhere?

@tmikov
Copy link
Contributor

tmikov commented Aug 26, 2024

Based on your description and after reviewing the details, it’s important to clarify that Hermes itself does not provide a binary artifact. This means that the issue you're seeing is unlikely to be caused directly by Hermes.

The error message you're encountering—"bundle format is ambiguous (could be app or framework)"—could potentially be related to how the build system or the React Native configuration is handling the packaging process, rather than an issue with Hermes.

If you have further details or logs that might help in diagnosing the issue, please feel free to share them. Alternatively, you might find more insights by discussing this in the React Native community, as they might have encountered similar issues during migrations.

@birdofpreyru
Copy link
Author

Thanks @tmikov , I'll move the issue to RN repo then :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants