From beebaf7b68b3749f4a1bc4d916e23906b8c16d7f Mon Sep 17 00:00:00 2001
From: Ariver <ar@MacBook-Air.local>
Date: Wed, 13 May 2026 23:31:23 +0800
Subject: [PATCH] Release TagLauncher 5.6.0

---
 build.sh |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/build.sh b/build.sh
index 6f525da..9ea9bdf 100644
--- a/build.sh
+++ b/build.sh
@@ -10,7 +10,7 @@
 SWIFT_DIR="$PROJECT_DIR/Apptag"
 
 SDK_PATH=$(xcrun --sdk macosx --show-sdk-path)
-TARGET="arm64-apple-macosx26.0"
+TARGET="arm64-apple-macosx15.0"
 
 # --- Optional: App Store / Sandbox signing ---
 # Set CODESIGN_IDENTITY to your "Apple Distribution" or "Mac Developer" cert name.
@@ -24,6 +24,10 @@
     if [ -z "$CODESIGN_IDENTITY" ]; then
         echo "⚠️  APP_STORE=1 but CODESIGN_IDENTITY not set. Will ad-hoc sign with entitlements."
     fi
+    if [ ! -f "$ENTITLEMENTS" ]; then
+        echo "❌ APP_STORE=1 requires entitlements at: $ENTITLEMENTS"
+        exit 1
+    fi
 fi
 
 echo "==> Cleaning..."

--
Gitblit v1.9.3