Repository navigation
Masa v1.0.0
Masa v1.0.0
Cross-platform Mach-O build & Darwin environment.
Masa is a cross-compilation wrapper and Darwin environment shim: it builds
macOS Mach-O binaries on a non-macOS host, without Xcode, by driving clang
and answering the platform queries that macOS build systems make. Licensed
under the GNU General Public License v3.0 or later.
Highlights
masa cc— clang wrapper that injects the target triple, the SDK sysroot
andld64.lld, producing real Mach-OMH_EXECUTEoutput.masa sys— shimsuname,sw_vers,xcode-selectandxcrunso build
systems detect Darwin.masa exec/masa shell— run commands (and an interactive shell) inside
a shimmed environment with the toolchain shims first onPATH.masa sdk— reports SDK readiness and writes a clean-room stub SDK (TAPI
v4.tbdfiles +crt1.o+ standard headers) that is enough to link.masa xcode— a clean-roomproject.pbxprojparser and builder: turns a
checked-in.xcodeprojinto a real Mach-O executable, with--bundlelaying
it out as a<Product>.app.masa brew— a Ruby-free Homebrew formula linter and builder that lays out
a Cellar, with correctsystemsemantics (single-string commands run through
/bin/sh -c, multi-argument commands run directly).masa swift— Swift toolchain support: theswiftcwrapper plus
masa swift info/masa swift buildforPackage.swiftprojects.masa pack --dmg / --ipa— a pure-C11 packager that turns a.appbundle
into a UDIF.dmg(with akolytrailer andblkxblock table) or an.ipa
(a ZIP with the app underPayload/<App>.app/), with no external tools.masa doctor— a local macOS cross-build readiness report.masa-term— an optional standalone GUI terminal (SDL2 + SDL2_ttf +
libvterm) over a real PTY.codesignshim — answers ad-hoccodesign -s -andcodesign --verify
so signing steps in build scripts succeed.
Platforms
- Linux (native build), Windows (
x86_64-w64-mingw32), and Android
(NDK clang) are supported;make distpackages the build reproducibly.
Verification
make test: 92 tests, 0 failed, under-std=c11 -Wall -Wextra -Werror -fsanitize=address(zero warnings, zero leaks).SDL_VIDEODRIVER=dummy make test-gui: 20 tests, 0 failed.make dist+sha256sum -c SHA256SUMS: all artifacts verify.
Assets
masa-1.0.0-linux-x86_64.tar.gz/.zipmasa-1.0.0-windows-x86_64.tar.gz/.zipSHA256SUMS
This release description was generated by an AI agent (OpenHands) on behalf of
the maintainer.