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

support native iOS simulators on Apple silicon mac #340

Open
wants to merge 1 commit into
base: mobile-master
Choose a base branch
from

Conversation

kewlbear
Copy link

Thanks for this great project!

I've added support for building XCFramework containing iOS simulator for arm64 arch.

Please let me know if I missed something.

@lufinkey
Copy link

Have you tested this from cocoapods? I was having some issues when trying to set up an xcframework to work from it

@Jpoliachik
Copy link

I'm trying to get my nodejs-mobile builds working on M1 simulators as well, specifically the react-native package. Unfortunately it looks like this library isn't maintained here anymore and has moved to https://github.com/nodejs-mobile/nodejs-mobile.

I'm trying to reverse engineer the changes here with no luck so far. If possible, could you explain a bit about what changes you made @kewlbear? It would greatly help my understanding.

@kewlbear
Copy link
Author

In tools/ios_framework_prepare.sh you can see that I've changed it from building for x86_64 simulator to all simulators except i386, that is x86_64 and arm64 simulators. That is the key part of my changes, the rest is just making it possible.

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

Successfully merging this pull request may close these issues.

3 participants