Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 42 additions & 3 deletions .github/upstream-sync-state.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,47 @@
"upstream_repo": "xtool-org/xtool",
"upstream_branch": "main",
"upstream_sha": "27c3022a2c029a18c3ce25915b4233caf823d6a0",
"maintained_branch": "main",
"maintained_branch": "verify/upstream-sync-e2e",
"maintained_base_sha": "fb23eaeaf435e733775102c64984aee34d499601",
"commits_merged": 1,
"latest_upstream_release": "2.0.0-beta.2",
"synced_at_utc": "2026-12-05T07:48:00Z",
"status": "initialized"
"recent_upstream_releases": [
{
"tag": "2.0.0-beta.2",
"name": "v2.0.0-beta.2",
"prerelease": true,
"published_at": "2026-11-25T08:46:38Z",
"url": "https://github.com/xtool-org/xtool/releases/tag/2.0.0-beta.2"
},
{
"tag": "2.0.0-beta.1",
"name": "v2.0.0-beta.1",
"prerelease": true,
"published_at": "2026-11-16T05:33:55Z",
"url": "https://github.com/xtool-org/xtool/releases/tag/2.0.0-beta.1"
},
{
"tag": "1.24.0",
"name": "v1.24.0",
"prerelease": false,
"published_at": "2026-10-26T00:18:19Z",
"url": "https://github.com/xtool-org/xtool/releases/tag/1.24.0"
},
{
"tag": "1.23.0",
"name": "v1.23.0",
"prerelease": false,
"published_at": "2026-10-22T21:29:36Z",
"url": "https://github.com/xtool-org/xtool/releases/tag/1.23.0"
},
{
"tag": "1.22.2",
"name": "v1.22.2",
"prerelease": false,
"published_at": "2026-10-14T00:30:10Z",
"url": "https://github.com/xtool-org/xtool/releases/tag/1.22.2"
}
],
"synced_at_utc": "2026-12-05T08:07:58.295979+00:00",
"status": "pending_review"
}
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ extension MultipathEntitlement: EntitlementWithCapability {
}
}

extension NFCReaderSessionFormatsEntitlement: EntitlementWithCapability {
var capability: DeveloperServicesCapability {
DeveloperServicesCapability(.nfcTagReading, isFree: false)
}
}

extension NetworkExtensionEntitlement: EntitlementWithCapability {
var capability: DeveloperServicesCapability {
DeveloperServicesCapability(.networkExtensions, isFree: false)
Expand Down
16 changes: 16 additions & 0 deletions Sources/XKit/Model/Entitlements/EntitlementTypes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ extension EntitlementContainer {
HomeKitEntitlement.self,
HealthKitEntitlement.self,
AppleSignInEntitlement.self,
NFCReaderSessionFormatsEntitlement.self,
]
}

Expand Down Expand Up @@ -115,6 +116,21 @@ public struct AppleSignInEntitlement: Entitlement, RawRepresentable {
}
}

public struct NFCReaderSessionFormatsEntitlement: Entitlement, RawRepresentable {
public static let identifier = "com.apple.developer.nfc.readersession.formats"

public var rawValue: [String]
public init(rawValue: [String]) { self.rawValue = rawValue }

public init(from decoder: Decoder) throws {
rawValue = try decoder.singleValueContainer().decode([String].self)
}
public func encode(to encoder: Encoder) throws {
var container = encoder.singleValueContainer()
try container.encode(rawValue)
}
}

public enum APSEnvironmentEntitlement: String, Entitlement {
public static let identifier = "aps-environment"

Expand Down