Skip to content

Commit 4555561

Browse files
fix: save provisioning profile with UUID filename for Xcode discovery
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 94971f4 commit 4555561

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release-ios.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,10 @@ jobs:
7777
run: |
7878
PROFILE_PATH=$RUNNER_TEMP/profile.mobileprovision
7979
echo -n "$IOS_PROVISION_PROFILE" | base64 --decode -o "$PROFILE_PATH"
80+
# Extract UUID from profile and copy with UUID-based filename (required by Xcode)
81+
PROFILE_UUID=$(/usr/libexec/PlistBuddy -c "Print UUID" /dev/stdin <<< "$(security cms -D -i "$PROFILE_PATH")")
8082
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
81-
cp "$PROFILE_PATH" ~/Library/MobileDevice/Provisioning\ Profiles/
83+
cp "$PROFILE_PATH" ~/Library/MobileDevice/Provisioning\ Profiles/"$PROFILE_UUID".mobileprovision
8284
8385
- name: Sync version to Xcode project
8486
run: |

0 commit comments

Comments
 (0)