Xcode 26 Causing StoreKit Fiasco for macOS?

I submitted my last macOS application with IAP on Oct. 23rd, 2025. I was able to test-purchase a non-consumable product with the StoreKit configuration file at that time. These days, every time I test a new macOS application with the configuration file, a purchase process fails. The thing is they all now fail if I test the store with existing applications that were once working. Xcode shows the following debugging error.

Purchase failed with error: systemError(Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service created from an endpoint was invalidated from this process." UserInfo={AMSDescription=An unknown error occurred. Please try again., AMSURL=http://localhost:53272/WebObjects/MZBuy.woa/wa/inAppBuy, NSDebugDescription=The connection to service created from an endpoint was invalidated from this process., AMSStatusCode=200, AMSServerPayload={

All my iOS apps don't exhibit the same problem. This StoreKit fiasco only happens for macOS applications. And I'm thinking that it all started to occur after I began using Xcode 26. Not a single line of code has changed. But the applications that were once able to process IAP all now fail. And I'm suspecting that it's Xcode 26 that is responsible for this failure. My Xcode version is 26.2, by the way. Any macOS application developer experiencing the same problem?

I'm shock to find out that it's not Xcode 26.2 that has caused the IAP fiasco for macOS applications. I ran the latest Mac App Store app that I have submitted with Xcode 16.4. I get the same purchase error.

There was a fix in the following release https://aninterestingwebsite.com/documentation/xcode-release-notes/xcode-26_4-release-notes#Resolved-Issues

Please retry and if still reproducible please file a feedback assistant with a sysdiagnose and screen recording.



Thank you

How to File Feedback assistant ticket? https://feedbackassistant.apple.com/

  • Login with your developer account,
  • Choose "iOS & iPadOS”
  • Choose AppStore
  • “Incorrect & Unexpected behavior"
  • Input the issue description and title.
  • Upload attachements
  • Click “Submit”
  • Copy the Ticket ID “FBxxxxxxx” and let us know.

To capture a system diagnose log. https://aninterestingwebsite.com/bug-reporting/profiles-and-logs/?platform=ios

Thank you, App Store Commerce Engineer. I'm not ready to update my macOS to 26 for now. Well, I have to sleep on it.

Sounds like a frustrating regression. Before chalking it up to a bug, a few things worth trying:

The transaction cache in Xcode's StoreKit environment gets into weird states after major version upgrades. From Xcode, open Debug > StoreKit > Manage Transactions, delete everything in there, then clean build folder (Shift-Cmd-K), nuke DerivedData, and restart Xcode. On the running target, delete the app entirely before re-running.

Second, check your scheme's StoreKit configuration setting. The Xcode 16 to 26 migration has been resetting "StoreKit Configuration" to None on some projects. Edit Scheme > Run > Options, confirm your .storekit file is still selected.

Third, when purchases silently fail without even showing the confirmation sheet, it's usually the store failing to resolve the product ID. Open the .storekit file, hit the refresh/sync icon, and confirm every product identifier matches what your code requests exactly (it's case-sensitive).

Did macOS also update around the same time? When it's not Xcode, it's usually commercekit or storekitd on the host Mac. Console.app filtered by those processes while you try a purchase will tell you if the daemon is the actual culprit.

@BigBalli Thanks, BigBalli. It's not about the product identifier because an old Mac App Store application that has been available also fails in the same manner. Also, it's not about the configuration, because, I created a new one, but an old Mac App Store application still manages to fail in the same manner.

The current situation is a total mess. I guess I should not have installed Xcode 26. Now, I cannot even sign in and out of an iCloud account so easily. The System keeps running a progress wheel for an hour.

I'm bending towards buying a new Mac mini. I'm waiting for a new model with M5.

Xcode 26 Causing StoreKit Fiasco for macOS?
 
 
Q