Post

Replies

Boosts

Views

Activity

Reply to Mergeable Library in XCTest with iOS on Mac Target: 3588 Error
Thanks for the reply! And yeah, I had noticed that but it didn't really get me anywhere. I ended up abandoning the approach. When I commented out the module the next merged module would throw an error. And the crux really was that it worked in the regular sim or with the Mac target and mergeable libraries turned off so I felt like I'd be unlikely to really resolve it:/
Dec ’24
Reply to Xcode 15 beta 8: try await .purchase() consistently throws StoreKitError.Unknown during XCTest on iOS 17 simulator
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
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’24