Hi Team,
In the past few days, I am seeing more failure in-app purchases due to "cannot connect app store ". It's impacting more user to access my in-app purchases feature
Could you please help to resolve these issues
Hi Team,
In the past few days, I am seeing more failure in-app purchases due to "cannot connect app store ". It's impacting more user to access my in-app purchases feature
Could you please help to resolve these issues
The error string "Cannot connect to app store" is the errorString that is returned when SKError = 0. Since I don't know what the SKError is, this is a guess. SKError == 0 is a generic error indicating that a problem occurred, but StoreKit could not specify the exact reason. Interestingly, if the user presses the Cancel button on the Authentication dialog, SKError = 0 is returned with the failedTransactionState result to the updatedTransactions delegate method.
Whenever, I hear of infrequent SKError = 0 failed transactions which are not the result of a cancelled transaction, I first think that the transactionObserver is being installed from the StoreKit use ViewController - rather than at app launch time - preferably from the didFinishLaunchingWithOptions app delegate method. This may not be the case with your app, but it's something to check. If you would like me to help investigate this issue, I can do so if you would submit for a Developer Technical Support incident. <https://developer.apple.com/support/technical/>
This might also be a bug report issue - which is what I might find and suggest that you submit a report - here's the instructions to do so. doesn't hurt to submit the bug report, and if you also submit for DTS support, then I can review the console log contents.
Here are the instructions to install the StoreKit profile
Install StoreKit profile to an iOS 11+ device
Please login to the Apple Developer Bug Report - Profiles and Logs website
<https://developer.apple.com/bug-reporting/profiles-and-logs/> using Safari on the device you will use to replicate the problem with.
Click the “Profile” URL associated with the “App Store/iTunes Store for iOS” item. You will download the “itmsdebugging.mobileconfig” file.
For iOS 12.2 or later, you will open the Settings app -> General -> Profiles & Device Management -> iTunes and App Stores Diagnostic logging -> press Install
For devices with less than iOS 12.2, - PLEASE RESTART THE DEVICE
Review the following article on testing StoreKit apps
CAPTURE THE DEVICE CONSOLE LOG - connect the device to a macOS X Sierra system (macOS X 10.12.x or newer)
1. Launch the Console app on the macOS system, and select the device in the left side of the Console window
2. Before starting the iOS app, click “Clear”.
3. Start the application and perform the steps to replicate the problem.
4. When the issue occurs, save the contents of the Console log
Check the contents of the console log for the string “fetchSoftwareAddOns”. If this string is not present in the log, the profile was not active. Please re-install the StoreKit profile and make sure to restart the device.
If the string is found, this indicates that the profile was successfully installed and is active. Save the entire contents (not a filtered set) of the console log to a text file.
To submit a bug report, please use the Apple Developer Feedback web page -
<https://feedbackassistant.apple.com/>.
Enter the “Feedback Assistant” page and login
Click on the Compose icon to start a new bug report
Start by clicking on the appropriate OS button - “iOS and iPadOS”, “tvOS”, or “macOS”
1. In the “Descriptive Title” field, enter an appropriate description.
2. In the “Problem Area” field select “StoreKit”
3. In the “Type of Feedback” select “Incorrect / Unexpected Behavior”
4. In the “Describe the Issue” section enter the following
- application ID (and In-App Purchase identifiers if appropriate)
- sandbox or production environment
- the instructions for finding the “Buy” button to purchase the In-App Purchase item.
(if the app is not in English, please provide screenshots)
5. If you have captured a console log - drop it onto the “Drop Files to upload”.
rich kubota - rkubota@apple.com
developer technical support CoreOS/Hardware/MFI