Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/release-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ jobs:
dotnet publish ${{ env.MAUI_PROJECT_PATH }} \
-f net10.0-maccatalyst \
-c Release \
-r maccatalyst-arm64 \
-p:ApplicationId=maccatalyst.nl.versluis.polypilot \
-p:CodesignKey="${{ secrets.IOS_CODESIGN_KEY }}" \
-p:CodesignProvision="${{ secrets.MACCATALYST_PROVISIONING_PROFILE_NAME }}" \
Expand Down Expand Up @@ -249,6 +250,13 @@ jobs:
echo "CFBundleIconName already set: $(/usr/libexec/PlistBuddy -c 'Print :CFBundleIconName' "$PLIST")"
fi

- name: Embed provisioning profile
run: |
APP_PATH=$(find PolyPilot/bin/Release/net10.0-maccatalyst -name "PolyPilot.app" -type d | head -1)
# CreatePackage=false doesn't embed the profile. TestFlight requires it.
cp "$RUNNER_TEMP/maccatalyst.provisionprofile" "$APP_PATH/Contents/embedded.provisionprofile"
echo "Embedded provisioning profile in app bundle"

- name: Patch bundle identifier for App Store
run: |
APP_PATH=$(find PolyPilot/bin/Release/net10.0-maccatalyst -name "PolyPilot.app" -type d | head -1)
Expand Down