This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #339
The generated rebuild for arm64 has the wrong architecture.
x86_64
andia32
(converted intoi386
for Xcode) work as expected, but when specifyingarm64
node-gyp doesn't seem to pass it on to the compiler and it just falls back tox86_64
without any warning or error. See below:Prebuild does its job correctly:
prebuild verb architecture arm64
but then further down in the logc++ -bundle -undefined dynamic_lookup -Wl,-no_pie -Wl,-search_paths_first -mmacosx-version-min=10.7 -arch x86_64
(note the x86_64).My apologies for not catching this issue; by (temporarily?) removing the prebuild this should fix the issue on affected devices.
Might be related to nodejs/gyp-next#78 (comment)