diff --git a/.gitea/workflows/ios-release.yaml b/.gitea/workflows/ios-release.yaml index f668604..6865ebe 100644 --- a/.gitea/workflows/ios-release.yaml +++ b/.gitea/workflows/ios-release.yaml @@ -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 diff --git a/ios/LibNovel/project.yml b/ios/LibNovel/project.yml index d94861f..add342c 100644 --- a/ios/LibNovel/project.yml +++ b/ios/LibNovel/project.yml @@ -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 diff --git a/justfile b/justfile index 276f2f6..984b974 100644 --- a/justfile +++ b/justfile @@ -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 -ios-archive team_id profile_name: ios-gen ios-resolve +# Usage: just ios-archive +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.