

Here are the debug logs for launching the app, navigating to the paywall, then tapping purchase. But, it seems it’s automatically returning a successful transaction, but entitlements are empty. Instead, the iOS purchase sheet still doesn’t appear at all. Now, I no longer am getting the purchase cancelled error. I updated from the legacy API Key, then updating calling configure with setting “usesStoreKit2IfAvailable” to true. Error Domain=RevenueCat.ErrorCode Code=1 "Purchase was cancelled." UserInfo=įollow up, I forgot about the debug log level setting and turning that on provided some direction. Here is what I get when I print out the error. It seems to only be an issue while using the simulator with iOS 16.

If I try this on my own iOS 16 device, 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 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. Updated to RevenueCat 4.9.0 and still seeing the issue. Select/click simulator from list, which you need to download.I’ve encountered an issue using Xcode 14 beta 4.That will open 'Component' window (from Xcode > Preferences). At the end of list, there is an option to add new simulator " Download Simulator".Look at this snapshot to understand flow of above steps:Īnd if there is no simulator/OS version in simulator list, you're looking for, OS Version: Select OS version from this dropdown listĪ new simulator will be added in your Simulator option list.Device Type: Select iPad from this dropdown list.

Simulator Name: Enter simulator name here.Click on '+' icon, on left bottom corner of window.There are three field in simulator tab.That will open 'Device & Simulator' window. At the end of list, there is an option to add new simulator " Add Additional Simulator".Click on Simulator icon and open simulator list.only the latest revision is kept in the list.)įollow these steps to add a (new) simulator (Xcode 9 onwards) In Xcode, in the Downloads section, start the Simulator download again, it should find the file you downloaded and install it. In case directory ~/Library/Caches/.Xcode don't have download folder then, just click Show package content create Downloads folder, before moving the dmg file. In some cases, we have to remove all *.dvtdownloadableindex files (maybe it doesn't matter, I didn't remove them). To add iOS Simulator in XCode perform below steps:Īfter download completes, copy this file to ~/Library/Caches/.Xcode/Downloads
