GhosttyKit is required for normal Zentty app builds. XCTest can still use mock adapters, but app builds and manual acceptance require a local FrameworksLocal/GhosttyKit.xcframework.
- Xcode selected correctly:
xcode-select -pshould point at/Applications/Xcode.app/Contents/Developer zigavailable onPATHgettextavailable onPATH- Metal toolchain installed with Xcode
Run this from the repo root:
./scripts/build_ghosttykit.shExpected artifact:
FrameworksLocal/GhosttyKit.xcframework
The script also stages Ghostty resources under ~/Library/Caches/zentty/ghostty-src/zig-out/share/ghostty.
After the framework build succeeds, confirm the app builds:
xcodebuild -project Zentty.xcodeproj -scheme Zentty -destination 'platform=macOS' buildIf zig is missing:
brew install zigIf gettext is missing:
brew install gettextIf Xcode command line tools or the active developer directory are wrong:
sudo xcode-select -s /Applications/Xcode.app/Contents/DeveloperIf Metal toolchain assets are missing:
- Open Xcode once and let it finish installing components.
- Re-run
xcodebuild -downloadPlatform macOSif the SDK/toolchain install is incomplete.
If the script fails while fetching Ghostty tags:
- Re-run
./scripts/build_ghosttykit.sh. - The script now forces a tag refresh (
git fetch --tags --prune --force origin) to recover from stale local tags.