Any progress here? Still not working as of Xcode 15.2. The 16.4 simulator isn't working for me either.
I'm getting:
Error enumerating unfinished transactions: Error Domain=ASDErrorDomain Code=500 "(null)" UserInfo={NSUnderlyingError=0x600000c5b780 {Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedDescription=Invalid Status Code, AMSURL=http://localhost:50398/inApps/history?REDACTED, AMSStatusCode=400, NSLocalizedFailureReason=The response has an invalid status code}}, storefront-country-code=USA, client-environment-type=XcodeTest(file:///Users/usrname/Library/Developer/XCTestDevices/AACF3F51-FA80-45B6-B9F1-A47574CE548F/data/Containers/Shared/AppGroup/749C8FFE-AF64-4A2D-A041-E19F365027A2/Documents/Persistence/Octane/com.apple.dt.xctest.tool/)}
Missing transaction data for purchase
Purchase did not return a transaction: unknown
If I set the simulated error to nil it's not working either.
If I use let p = try await session.buyProduct(identifier: products.first!.id) I'm getting:
Failed to complete off-device buy for appstore.xyz. The purchase was successul, but it didn't return the expected transaction JWS.
error Error Domain=SKErrorDomain Code=0 "(null)"
Edit: Looks like it requires a host app. Then it works
Post
Replies
Boosts
Views
Activity
Hey,
did you ever solve this?
Nevermind. Looks like it was a config that I had set that broke it. Doesn't have anything to do with Xcode:p
Thank you! The problem was actually related to a misunderstanding on my part on some stencil buffer operations. Works now as expected!