Files
SublerMKV/build-release.sh
Scott GarrettandClaude Code 85d8ac6dcb Document queue parity and the rename; keep build-release.sh in the repo
CLAUDE.md and CHANGES.md record the shared MatroskaSaver, queue Matroska
semantics, the SublerMKV storage folder, and the module-name trap any
future rename must respect. build-release.sh (local Release build without
hardened runtime) loses its .git/info/exclude entry so it travels to every
machine, and its output line now names SublerMKV.app.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-29 20:34:24 -05:00

23 lines
902 B
Bash
Executable File

#!/bin/bash
# Personal Release build. NOT a distribution build.
#
# Upstream's project settings enable the hardened runtime with no Team ID,
# which (ad-hoc signed) makes dyld's library validation kill the app over its
# own embedded MP42Foundation.framework. ENABLE_HARDENED_RUNTIME=NO restores
# the Debug-style behavior that actually runs locally. Part of the repo so
# every machine gets the same local-release recipe.
set -euo pipefail
ROOT="$(cd "$(dirname "$0")" && pwd)"
xcodebuild -project "$ROOT/MP42Foundation/MP42Foundation.xcodeproj" \
-scheme MP42Foundation -configuration Release build \
SYMROOT="$ROOT/MP42Foundation/Build/Products" \
ENABLE_HARDENED_RUNTIME=NO
xcodebuild -project "$ROOT/Subler.xcodeproj" \
-scheme Subler -configuration Release build \
SYMROOT="$ROOT/Build/Products" \
ENABLE_HARDENED_RUNTIME=NO
echo "Done: $ROOT/Build/Products/Release/SublerMKV.app"