diff --git a/.gitea/workflows/ios-release.yaml b/.gitea/workflows/ios-release.yaml index c2a6430..afbd7a5 100644 --- a/.gitea/workflows/ios-release.yaml +++ b/.gitea/workflows/ios-release.yaml @@ -87,7 +87,7 @@ jobs: echo "DEBUG: APPLE_TEAM_ID=$APPLE_TEAM_ID" echo "DEBUG: profiles dir listing:" ls ~/Library/MobileDevice/Provisioning\ Profiles/ - just ios-archive "$PROFILE_UUID" + just ios-archive "$APPLE_TEAM_ID" "$PROFILE_UUID" - name: Export IPA run: just ios-export diff --git a/justfile b/justfile index 16afbf0..2be4260 100644 --- a/justfile +++ b/justfile @@ -130,16 +130,17 @@ 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 profile_uuid: 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}} \ -configuration Release \ + -destination 'generic/platform=iOS' \ -clonedSourcePackagesDirPath {{ios_spm}} \ -archivePath {{runner_temp}}/LibNovel.xcarchive \ CODE_SIGN_STYLE=Manual \ - DEVELOPMENT_TEAM="$APPLE_TEAM_ID" \ + DEVELOPMENT_TEAM="{{team_id}}" \ PROVISIONING_PROFILE="{{profile_uuid}}" # Export an IPA from the archive produced by ios-archive.