Modify macOS build instructions to incorporate universal build functionality for both arm64 + x86_64 #3240
Unanswered
ylluminate
asked this question in
Technical Support & Help
Replies: 2 comments
-
I believe that's not verbally documented, but in the .github/autobuild directory there's the code we run for the CI. We do build universal binaries. Unfortunately the build produced by Xcode crashes for me. Using make on the cli however works as intended |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hmm. After running xcodebuild, it tries to build opus x86 for arm64:
Seems as if we need to change something. Edit: xcodebuild ARCHS=x86_64 ONLY_ACTIVE_ARCH=NO build to force x86_64 only works. |
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
-
It appears that the default macOS build instructions only apply to the existing hardware upon which the project is being built. If, say, a universal build is needed this appears to fail. What steps are additionally needed to facilitate a universal binary build for the resultant .app to have both x86_64 + arm64?
Beta Was this translation helpful? Give feedback.
All reactions