Use provisioning profile UUID instead of name for manual signing
Some checks failed
CI / Scraper / Lint (pull_request) Successful in 14s
CI / UI / Build (pull_request) Successful in 16s
CI / Scraper / Test (pull_request) Successful in 17s
CI / Scraper / Docker Push (pull_request) Has been skipped
CI / UI / Docker Push (pull_request) Has been skipped
iOS CI / Build (push) Successful in 1m31s
iOS CI / Test (pull_request) Has been cancelled
iOS CI / Build (pull_request) Has been cancelled
iOS Release / Release to TestFlight (push) Failing after 57s
iOS CI / Test (push) Successful in 4m29s

This commit is contained in:
Admin
2026-03-09 19:02:17 +05:00
parent e9d7293d37
commit dc3bc3ebf2
2 changed files with 6 additions and 3 deletions

View File

@@ -81,6 +81,7 @@ jobs:
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles/$UUID.mobileprovision
echo "Installed profile: $PROFILE_NAME (UUID: $UUID)"
echo "PROFILE_NAME=$PROFILE_NAME" >> $GITHUB_ENV
echo "PROFILE_UUID=$UUID" >> $GITHUB_ENV
- name: Build and upload to TestFlight
env:
@@ -94,8 +95,9 @@ jobs:
working-directory: ios/LibNovel
run: |
eval "$(rbenv init -)"
echo "Using provisioning profile: $PROFILE_NAME"
echo "Using provisioning profile: $PROFILE_NAME (UUID: $PROFILE_UUID)"
export PROVISIONING_PROFILE_NAME="$PROFILE_NAME"
export PROVISIONING_PROFILE_UUID="$PROFILE_UUID"
bundle exec fastlane beta
- name: Cleanup keychain

View File

@@ -12,13 +12,14 @@ platform :ios do
xcodeproj: "LibNovel.xcodeproj"
)
# Enable manual code signing with specific provisioning profile
# Enable manual code signing with specific provisioning profile UUID
# Using UUID instead of name because Xcode expects TEAM_ID/Name format for names
update_code_signing_settings(
use_automatic_signing: false,
team_id: "GHZXC6FVMU",
targets: ["LibNovel"],
path: "LibNovel.xcodeproj",
profile_name: ENV["PROVISIONING_PROFILE_NAME"] || "LibNovel Distribution",
profile_uuid: ENV["PROVISIONING_PROFILE_UUID"] || "af592c3a-f60b-4ac1-a14f-30b8a206017f",
code_sign_identity: "Apple Distribution"
)