Skip to content

[CI] Expired Apple development certificates break signing-dependent PR tests #26382

Description

@dalexsoto

Summary

The Apple development certificates installed in the PR-test signing keychains expired on July 31, 2026. Signing-dependent tests now fail with:

No valid iOS/tvOS/macOS code signing keys found in keychain.

  • Stable signature: expired-apple-development-certificates-no-valid-code-signing-keys
  • Classification: CI infrastructure failure
  • Distinct monitored PRs: 4
  • Confirmed job occurrences: 17
  • First confirmed by the monitor: 2026-07-31T14:42:07Z
  • Latest confirmed occurrence: 2026-07-31T16:30:04Z

Affected PRs

Diagnostic evidence

  • DetectSigningIdentityTaskTests fails because no valid iOS signing key remains.
  • Detailed MSBuild test reports confirm that the installed Apple development certificates are expired.
  • iOS, tvOS, and macOS app-build tests then fail in signing detection; the later test-suite summaries are consequences of that same root cause.
  • The first failed task in each listed job is Run tests. No publication or missing-artifact failure is classified separately.

Reproduction pattern and impact

Any PR test job that builds a signing-dependent device or extension configuration after the certificate expiry can fail. The issue currently blocks four monitored PRs and affects simulator, Windows-remote, MSBuild, and app-build test jobs across iOS, tvOS, and macOS.

Investigation performed

The Azure timelines, TestSummary reports, detailed NUnit reports, and representative binlogs were inspected. Searches across open and closed dotnet/macios issues used the exact error, DetectSigningIdentityTaskTests, keychain-signing terms, and expired-certificate terms. Issues #7171 and #20671 contain the same user-facing error but describe unrelated project/configuration problems, not expired CI credentials.

Retry status

Resolution / workaround

Renew and replace the Apple development certificates and associated provisioning profiles in the secure CI signing bundle/keychains. Validate the replacement with a full signing-dependent simulator run. After validation, rerun failed jobs; if Windows Integration is affected, rerun its entire stage.

Azure artifacts and detailed reports are retention-limited.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ci-failureThe issue only affects CItestsAnything related to tests

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions