Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting universal build #172

Merged
merged 1 commit into from
Dec 17, 2021
Merged

Conversation

fishcharlie
Copy link
Contributor

Close #170

@MattKiazyk Might want to test this before merging. It looks like maybe the output executable might be in a different location. But since I'm not completely familiar with the build/distribution system of this project, I'm not sure that matters.

I was able to verify that the outputted executable from this PR does produce a universal binary tho.

Please let me know if any adjustments need to be made.

@fishcharlie fishcharlie requested a review from a team as a code owner December 16, 2021 02:12
@MattKiazyk MattKiazyk added the enhancement New feature or request label Dec 16, 2021
@MattKiazyk
Copy link
Contributor

@fishcharlie 🙏 🙏

As far as I can tell this is working as advertised! We'll find out for sure next release, but I'll for sure double check on an M1 (now that I have one) and the old intel one

@MattKiazyk MattKiazyk merged commit 9fa7794 into XcodesOrg:main Dec 17, 2021
@jpsim
Copy link
Contributor

jpsim commented Mar 9, 2022

Worked great for me on my M1, installed via the xcodes.zip archive from https://github.com/RobotsAndPencils/xcodes/releases/tag/0.20.0

$ file /usr/local/bin/xcodes
/usr/local/bin/xcodes: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64]
/usr/local/bin/xcodes (for architecture x86_64):	Mach-O 64-bit executable x86_64
/usr/local/bin/xcodes (for architecture arm64):	Mach-O 64-bit executable arm64

@MattKiazyk
Copy link
Contributor

👍 - it doubled the zip from 1.8 to 3.6 MB 😄

@jpsim
Copy link
Contributor

jpsim commented Mar 9, 2022

By law, no one is allowed to complain about 3.6MB for a tool used to download 10+ GB files from the internet 😆

@fishcharlie fishcharlie deleted the universalBuild branch March 9, 2022 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support arm64 (M1) builds
3 participants