Skip to content

Commit 90b90cf

Browse files
committed
fix: sign mcp-server helper binary to strip get-task-allow entitlement
1 parent 0fc9e64 commit 90b90cf

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

TablePro.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2391,7 +2391,7 @@
23912391
CODE_SIGN_STYLE = Automatic;
23922392
DEVELOPMENT_TEAM = D7HJ5TFYCU;
23932393
ENABLE_HARDENED_RUNTIME = YES;
2394-
MACOSX_DEPLOYMENT_TARGET = 26.5;
2394+
MACOSX_DEPLOYMENT_TARGET = 14.0;
23952395
PRODUCT_NAME = "$(TARGET_NAME)";
23962396
SDKROOT = macosx;
23972397
SWIFT_APPROACHABLE_CONCURRENCY = YES;
@@ -2406,7 +2406,7 @@
24062406
CODE_SIGN_STYLE = Automatic;
24072407
DEVELOPMENT_TEAM = D7HJ5TFYCU;
24082408
ENABLE_HARDENED_RUNTIME = YES;
2409-
MACOSX_DEPLOYMENT_TARGET = 26.5;
2409+
MACOSX_DEPLOYMENT_TARGET = 14.0;
24102410
PRODUCT_NAME = "$(TARGET_NAME)";
24112411
SDKROOT = macosx;
24122412
SWIFT_APPROACHABLE_CONCURRENCY = YES;

scripts/build-release.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,14 @@ build_for_arch() {
489489
done
490490
fi
491491

492+
# Sign helper executables in Contents/MacOS (e.g., mcp-server)
493+
MACOS_DIR="$BUILD_DIR/$OUTPUT_NAME/Contents/MacOS"
494+
for helper in "$MACOS_DIR"/*; do
495+
[ -f "$helper" ] || continue
496+
[ "$(basename "$helper")" = "TablePro" ] && continue
497+
codesign -fs "$SIGN_IDENTITY" --force --options runtime --timestamp "$helper"
498+
done
499+
492500
# Embed provisioning profile (required for iCloud entitlements)
493501
PROFILE=$(find ~/Library/MobileDevice/Provisioning\ Profiles -name "*.provisionprofile" -print -quit 2>/dev/null)
494502
if [ -n "$PROFILE" ]; then

0 commit comments

Comments
 (0)