Skip to content

Commit 56d1af2

Browse files
Disable code signing for iOS Device Farm artifacts (pytorch#21891)
## Summary Disable code signing while packaging the iOS demo app and XCTest bundle for AWS Device Farm. Device Farm re-signs uploaded artifacts, and the existing benchmark packaging path already uses the same settings. This avoids failing the Apple workflow when the repository provisioning profile expires. Fixes the failure in https://github.com/pytorch/executorch/actions/runs/32045215446/job/95431476785. ## Test plan - `bash -n .ci/scripts/test_ios_ci.sh` - `git diff --check` - Confirmed the existing Device Farm benchmark packaging path uses `CODE_SIGNING_REQUIRED=No` and `CODE_SIGNING_ALLOWED=No` This PR was authored with Codex (OpenAI).
1 parent c1ace0e commit 56d1af2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.ci/scripts/test_ios_ci.sh‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ xcodebuild build-for-testing \
8080
DEVELOPMENT_TEAM=78E7V7QP35 \
8181
CODE_SIGN_STYLE=Manual \
8282
PROVISIONING_PROFILE_SPECIFIER=ExecuTorchDemo \
83-
CODE_SIGN_IDENTITY="iPhone Distribution"
83+
CODE_SIGN_IDENTITY="iPhone Distribution" \
84+
CODE_SIGNING_REQUIRED=No \
85+
CODE_SIGNING_ALLOWED=No
8486

8587
# The hack to figure out where the xctest package locates
8688
BUILD_DIR=$(xcodebuild -showBuildSettings -project "$APP_PATH.xcodeproj" -json | jq -r ".[0].buildSettings.BUILD_DIR")

0 commit comments

Comments
 (0)