Question

Issue with Xcode 14 beta 4 and iOS 16 Simulator


Badge +1

I’ve encountered an issue using Xcode 14 beta 4. Updated to RevenueCat 4.9.0 and still seeing the issue. If I use a StoreKit config file with an iOS 16 simulator, when I attempt to make a purchase, the iOS pay dialog never appears and I get RevenueCat.ErrorCode Code=1 "Purchase was cancelled." If I switch to an iOS 15 simulator, it works fine. If I switch to a different scheme that doesn’t use StoreKit, I get the iOS dialog to sign in. If I try this on my own iOS 16 device, it works fine. It seems to only be an issue while using the simulator with iOS 16. Here is what I get when I print out the error.

Error Domain=RevenueCat.ErrorCode Code=1 "Purchase was cancelled." UserInfo={source_file=RevenueCat/SKError+Extensions.swift:33, source_function=asPurchasesError, readable_error_code=PURCHASE_CANCELLED, NSLocalizedDescription=Purchase was cancelled., NSUnderlyingError=0x7f85d1a9e2e0 {Error Domain=SKErrorDomain Code=2 "(null)" UserInfo={NSUnderlyingError=0x7f85d1a9e260 {Error Domain=ASDErrorDomain Code=907 "Unhandled exception" UserInfo={NSUnderlyingError=0x7f85d1a90340 {Error Domain=AMSErrorDomain Code=6 "Payment Sheet Failed" UserInfo=0x7f85d1a06d40 (not displayed)}, NSLocalizedDescription=Unhandled exception, NSLocalizedFailureReason=An unknown error occurred}}}}}

 


24 replies

Badge +1

Follow up, I forgot about the debug log level setting and turning that on provided some direction. I updated from the legacy API Key, then updating calling configure with setting “usesStoreKit2IfAvailable” to true.

Now, I no longer am getting the purchase cancelled error. Instead, the iOS purchase sheet still doesn’t appear at all. But, it seems it’s automatically returning a successful transaction, but entitlements are empty. Here are the debug logs for launching the app, navigating to the paywall, then tapping purchase.

2022-08-01 12:19:16.622998-0400 FourSix[17479:13155618] [Purchases] - DEBUG: 👤 Identifying App User ID
2022-08-01 12:19:16.653065-0400 FourSix[17479:13155618] [Purchases] - DEBUG: ℹ️ Debug logging enabled
2022-08-01 12:19:16.653406-0400 FourSix[17479:13155618] [Purchases] - INFO: ℹ️ StoreKit 2 support enabled
2022-08-01 12:19:16.653761-0400 FourSix[17479:13155618] [Purchases] - DEBUG: ℹ️ SDK Version - 4.9.0
2022-08-01 12:19:16.654072-0400 FourSix[17479:13155618] [Purchases] - DEBUG: 👤 No initial App User ID
2022-08-01 12:19:18.158162-0400 FourSix[17479:13155618] [Purchases] - DEBUG: ℹ️ CustomerInfo cache is stale, updating from network in foreground.
2022-08-01 12:19:18.162149-0400 FourSix[17479:13155775] [Purchases] - DEBUG: ℹ️ GetCustomerInfoOperation: Started
2022-08-01 12:19:18.162603-0400 FourSix[17479:13155775] [Purchases] - DEBUG: ℹ️ There are no requests currently running, starting request GET subscribers/$RCAnonymousID%3A2b6997bc509e4e4d85ad1de4bbfa0e37
2022-08-01 12:19:18.168668-0400 FourSix[17479:13155618] [Purchases] - DEBUG: ℹ️ CustomerInfo cache is stale, updating from network in foreground.
2022-08-01 12:19:18.173056-0400 FourSix[17479:13155775] [Purchases] - DEBUG: ℹ️ API request started: GET /v1/subscribers/$RCAnonymousID:2b6997bc509e4e4d85ad1de4bbfa0e37
2022-08-01 12:19:18.198414-0400 FourSix[17479:13155618] [Purchases] - DEBUG: ℹ️ applicationDidBecomeActive
2022-08-01 12:19:18.198947-0400 FourSix[17479:13155618] [Purchases] - DEBUG: ℹ️ CustomerInfo cache is stale, updating from network in foreground.
2022-08-01 12:19:18.201373-0400 FourSix[17479:13155618] [Purchases] - DEBUG: ℹ️ Offerings cache is stale, updating caches
2022-08-01 12:19:19.107686-0400 FourSix[17479:13155776] [Purchases] - DEBUG: ℹ️ API request completed: GET /v1/subscribers/$RCAnonymousID:2b6997bc509e4e4d85ad1de4bbfa0e37 201
2022-08-01 12:19:19.175477-0400 FourSix[17479:13155776] [Purchases] - DEBUG: ℹ️ Sending latest CustomerInfo to delegate.
2022-08-01 12:19:19.175763-0400 FourSix[17479:13155776] [Purchases] - DEBUG: 😻 CustomerInfo updated from network.
2022-08-01 12:19:19.177741-0400 FourSix[17479:13155776] [Purchases] - DEBUG: 😻 CustomerInfo updated from network.
2022-08-01 12:19:19.179409-0400 FourSix[17479:13155776] [Purchases] - DEBUG: 😻 CustomerInfo updated from network.
2022-08-01 12:19:19.179666-0400 FourSix[17479:13155776] [Purchases] - DEBUG: ℹ️ GetCustomerInfoOperation: Finished
2022-08-01 12:19:19.180084-0400 FourSix[17479:13155776] [Purchases] - DEBUG: ℹ️ Serial request done: GET subscribers/$RCAnonymousID%3A2b6997bc509e4e4d85ad1de4bbfa0e37, 0 requests left in the queue
2022-08-01 12:19:19.180130-0400 FourSix[17479:13155778] [Purchases] - DEBUG: ℹ️ GetOfferingsOperation: Started
2022-08-01 12:19:19.180470-0400 FourSix[17479:13155778] [Purchases] - DEBUG: ℹ️ There are no requests currently running, starting request GET subscribers/$RCAnonymousID%3A2b6997bc509e4e4d85ad1de4bbfa0e37/offerings
2022-08-01 12:19:19.182035-0400 FourSix[17479:13155778] [Purchases] - DEBUG: ℹ️ API request started: GET /v1/subscribers/$RCAnonymousID:2b6997bc509e4e4d85ad1de4bbfa0e37/offerings
2022-08-01 12:19:19.212960-0400 FourSix[17479:13155771] [Purchases] - DEBUG: ℹ️ API request completed: GET /v1/subscribers/$RCAnonymousID:2b6997bc509e4e4d85ad1de4bbfa0e37/offerings 200
2022-08-01 12:19:19.216936-0400 FourSix[17479:13155771] [Purchases] - DEBUG: ℹ️ GetOfferingsOperation: Finished
2022-08-01 12:19:19.217353-0400 FourSix[17479:13155771] [Purchases] - DEBUG: ℹ️ Serial request done: GET subscribers/$RCAnonymousID%3A2b6997bc509e4e4d85ad1de4bbfa0e37/offerings, 0 requests left in the queue
2022-08-01 12:19:25.741569-0400 FourSix[17479:13155739] [Purchases] - DEBUG: ℹ️ Vending Offerings from cache
2022-08-01 12:19:28.046850-0400 FourSix[17479:13155739] [Purchases] - INFO: 💰 Purchasing Product 'com.jonduenas.FourSixCoffeeTimer.FourSixPro' from package in Offering 'default'
2022-08-01 12:19:28.074930-0400 FourSix[17479:13155775] [Purchases] - DEBUG: ℹ️ Force refreshing the receipt to get latest transactions from Apple.
2022-08-01 12:19:28.117665-0400 FourSix[17479:13155775] [Purchases] - DEBUG: ℹ️ Loaded receipt from url file:///Users/jonduenas/Library/Developer/CoreSimulator/Devices/C117174B-312A-4572-B93D-10F6A6888C48/data/Containers/Data/Application/ACFFE8B2-5C64-4726-903D-21FB27DC90DD/StoreKit/receipt
2022-08-01 12:19:28.118389-0400 FourSix[17479:13155739] [Purchases] - DEBUG: ℹ️ Skipping products request because products were already cached. products: ["com.jonduenas.FourSixCoffeeTimer.FourSixPro"]
2022-08-01 12:19:28.119635-0400 FourSix[17479:13155618] [Purchases] - DEBUG: ℹ️ Found 0 unsynced attributes for App User ID: $RCAnonymousID:2b6997bc509e4e4d85ad1de4bbfa0e37
2022-08-01 12:19:28.130069-0400 FourSix[17479:13155775] [Purchases] - DEBUG: ℹ️ PostReceiptDataOperation: Started
2022-08-01 12:19:28.130340-0400 FourSix[17479:13155775] [Purchases] - DEBUG: ℹ️ There are no requests currently running, starting request POST receipts
2022-08-01 12:19:28.133944-0400 FourSix[17479:13155775] [Purchases] - DEBUG: ℹ️ API request started: POST /v1/receipts
2022-08-01 12:19:28.419311-0400 FourSix[17479:13155775] [Purchases] - DEBUG: ℹ️ API request completed: POST /v1/receipts 200
2022-08-01 12:19:28.422726-0400 FourSix[17479:13155775] [Purchases] - DEBUG: ℹ️ PostReceiptDataOperation: Finished
2022-08-01 12:19:28.423191-0400 FourSix[17479:13155775] [Purchases] - DEBUG: ℹ️ Serial request done: POST receipts, 0 requests left in the queue
2022-08-01 12:19:28.425492-0400 FourSix[17479:13155618] [Purchases] - DEBUG: ℹ️ Sending updated CustomerInfo to delegate.
2022-08-01 12:19:28.425899-0400 FourSix[17479:13156021] [Purchases] - INFO: 😻💰 Purchased product - 'com.jonduenas.FourSixCoffeeTimer.FourSixPro'

 

Userlevel 4
Badge +8

Hi! 👋🏻 Thanks for reporting!

These are definitely unexpected. 

Just to clarify, this doesn’t happen on Xcode 13, right? 

Have you tried a physical device _without_ using storekit configuration files? 

The fact that there’s a difference in behavior between StoreKit 1 and StoreKit 2 suggests a bug in StoreKit. I haven’t been able to reproduce this so far, though, but the logs do represent what you described - the purchase started and was confirmed right away on Sk2. 

I wonder if in StoreKit 2, the default value for disableDialogs is getting set to true by default. 

Could you try doing: 

let testSession = try SKTestSession(configurationFileNamed “myConfig.storekit”)

testSession.disableDialogs = false

 

And seeing if that makes a difference? 

Badge +1

Just to clarify, this doesn’t happen on Xcode 13, right? 

Correct. And even in Xcode 14, it’s only on iOS 16 simulators.

Have you tried a physical device _without_ using storekit configuration files?

Interesting thing happens when I try it on my iOS 16 physical device from a Test Flight build. Usually, on a new install (delete the app and reinstall), if I tap to purchase I get the pay sheet. Currently, if I tap purchase, the pay sheet doesn’t show, but my app acts as if the payment was completed successfully (entitlements all activate). My code calls func purchase(package: Package) async throws -> PurchaseResultData and then checks if userCancelled, then the customerInfo for the expected entitlement. In the simulator currently, userCancelled is returning true. On Test Flight it must be not showing up as cancelled or getting an error, and the entitlement is being found even without the payment sheet ever showing. Not sure if it’s treating it like a restore or not because the device has made the purchase in the past? Either way, this is an entirely different behavior than I’ve noticed in the past.

Speaking of in the past, all of this used to work just fine, even on iOS 16. Not sure if it’s Xcode 14 beta 4 and/or iOS 16 beta 4 that started this or not, but I’m 100% positive some previous beta builds were working fine.

I wonder if in StoreKit 2, the default value for disableDialogs is getting set to true by default. 

Could you try doing: 

let testSession = try SKTestSession(configurationFileNamed “myConfig.storekit”)

testSession.disableDialogs = false

 

And seeing if that makes a difference? 

I’m not familiar with using SKTestSession. Trying to get it to work on my project and failing. Is this for running with XCTest? I’m a bit confused how I would get that code to work when testing manually with the simulator, not running automated tests.

Another detail to add, usually for the StoreKit config file, I can do things from the Edit menu like set it to fail transactions with specific errors, enable ask to buy, etc. Normally I see these reflected when making purchases in the simulator. These are getting bypassed entirely as well. It does work when I change the default storefront though (currency changes), but simulating App Store transactions doesn’t seem to reflect any changes to the config file.

Badge +1

Tried one more thing this morning. I switched back to Xcode 14 beta 3 and tried it and the payment sheet showed up just fine. I’ve tried searching anyone else posting about this issue online and not seeing it, but clearly the same code works fine on beta 3. I think I’ll just submit a radar with Apple.

Userlevel 4
Badge +8

@jonduenas thank you for the detailed responses! 

That makes sense. About the XCTest thing, that’s my bad - I’m so used to using SKTestSession for testing that I forgot that it requires importing StoreKitTest and XCTest. 

Please keep us posted if you get a reply to the radar! We’ll continue to test this on every beta

Userlevel 1
Badge +2

I see the same behavior, using Xcode 14 RC and RevenueCat 4.11.0 → Everything else is as described in the original post: Upon triggering a purchase in the Xcode Simulator for an iOS 16 device, the iOS pay sheet never is being shown and I receive the error “🍎‼️ Purchase was cancelled.” On the iOS 15 simulator, everything works as expected.

 

Has there been any update on this?

Badge +1

The feedback I submitted is FB11064710 if you want to reference it in your own feedback with Apple. I never got any actual response from Apple through the official Feedback app. I did however get to talk with an Apple employee who works on the StoreKit team through other channels. They’ve seen the feedback, and supposedly followed up in the official channel, but I have yet to see it on my end for some reason. Back when Beta 5 came out they told me (through the unofficial communication) that they thought it was fixed, but that wasn’t true for me, and it’s been persisting through all subsequent betas (and the release candidate). This is all whether or not I have StoreKit2 enabled through Revenue Cat.

 

Two other things worth mentioning.

  1. I now consistently am getting a crash report pop up that is telling me PassbookUIService is crashing when attempting to get the payment sheet to display. I added that to my radar.
  2. There was a brief moment where it was working just fine. I bought a new 14” M1 MacBook Pro recently, and the first time I tested it out on that, suddenly it was working fine. I thought maybe it had something to do with M1 vs Intel somehow, but since then it started occurring on my M1 as well and I haven’t been able to get it to work again. So, just another layer of mystery to add to the problem.

I’d say it’s a good idea to submit your own feedback to Apple and reference my feedback ID so they have more info. You’re the only other person I’ve come across having this issue though.

Badge +3

I also have this problem trying to purchase in the Xcode 14.0.0 RC iOS 16 Simulator.

It works fine on device.

I also get an Xcode PassbookUIService crash 🤷🏻‍♂️ not sure if it’s related.

 

2022-10-06 14:51:43.967686+0100 MyApp[9816:160259] [Purchases] - DEBUG: 👤 Identifying App User ID
2022-10-06 14:51:43.975063+0100 MyApp[9816:160259] [Purchases] - DEBUG: ℹ️ Debug logging enabled
2022-10-06 14:51:43.975304+0100 MyApp[9816:160259] [Purchases] - INFO: ℹ️ StoreKit 2 support enabled
2022-10-06 14:51:43.975448+0100 MyApp[9816:160259] [Purchases] - DEBUG: ℹ️ SDK Version - 4.12.1
2022-10-06 14:51:43.975616+0100 MyApp[9816:160259] [Purchases] - DEBUG: ℹ️ Bundle ID - com.xxxxx.myapp
2022-10-06 14:51:43.975737+0100 MyApp[9816:160259] [Purchases] - DEBUG: 👤 No initial App User ID
2022-10-06 14:51:43.976174+0100 MyApp[9816:160259] [Purchases] - DEBUG: ℹ️ Delegate set
2022-10-06 14:51:43.993028+0100 MyApp[9816:160259] [Purchases] - WARN: 🍎‼️ Fetching AdServices attribution token failed with error: Error generating token
2022-10-06 14:51:43.993920+0100 MyApp[9816:160259] [Purchases] - DEBUG: ℹ️ No cached Offerings, fetching from network
2022-10-06 14:51:43.995420+0100 MyApp[9816:160884] [Purchases] - DEBUG: ℹ️ GetOfferingsOperation: Started
2022-10-06 14:51:43.995774+0100 MyApp[9816:160259] [Purchases] - DEBUG: ℹ️ Vending CustomerInfo from cache.
2022-10-06 14:51:43.995981+0100 MyApp[9816:160884] [Purchases] - DEBUG: ℹ️ There are no requests currently running, starting request GET subscribers/$RCAnonymousID%3Abc7eb16121d3414d8c06ae410d2d0f83/offerings
2022-10-06 14:51:44.002259+0100 MyApp[9816:160259] [Purchases] - DEBUG: ℹ️ CustomerInfo cache is stale, updating from network in foreground.
2022-10-06 14:51:44.006647+0100 MyApp[9816:160884] [Purchases] - DEBUG: ℹ️ API request started: GET /v1/subscribers/$RCAnonymousID:bc7eb16121d3414d8c06ae410d2d0f83/offerings
2022-10-06 14:51:44.335773+0100 MyApp[9816:160259] [Purchases] - DEBUG: ℹ️ applicationDidBecomeActive
2022-10-06 14:51:44.336490+0100 MyApp[9816:160259] [Purchases] - DEBUG: ℹ️ CustomerInfo cache is stale, updating from network in foreground.
2022-10-06 14:51:44.336737+0100 MyApp[9816:160259] [Purchases] - DEBUG: ℹ️ Offerings cache is stale, updating caches
2022-10-06 14:51:44.340940+0100 MyApp[9816:160259] [Purchases] - WARN: 🍎‼️ Fetching AdServices attribution token failed with error: Error generating token
2022-10-06 14:51:52.687560+0100 MyApp[9816:160891] [Purchases] - DEBUG: ℹ️ API request completed: GET /v1/subscribers/$RCAnonymousID:bc7eb16121d3414d8c06ae410d2d0f83/offerings 304
2022-10-06 14:51:52.692757+0100 MyApp[9816:160891] [Purchases] - DEBUG: ℹ️ GetOfferingsOperation: Finished
2022-10-06 14:51:52.692839+0100 MyApp[9816:160884] [Purchases] - DEBUG: ℹ️ No existing products cached, starting store products request for: ["bs2_199_1m", "bs_349_1m_1w0", "bs_2499_1y_1w0", "bs2_1999_1y_1W0", "bs_349_1m_3d0", "bs_349_1m"]
2022-10-06 14:51:52.693066+0100 MyApp[9816:160894] [Purchases] - DEBUG: ℹ️ No existing products cached, starting store products request for: ["bs_2499_1y_1w0", "bs_349_1m_3d0", "bs_349_1m_1w0", "bs_349_1m", "bs2_199_1m", "bs2_1999_1y_1W0"]
2022-10-06 14:51:52.693098+0100 MyApp[9816:160891] [Purchases] - DEBUG: ℹ️ Serial request done: GET subscribers/$RCAnonymousID%3Abc7eb16121d3414d8c06ae410d2d0f83/offerings, 0 requests left in the queue
2022-10-06 14:51:52.693275+0100 MyApp[9816:160879] [Purchases] - DEBUG: ℹ️ GetCustomerInfoOperation: Started
2022-10-06 14:51:52.693549+0100 MyApp[9816:160879] [Purchases] - DEBUG: ℹ️ There are no requests currently running, starting request GET subscribers/$RCAnonymousID%3Abc7eb16121d3414d8c06ae410d2d0f83
2022-10-06 14:51:52.694095+0100 MyApp[9816:160884] [Purchases] - DEBUG: ℹ️ No existing products cached, starting store products request for: ["bs2_199_1m", "bs2_1999_1y_1W0", "bs_2499_1y_1w0", "bs_349_1m_3d0", "bs_349_1m_1w0", "bs_349_1m"]
2022-10-06 14:51:52.695428+0100 MyApp[9816:160879] [Purchases] - DEBUG: ℹ️ API request started: GET /v1/subscribers/$RCAnonymousID:bc7eb16121d3414d8c06ae410d2d0f83
2022-10-06 14:51:52.754534+0100 MyApp[9816:160879] [Purchases] - DEBUG: 😻 Store products request request received response
2022-10-06 14:51:52.755523+0100 MyApp[9816:160879] [Purchases] - DEBUG: ℹ️ Store products request finished
2022-10-06 14:51:52.780808+0100 MyApp[9816:160894] [Purchases] - DEBUG: 😻 Store products request request received response
2022-10-06 14:51:52.781112+0100 MyApp[9816:160894] [Purchases] - DEBUG: ℹ️ Store products request finished
2022-10-06 14:51:52.807907+0100 MyApp[9816:160894] [Purchases] - DEBUG: 😻 Store products request request received response
2022-10-06 14:51:52.808169+0100 MyApp[9816:160894] [Purchases] - DEBUG: ℹ️ Store products request finished
Finished: Arriva
2022-10-06 14:51:57.078377+0100 MyApp[9816:160887] [Purchases] - DEBUG: ℹ️ API request completed: GET /v1/subscribers/$RCAnonymousID:bc7eb16121d3414d8c06ae410d2d0f83 304
2022-10-06 14:51:57.086823+0100 MyApp[9816:160887] [Purchases] - DEBUG: ℹ️ Sending latest CustomerInfo to delegate.
2022-10-06 14:51:57.087048+0100 MyApp[9816:160887] [Purchases] - DEBUG: 😻 CustomerInfo updated from network.
2022-10-06 14:51:57.088558+0100 MyApp[9816:160887] [Purchases] - DEBUG: 😻 CustomerInfo updated from network.
2022-10-06 14:51:57.089715+0100 MyApp[9816:160887] [Purchases] - DEBUG: 😻 CustomerInfo updated from network.
2022-10-06 14:51:57.089879+0100 MyApp[9816:160887] [Purchases] - DEBUG: ℹ️ GetCustomerInfoOperation: Finished
2022-10-06 14:51:57.090078+0100 MyApp[9816:160887] [Purchases] - DEBUG: ℹ️ Serial request done: GET subscribers/$RCAnonymousID%3Abc7eb16121d3414d8c06ae410d2d0f83, 0 requests left in the queue
2022-10-06 14:52:14.105862+0100 MyApp[9816:160259] [Purchases] - DEBUG: ℹ️ Vending Offerings from cache
2022-10-06 14:52:16.712221+0100 MyApp[9816:160259] [Purchases] - INFO: 💰 Purchasing Product 'bs2_1999_1y_1W0' from package in Offering 'cheaper_yearly_1weekfree_monthly_0daysfree'
2022-10-06 14:52:17.907889+0100 MyApp[9816:160259] [Purchases] - DEBUG: ℹ️ applicationDidBecomeActive
2022-10-06 14:52:17.915878+0100 MyApp[9816:160259] [Purchases] - WARN: 🍎‼️ Fetching AdServices attribution token failed with error: Error generating token
2022-10-06 14:52:17.971872+0100 MyApp[9816:160887] [Purchases] - DEBUG: ℹ️ Vending CustomerInfo from cache.
2022-10-06 14:52:17.973126+0100 MyApp[9816:160259] [Purchases] - ERROR: 🍎‼️ Purchase was cancelled.

Badge +2

It's definitely not working with Xcode 14 and ios Simulator 16.0, I'm getting the same error. How can we solve it? can someone help?

Badge +1

I have the same. I saw also that App Reviewer also get the same kind of error (PURCHASE_CANCELLED) while my app review. What should I do?

Badge +3

I have the same. I saw also that App Reviewer also get the same kind of error (PURCHASE_CANCELLED) while my app review. What should I do?

That is very worrying if it’s affecting App Review too. Is there a way we can escalate this with RC?

Badge +1

@Andy can you look on it? I’m using 4.13.1 version of RevenueCat. Additional I’ve got crash from Xcode after purchasing item

Badge +3

Actually, it seems this only affects the iPhone 14 simulator. If I use the iPhone 13 simulator on the same iOS version, it works fine.

Badge +1

I’ve worked on iPhone 13 Pro Max. Changing simulator doesn’t worked for me

Badge +3

I’ve worked on iPhone 13 Pro Max. Changing simulator doesn’t worked for me

Strange. iPhone 13 Pro Max iOS 16.0 works fine for me. iPhone 14 Pro Max iOS 16.0 doesn’t.

Badge +1

What kind of Xcode version you using? beta or not?

Badge +3

What kind of Xcode version you using? beta or not?

Xcode 14.0.0 Release Candidate.

I do have 14.1.0 Beta 3 installed, but I'm not using it.

Badge +1

I’m using 14.0.1 RC. Maybe here it’s a problem. Some problem with this Xcode version 

Badge +3

I didn’t even know there was a .1 new release.

I’ll get it installed and test.

Badge +3

Here’s something weird.

I just tried on my M1 iMac, and it just works fine. Exactly the same setup (Xcode 14.0.0 RC).

Yet on my Intel i7 MBP I can’t purchase on the iPhone 14 sim 🤔

Badge +3

Reset all data and settings in simulator and it’s working again.

Badge +1

Unfortunately for me it doesn’t work

Userlevel 4
Badge +8

I’d personally still recommend always testing purchases on physical devices. Simulators weren’t even able to make purchases until recently, and App Review and customers will be using physical devices. You can still use StoreKit Configuration files on physical devices if you want, although I’d also recommend trying Sandbox every now and then, since again, it’s what App Review and TestFlight users will be using. 

Resetting simulators might help, and you can also try using new beta xcodes just in case. 

Badge +2

Using a simulator with iOS 15.0 solved the problem

Reply