fix(apple): set new project version on each build (#9072)

When developing the macOS app, we always build the exact same version
and build code for each build. ~~This _may_ be one reason why we
constantly have to deactivate the extension before the new one will
launch.~~ Edit: Just tested, and I can verify that this does fix the
issue on dev builds, so no more having to uninstall the sysex between
builds.

Even if that's not the reason, this is a cleaner approach than building
it in our prod-only scripts.

---------

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
This commit is contained in:
Jamil
2025-05-11 17:55:14 -07:00
committed by GitHub
parent 091b52ef07
commit 4e61ba9582
6 changed files with 24 additions and 7 deletions

View File

@@ -27,14 +27,12 @@ fi
# Build and sign app
echo "Building and signing app..."
seconds_since_epoch=$(date +%s)
xcodebuild archive \
GIT_SHA="$git_sha" \
CODE_SIGN_STYLE=Manual \
CODE_SIGN_IDENTITY="$code_sign_identity" \
APP_PROFILE_ID="$app_profile_id" \
NE_PROFILE_ID="$ne_profile_id" \
CURRENT_PROJECT_VERSION="$seconds_since_epoch" \
-project "$project_file" \
-skipMacroValidation \
-archivePath "$archive_path" \

View File

@@ -27,7 +27,6 @@ fi
# Build and sign
echo "Building and signing app..."
seconds_since_epoch=$(date +%s)
xcodebuild build \
GIT_SHA="$git_sha" \
CODE_SIGN_STYLE=Manual \
@@ -36,7 +35,6 @@ xcodebuild build \
APP_PROFILE_ID="$app_profile_id" \
NE_PROFILE_ID="$ne_profile_id" \
ONLY_ACTIVE_ARCH=NO \
CURRENT_PROJECT_VERSION="$seconds_since_epoch" \
-project "$project_file" \
-skipMacroValidation \
-configuration Release \

View File

@@ -31,7 +31,6 @@ fi
# Build and sign
echo "Building and signing app..."
seconds_since_epoch=$(date +%s)
xcodebuild build \
GIT_SHA="$git_sha" \
CODE_SIGN_STYLE=Manual \
@@ -43,7 +42,6 @@ xcodebuild build \
APP_PROFILE_ID="$app_profile_id" \
NE_PROFILE_ID="$ne_profile_id" \
ONLY_ACTIVE_ARCH=NO \
CURRENT_PROJECT_VERSION="$seconds_since_epoch" \
-project "$project_file" \
-skipMacroValidation \
-configuration Release \