Repository navigation
[PassKit] Update bindings up to Xcode 27.0 Beta 4 - #26277
Conversation
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
There was a problem hiding this comment.
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
.todofiles and updated.ignoreexpectations to preserve protocol binary compatibility untilXAMCORE_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). |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
| /// <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 |
There was a problem hiding this comment.
[Abstract] doesn't require #if XAMCORE_5_0
There was a problem hiding this comment.
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
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
🚀 [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 macOS tests✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Summary
Validation
make worldSanity check passedXamarin.Tests.AppSizeTestrun (16 expected skips on beta Xcode)