Skip to content

justfile: add --arch arm64 --arch x86_64 to build a universal binary#11

Merged
willswire merged 1 commit intowillswire:mainfrom
exurd:main
Jan 31, 2025
Merged

justfile: add --arch arm64 --arch x86_64 to build a universal binary#11
willswire merged 1 commit intowillswire:mainfrom
exurd:main

Conversation

@exurd
Copy link
Contributor

@exurd exurd commented Jan 31, 2025

This pull request adds --arch arm64 --arch x86_64 to the swift build command. This fixes issue #7, as a universal binary will allow teemoji to run on both Apple Silicon and Intel Macs.

@willswire
Copy link
Owner

LGTM. Thanks!

@willswire willswire merged commit e1a2442 into willswire:main Jan 31, 2025
1 check passed
@exurd
Copy link
Contributor Author

exurd commented Jan 31, 2025

The build-and-release job failed: https://github.com/willswire/teemoji/actions/runs/13073910823/job/36481320398
tar: could not chdir to '.build/release'

For some reason, adding --arch does not create a symbolic link to the release folder. The directory should be .build/apple/Products/Release

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

Successfully merging this pull request may close these issues.

2 participants