fix: use PROVISIONING_PROFILE with UUID and -allowProvisioningUpdates flag
Some checks failed
iOS CI / Test (push) Has been cancelled
iOS CI / Build (push) Has been cancelled
iOS CI / Build (pull_request) Has been cancelled
iOS CI / Test (pull_request) Has been cancelled
CI / Scraper / Lint (pull_request) Successful in 8s
CI / Scraper / Test (pull_request) Successful in 14s
CI / Scraper / Docker Push (pull_request) Has been skipped
CI / UI / Build (pull_request) Successful in 26s
CI / UI / Docker Push (pull_request) Has been skipped
iOS Release / Release to TestFlight (push) Failing after 35s

This commit is contained in:
Admin
2026-03-09 14:35:00 +05:00
parent d7319b3f7c
commit e9bb387f71
3 changed files with 5 additions and 5 deletions

View File

@@ -104,7 +104,7 @@ jobs:
echo "DEBUG: APPLE_TEAM_ID=$APPLE_TEAM_ID"
echo "DEBUG: profiles dir listing:"
ls ~/Library/MobileDevice/Provisioning\ Profiles/
just ios-archive "$APPLE_TEAM_ID" "$PROFILE_NAME"
just ios-archive "$APPLE_TEAM_ID" "$PROFILE_UUID"
- name: Export IPA
run: just ios-export

View File

@@ -54,7 +54,6 @@ targets:
CODE_SIGN_STYLE: Manual
CODE_SIGN_IDENTITY: "Apple Distribution"
DEVELOPMENT_TEAM: GHZXC6FVMU
PROVISIONING_PROFILE_SPECIFIER: "LibNovel Distribution"
LibNovelTests:
type: bundle.unit-test

View File

@@ -130,8 +130,8 @@ ios-test: ios-gen ios-resolve
# Archive a signed Release build (requires valid signing identity in keychain).
# Output: {{runner_temp}}/LibNovel.xcarchive
# Typically called from CI after importing certificate + provisioning profile.
# Usage: just ios-archive <team-id> <profile-name>
ios-archive team_id profile_name: ios-gen ios-resolve
# Usage: just ios-archive <team-id> <profile-uuid>
ios-archive team_id profile_uuid: ios-gen ios-resolve
cd {{ios_dir}} && xcodebuild archive \
-project {{ios_scheme}}.xcodeproj \
-scheme {{ios_scheme}} \
@@ -139,10 +139,11 @@ ios-archive team_id profile_name: ios-gen ios-resolve
-destination 'generic/platform=iOS' \
-clonedSourcePackagesDirPath {{ios_spm}} \
-archivePath {{runner_temp}}/LibNovel.xcarchive \
-allowProvisioningUpdates \
CODE_SIGN_STYLE=Manual \
CODE_SIGN_IDENTITY="Apple Distribution" \
DEVELOPMENT_TEAM="{{team_id}}" \
PROVISIONING_PROFILE_SPECIFIER="{{profile_name}}"
PROVISIONING_PROFILE="{{profile_uuid}}"
# Export an IPA from the archive produced by ios-archive.
# Requires ios/LibNovel/ExportOptions.plist.