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
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:
@@ -81,6 +81,7 @@ jobs:
|
|||||||
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles/$UUID.mobileprovision
|
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles/$UUID.mobileprovision
|
||||||
echo "Installed profile: $PROFILE_NAME (UUID: $UUID)"
|
echo "Installed profile: $PROFILE_NAME (UUID: $UUID)"
|
||||||
echo "PROFILE_NAME=$PROFILE_NAME" >> $GITHUB_ENV
|
echo "PROFILE_NAME=$PROFILE_NAME" >> $GITHUB_ENV
|
||||||
|
echo "PROFILE_UUID=$UUID" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build and upload to TestFlight
|
- name: Build and upload to TestFlight
|
||||||
env:
|
env:
|
||||||
@@ -94,8 +95,9 @@ jobs:
|
|||||||
working-directory: ios/LibNovel
|
working-directory: ios/LibNovel
|
||||||
run: |
|
run: |
|
||||||
eval "$(rbenv init -)"
|
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_NAME="$PROFILE_NAME"
|
||||||
|
export PROVISIONING_PROFILE_UUID="$PROFILE_UUID"
|
||||||
bundle exec fastlane beta
|
bundle exec fastlane beta
|
||||||
|
|
||||||
- name: Cleanup keychain
|
- name: Cleanup keychain
|
||||||
|
|||||||
@@ -12,13 +12,14 @@ platform :ios do
|
|||||||
xcodeproj: "LibNovel.xcodeproj"
|
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(
|
update_code_signing_settings(
|
||||||
use_automatic_signing: false,
|
use_automatic_signing: false,
|
||||||
team_id: "GHZXC6FVMU",
|
team_id: "GHZXC6FVMU",
|
||||||
targets: ["LibNovel"],
|
targets: ["LibNovel"],
|
||||||
path: "LibNovel.xcodeproj",
|
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"
|
code_sign_identity: "Apple Distribution"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user