Help building for iOS Simulator on arm64 #21
Replies: 3 comments 2 replies
-
Nevermind. I just learned I can run tests with it built for iOS Simulator x86_64 on M1/M2. Sorry, I am quite new to this platform. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Performance shouldn't be a problem since we are building only a swift
library and not an application. But I will return to this matter if/when
performance becomes an issue for us.
Thanks!
…On Fri, Apr 28, 2023 at 11:55 AM André Staltz ***@***.***> wrote:
Yes, that's right. But it's also slow. I believe if we got it compiled for
iOS Simulator on M1, then it would startup much faster.
—
Reply to this email directly, view it on GitHub
<#21 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3223L3VOEYQK5Y4UHGO7ELXDOOZLANCNFSM6AAAAAAXOCID5I>
.
You are receiving this because you modified the open/close state.Message
ID: <nodejs-mobile/nodejs-mobile/repo-discussions/21/comments/5753204@
github.com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to build it for iOS Simulator on arm64 (M1/M2), but compilation fails. Here is what I did:
main
branchNODE_VERSION_IS_RELEASE 1
insrc/node_version.h
src/ios_framework_prepare.sh
:3.1. Commented lines
65-84
(disables compiling nodejs for x64)3.2. Commented lines
107-110
(arm64 is already built at that point)3.3. Changed line 115 to be
-arch arm64
.Eventually I get the following error:
My environment:
Any help appreciated!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions