Skip to content

chore(upstream-sync): sync xtool-org/xtool@27c3022a2c02 - #1

Closed
github-actions[bot] wants to merge 3 commits into
verify/upstream-sync-e2efrom
sync/upstream-main-to-verify-upstream-sync-e2e
Closed

github-actions[bot] wants to merge 3 commits into
verify/upstream-sync-e2efrom
sync/upstream-main-to-verify-upstream-sync-e2e

Conversation

@github-actions

@github-actions github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown

Automated Upstream Synchronization

  • Upstream repository: https://github.com/xtool-org/xtool
  • Upstream branch / SHA: main @ 27c3022a2c029a18c3ce25915b4233caf823d6a0
  • Target maintained branch: verify/upstream-sync-e2e (base fb23eaeaf435, 1 local commits preserved)
  • New upstream commits: 1
  • Latest upstream release: 2.0.0-beta.2
  • Synced at: 2026-12-05T08:07:58.295979+00:00

Incoming Upstream Commits

Recent Upstream Releases

  • 2.0.0-beta.2 (2026-11-25T08:46:38Z, prerelease=True)
  • 2.0.0-beta.1 (2026-11-16T05:33:55Z, prerelease=True)
  • 1.24.0 (2026-10-26T00:18:19Z, prerelease=False)
  • 1.23.0 (2026-10-22T21:29:36Z, prerelease=False)
  • 1.22.2 (2026-10-14T00:30:10Z, prerelease=False)

Review Policy

  • All ios-linux patches and optimizations on verify/upstream-sync-e2e are preserved via clean merge.
  • Do NOT auto-merge until compatibility checks pass and changes are reviewed.

MuTsunTsai and others added 3 commits December 4, 2026 17:54
## 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 -->
@github-actions github-actions Bot added the upstream-sync Automated upstream synchronization label Dec 5, 2026
@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Author

Automated Linux compatibility check for upstream 27c3022a2c029a18c3ce25915b4233caf823d6a0: success (run https://github.com/ios-linux/xtool/actions/runs/47497034732).

@Apdelrahman1911

Copy link
Copy Markdown

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
Apdelrahman1911 deleted the sync/upstream-main-to-verify-upstream-sync-e2e branch December 5, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

upstream-sync Automated upstream synchronization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants