v2 #1
@@ -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
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user