importer chnges

This commit is contained in:
Mark Gregory
2026-11-05 10:18:41 +00:00
parent 1c509b2dad
commit 38a99d94ba
7 changed files with 479 additions and 31 deletions
+37 -1
View File
@@ -1,4 +1,40 @@
#!/bin/bash
set -euo pipefail
cd "$(dirname "$0")/.."
xcodebuild -project "KJMix Pro.xcodeproj" -scheme "KJMix Pro" -configuration Debug -destination 'platform=macOS' -derivedDataPath "${DERIVED_DATA:-$PWD/build}" CODE_SIGNING_ALLOWED=NO build "$@"
DERIVED_DATA="${DERIVED_DATA:-$PWD/build}"
echo "=== BUILDING KJMIX PRO ==="
xcodebuild \
-project "KJMix Pro.xcodeproj" \
-scheme "KJMix Pro" \
-configuration Debug \
-destination 'platform=macOS' \
-derivedDataPath "$DERIVED_DATA" \
CODE_SIGNING_ALLOWED=NO \
build "$@"
APP_PATH="$DERIVED_DATA/Build/Products/Debug/KJMix Pro.app"
if [[ ! -d "$APP_PATH" ]]; then
echo "ERROR: Application not found: $APP_PATH"
exit 1
fi
EXECUTABLE=$(/usr/libexec/PlistBuddy \
-c "Print CFBundleExecutable" \
"$APP_PATH/Contents/Info.plist")
EXECUTABLE_PATH="$APP_PATH/Contents/MacOS/$EXECUTABLE"
if [[ ! -x "$EXECUTABLE_PATH" ]]; then
echo "ERROR: Executable not found: $EXECUTABLE_PATH"
exit 1
fi
echo "=== BUILD SUCCESSFUL ==="
echo "=== LAUNCHING KJMIX PRO ==="
exec "$EXECUTABLE_PATH"