Repository navigation
chore(upstream-sync): sync xtool-org/xtool@27c3022a2c02 - #1
Closed
github-actions[bot] wants to merge 3 commits into
Closed
github-actions[bot] wants to merge 3 commits into
github-actions[bot] wants to merge 3 commits into
Conversation
## What does this PR do? xtool didn't know about the `com.apple.developer.nfc.readersession.formats` entitlement, so the App ID it manages never got the NFC Tag Reading capability (and enabling it manually in the developer portal doesn't help, since the capability sync removes it on the next run). The resulting development profile didn't include the entitlement, and installing failed with: ``` 0xe8008015 (A valid provisioning profile for this executable was not found.) ``` This adds an `NFCReaderSessionFormatsEntitlement` type and maps it to the `NFC_TAG_READING` capability (paid teams only), following the same pattern as xtool-org#377. This covers NFC Tag Reading, the only NFC capability that can be enabled through the App Store Connect API. The other NFC-related entitlements are left out on purpose: HCE (`com.apple.developer.nfc.hce*`) and the NFC & SE Platform (`com.apple.developer.secure-element-credential`) are capabilities Apple grants on request, aren't in Apple's OpenAPI capability enum, and I have no way to test them. The ISO 7816 / FeliCa identifier lists are Info.plist keys, not entitlements, so they don't affect provisioning. ## How was it tested? Built xtool from this change on top of `2.0.0-beta.2` (via `Linux/build.sh` in Docker) and ran `xtool dev` on WSL2 (Ubuntu 24.04) with an App Store Connect API key on a paid team, for an Xcode project whose entitlements contain `com.apple.developer.nfc.readersession.formats = [TAG]`. - Before: the App ID had no NFC capability, the profile lacked the entitlement, and installation failed every time with the error above. - After: the App ID got NFC Tag Reading, the profile included `com.apple.developer.nfc.readersession.formats = [NDEF, TAG, PACE]`, installation succeeded on an iPhone 8 Plus (iOS 16.7), and starting an `NFCTagReaderSession` in the app shows the system scan sheet. Not tested with Apple ID (password) login. ## AI tool usage How much of the code in this PR was AI-assisted? (check one) - [ ] **0** - No AI was used to write code - [x] **1** - I was assisted by AI in writing code. I reviewed the finished result. - [ ] **2** - I set the AI going and left it to it; nobody has read the result - no review, or AI review only <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **New Features** * Added support for the NFC reader-session formats entitlement, including its list of supported formats. * Associated the entitlement with NFC tag reading and marked the capability as non-free. This makes the entitlement available alongside other supported entitlement types and allows its format values to be read and written consistently. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Author
|
Automated Linux compatibility check for upstream |
|
End-to-end automated upstream sync PR creation and Linux compatibility check verified via run https://github.com/ios-linux/xtool/actions/runs/47497034732 (least-privilege GITHUB_TOKEN with read-only org default). Closing temporary verification PR. |
Apdelrahman1911
deleted the
sync/upstream-main-to-verify-upstream-sync-e2e
branch
December 5, 2026 08:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated Upstream Synchronization
https://github.com/xtool-org/xtoolmain@27c3022a2c029a18c3ce25915b4233caf823d6a0verify/upstream-sync-e2e(basefb23eaeaf435, 1 local commits preserved)12.0.0-beta.22026-12-05T08:07:58.295979+00:00Incoming Upstream Commits
Recent Upstream Releases
Review Policy
ios-linuxpatches and optimizations onverify/upstream-sync-e2eare preserved via clean merge.