I'm the developer of Freezon, and I ran into this on my own iPhone with the App Store version of the app.
I use the verified AppTransaction.originalPurchaseDate to give Pro access to people who first downloaded the app before a published cutoff. This includes free downloads; I need the original acquisition date of the app itself, not an in-app purchase date.
On this device, AppTransaction.shared repeatedly threw StoreKitError.unknown before returning a VerificationResult:
let result = try await AppTransaction.shared
switch result {
case let .verified(transaction):
let firstAcquisitionDate = transaction.originalPurchaseDate
// Check early-adopter eligibility.
case let .unverified(_, error):
throw error
}
The error occurs at shared, before the switch.
The App Store on this iPhone shows my Apple Account as signed in. However, when I purchase or restore, I keep getting asked for my password, and sometimes for both my Apple Account and password. I used to get the usual purchase confirmation more directly. I don't know whether these prompts are related to the shared failure.
For context:
- App Store release 1.1.1 (2), bundle com.zyiszy.PrivateVault, App Store ID 6810494416.
- The app diagnostic recorded iOS 27.0.1. It did not capture the exact OS build or hardware model.
- In one capture, 13 native shared calls failed between 2026-11-16 01:11:43.824 and 01:13:16.124 UTC. All were matched as StoreKitError.unknown, with NSError domain StoreKit.StoreKitError, code 2, and no underlying error. This is not SKErrorDomain code 2 / payment cancellation.
- The first call failed while the network path was unsatisfied. The next 12 failed with a satisfied path, the app active and protected data available. Those calls returned in 0-1 ms. Bounded retries, with about 2- and 5-second delays, did not help in that capture.
- Product catalog requests succeeded during the same period. I realize that does not confirm connectivity to every App Store endpoint.
- The app does not automatically call refresh() or AppStore.sync() during this eligibility check.
After force-quitting, reopening and using Restore, I eventually got access again. Unfortunately, I don't have a log of the successful recovery, so I can't tell which call succeeded.
Could StoreKit still need fresh authentication even though the App Store shows the account as signed in? Can that cause shared to throw unknown without an underlying error, and is there a supported way to distinguish it from missing app transaction data?
For this acquisition-date check, should the recovery button call AppTransaction.refresh() and use its verified result directly? Is AppStore.sync() needed at all? If more evidence is needed, which StoreKit logs or diagnostic profile should I collect before trying recovery next time?
I also submitted DTS Case-ID: 23550827 with a small Xcode project and the redacted timeline. The project builds and isolates the API calls, but it has its own bundle identity and does not reproduce this production account state.