Skip to content

A tiny friend in your Mac's notch and on your iPhone that keeps an eye on your AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, Antigravity and more. Approve from the notch or your Lock Screen.

release.sh: check the version after xcodegen too; ignore xcshareddata (#201)

Louis19f1f08651bc
diff --git a/.gitignore b/.gitignore
index a3be2384..52c3a580 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
NotchBuddy/build/
NotchBuddy/NotchBuddy.xcodeproj/project.xcworkspace/xcuserdata/
NotchBuddy/NotchBuddy.xcodeproj/xcuserdata/
+NotchBuddy/NotchBuddy.xcodeproj/xcshareddata/
*.xcuserstate
# Xcode DerivedData (outside repo — listed for clarity)
diff --git a/scripts/release.sh b/scripts/release.sh
index 70137564..b2cbfcf4 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -69,6 +69,8 @@ if [ "$MODE" != "--finish" ]; then
PLIST_VERSION=$(/usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString" Resources/Info.plist 2>/dev/null || true)
[ "$PLIST_VERSION" = "$VERSION" ] || die "NotchBuddy/Resources/Info.plist is version $PLIST_VERSION, not $VERSION: run xcodegen and commit Info.plist"
xcodegen generate
+ PLIST_VERSION=$(/usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString" Resources/Info.plist)
+ [ "$PLIST_VERSION" = "$VERSION" ] || die "project.yml says $PLIST_VERSION, not $VERSION: update CFBundleShortVersionString in NotchBuddy/project.yml"
rm -rf "$BUILD_DIR" && mkdir -p "$BUILD_DIR"
echo "$COMMIT" > "$COMMIT_FILE"