Closed Dwynr closed 9 months ago
same problem
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.
same problem
Found a solution yet?
No idea, I have given up on this library, wait a year and then come back to see how this library develops
solve as I have mention at https://github.com/nodejs-mobile/nodejs-mobile-react-native/issues/10#issuecomment-1728708885
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.
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?