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

Can't run iOS Simulator debug mode on a M1 MBP due to dylib #7

Closed
Dwynr opened this issue Feb 13, 2022 · 6 comments
Closed

Can't run iOS Simulator debug mode on a M1 MBP due to dylib #7

Dwynr opened this issue Feb 13, 2022 · 6 comments

Comments

@Dwynr
Copy link

Dwynr commented Feb 13, 2022

First of all: amazing project! Everything works as expected, only one thing bugging me right now.
I can't seem to build my app for the iOS Simulator on an M1 Max MBP.

[Xcode error 'building for iOS Simulator, but linking in dylib built for iOS .. for architecture arm64']

Launching XCode using Rosetta and then building using X86 works fine, but the performance using the X86 simulator is pretty bad compared to arm64. Also build times are like 3-6x times longer. Building the app using arm64 for an iPhone works as expected.

Any solution?

@rockey2020
Copy link

same problem

@Dwynr
Copy link
Author

Dwynr commented Mar 13, 2022

I found out it's due to the prebuilt NodeMobile lib being compiled for x86 only, would be cool to get built instructions + instructions on how to include the arm64 lib into the package when it's built.

Building https://github.com/nodejs-mobile/nodejs-mobile using the M1 should work.

@Dwynr
Copy link
Author

Dwynr commented May 10, 2022

same problem

Found a solution yet?

@rockey2020
Copy link

No idea, I have given up on this library, wait a year and then come back to see how this library develops

@winionian
Copy link

solve as I have mention at #10 (comment)

@staltz
Copy link
Member

staltz commented Jan 22, 2024

I can run nmrn apps on iOS Simulator as of version 18.17.4.

When describing a bug, please always specify which versions are pertinent.

@staltz staltz closed this as completed Jan 22, 2024
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

No branches or pull requests

4 participants