Skip to content

[PassKit] Update bindings up to Xcode 27.0 Beta 4 - #26277

Merged
dalexsoto merged 2 commits into
xcode27.0from
dev/alex/xc27-PassKit
Jul 27, 2026
Merged

dalexsoto merged 2 commits into
xcode27.0from
dev/alex/xc27-PassKit

Conversation

@dalexsoto

@dalexsoto dalexsoto commented Jul 24, 2026 •

Copy link
Copy Markdown
Member

Summary

  • bind the Xcode 27.0 Beta 4 PassKit additions across iOS, macOS, and Mac Catalyst
  • add pass data/archive constructors and async library operations, payment exclusions, provisioning state, identity metadata, and new payment networks
  • bind the required identity protocol member, apply SignData deprecation consistently, and remove resolved xtro todos
  • allow the Humo payment-network brand in introspection typo validation

Validation

  • make world
  • clean xtro generation/classification: Sanity check passed
  • clean Cecil suite
  • clean Xamarin.Tests.AppSizeTest run (16 expected skips on beta Xcode)
  • iOS 27.0 Beta 4 introspection: 44 passed
  • tvOS 27.0 Beta 4 introspection: 43 passed
  • macOS introspection: 32 passed, 2 host-version ignores
  • Mac Catalyst introspection: 39 passed, 4 host/platform ignores

Bind the PassKit additions and deprecations introduced by the Xcode 27.0 Beta 4 SDK across iOS, macOS, and Mac Catalyst.

- Add pass data/archive constructors and asynchronous library operations.
- Add payment exclusions, provisioning state, identity metadata, and new payment networks.
- Preserve protocol binary compatibility until XAMCORE_5_0 and remove all resolved xtro todos.
- Allow the Humo payment-network brand in introspection typo validation.

Validated with a full make world; clean xtro, Cecil, and app-size runs; and iOS, tvOS, macOS, and Mac Catalyst introspection.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: e1c3e093-685e-41b7-a0f1-b5cc1f305f6e
Copilot AI review requested due to automatic review settings July 24, 2026 00:00
@dalexsoto dalexsoto added this to the xcode27 milestone Jul 24, 2026
@dalexsoto
dalexsoto requested a review from rolfbjarne July 24, 2026 00:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the PassKit bindings and related validation artifacts to match the Xcode 27.0 Beta 4 SDK across supported Apple platforms, including new APIs and updated typo/xtro expectations.

Changes:

  • Added new PassKit bindings (async pass-library additions from data/archive, payment exclusions, identity metadata, secure element provisioning state, and new payment-network constants).
  • Applied PassKit API deprecations consistently and updated introspection typo allowlist for the new Humo payment-network identifier.
  • Removed resolved PassKit xtro .todo files and updated .ignore expectations to preserve protocol binary compatibility until XAMCORE_5_0.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/xtro-sharpie/api-annotations-dotnet/macOS-PassKit.todo Removed resolved PassKit xtro todo entries (file deleted).
tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-PassKit.todo Removed resolved PassKit xtro todo entries (file deleted).
tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-PassKit.ignore Added ignore entries for required protocol members kept non-abstract until XAMCORE_5_0.
tests/xtro-sharpie/api-annotations-dotnet/iOS-PassKit.todo Removed resolved PassKit xtro todo entries (file deleted).
tests/xtro-sharpie/api-annotations-dotnet/iOS-PassKit.ignore Added ignore entries for required protocol members kept non-abstract until XAMCORE_5_0.
tests/introspection/ApiTypoTest.cs Allowed “Humo” in typo validation to accommodate the new payment-network constant.
src/passkit.cs Added/updated PassKit bindings (new APIs, new network fields, and deprecation annotations).

@vs-mobiletools-engineering-service2

This comment has been minimized.

@dalexsoto
dalexsoto enabled auto-merge (squash) July 24, 2026 02:23
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

Comment thread src/passkit.cs Outdated
/// <summary>Gets or sets the issuer identifiers for acceptable document signer certificates.</summary>
/// <remarks>An empty array accepts any document signer certificate. The native API limits this array to 1,000 identifiers and each identifier to 64 bytes; exceeding either limit terminates the app.</remarks>
[iOS (27, 0), MacCatalyst (27, 0), NoMac, NoTV]
#if XAMCORE_5_0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Abstract] doesn't require #if XAMCORE_5_0

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 5ed6616: IssuerIdentifiers is now unconditionally [Abstract], and the obsolete xtro compatibility entries were removed.

Make PKIdentityDocumentDescriptor.IssuerIdentifiers unconditionally abstract so bgen emits the required default interface implementation that matches the native protocol.

Remove the now-obsolete iOS and Mac Catalyst xtro compatibility exceptions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: e1c3e093-685e-41b7-a0f1-b5cc1f305f6e
@dalexsoto
dalexsoto requested a review from rolfbjarne July 24, 2026 06:59
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 5ed6616bdede909df401e3657ad90384c5cd96ed [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #5ed6616] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 200 tests passed 🎉

Tests counts

✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 6 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 15 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 19 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 19 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 19 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ Tests on macOS Golden Gate (27): All 5 tests passed. Html Report (VSDrops) Download

Linux Build Verification

✅ Linux build succeeded

Pipeline on Agent
Hash: 5ed6616bdede909df401e3657ad90384c5cd96ed [PR build]

@dalexsoto
dalexsoto merged commit c5ac83b into xcode27.0 Jul 27, 2026
55 checks passed
@dalexsoto
dalexsoto deleted the dev/alex/xc27-PassKit branch July 27, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants