Jettison Mac App Store



December 29 2020 by Jeff Johnson
Support this blog: StopTheMadness, Link Unshortener, Underpass, PayPal.Me

In its relentless zeal to release major macOS updates every year, Apple is leaving its users behind. Not just behind in their macOS versions but also behind in their app versions installed from the Mac App Store. Many macOS Mojave users, including myself, have experienced frequent failures of App Store to update their installed apps. Whenever this occurs, App Store shows the completely unhelpful error message 'cancelled'.

Download apps and games. Browse, purchase, and download apps for your iPhone, iPad, iPod touch, Mac, Apple Watch, or Apple TV in the App Store.

Jettison (Mac App Store link) doesn’t offer as many bells and whistles as UnDock, but it has one unique advantage: It’s entirely automatic. With Jettison running, you simply close your MacBook’s. Jettison will make a copy of your App Store receipt (which is embedded in the Jettison application that you downloaded from the Mac App Store). You can then copy Jettison to your applications folder, deleting the version that you got from the Mac App Store. The Mac App Store has a lot of the same developer limitations that the iOS app store has - long product and update review delays, restricted functionality, and that 30 percent off the top of the. Jettison eliminates the hassle of manually ejecting external drives before you put your MacBook to sleep. With Jettison, you just close your MacBook, unplug and go! 'This software is a welcome utility! I can't count how many times I've closed my MacBook Pro lid and forgot to eject external drives first.'

This issue has been occurring for some time. Rob Griffiths blogged about it a month ago. I don't know exactly when it started. The Mac OCSP appocalypse, as I call it, occurred on November 12, but that may just be a coincidence. In any case, the issue seems somewhat random, though persistent. And as far as I can tell, it only occurs on Mojave, not on Catalina or Big Sur (or High Sierra, which still has an older version of the Mac App Store from before it was revamped).

I decided to investigate, and I was able to catch the problem occurring with a packet trace and the Console log simultaneously. Below is a screenshot of the packet trace in Wireshark. You can see that my Mac establishes an https connection with osxapps.itunes.apple.com, receives some data, and then closes the connection (FIN).

Below is the Console log from the same time period. The commerce process (which also appears in Activity Monitor) is doing most of the work here. Again, you can see the connection to the https://osxapps.itunes.apple.com/ URL. And TCP Conn Cancel indicates that commerce has closed the connection. The error message: load failed with error Error Domain=NSURLErrorDomain Code=-999 'cancelled'. This error is documented, but the documentation is not very informative: 'NSURLSession sends this error to its delegate when a task is cancelled.' We still don't know why it was cancelled.

Jettison mac app store windows 10

I ended both screenshots at the moment when the connection is cancelled, but right after that the commerce process passes the error back to the appstoreagent process, which then logs [PreflightManager]: Preflight fetch failed with error - Error Domain=NSURLErrorDomain Code=-999 'cancelled' with the https://osxapps.itunes.apple.com/itunes-assets/ URL, and then [PreflightManager]: Displaying preflight error dialog Error Domain=NSURLErrorDomain Code=-999 'cancelled', at which point we see the error dialog in the first screenshot.

I hope that Apple can use this information to narrow down the problem and fix it. Since the problem hasn't always occurred on Mojave, and it seems to be the result of some data downloaded from apple.com, it's possible that the problem could be fixed on the server side without having to release a Mojave software update to all Mac users (which is unlikely at this point except for security updates). I am able to directly download from the https://osxapps.itunes.apple.com/itunes-assets/ URL, the result of which is a pfpkg file (preflight package?). Opening in a hex editor, I can see that the file is a xar archive (man xar in Terminal). Unarchiving reveals a 'Distribution' file in XML format with an installer-gui-script top-level element. There's nothing visibly wrong with this file, but I don't know whether the commerce process is getting the same data when it previously connected to the same URL.

One of the most frustrating aspects of being an App Store developer is that whenever users experience a problem with App Store installs and updates, they contact us instead of Apple, even though developers have no control whatsoever over the App Store app. All we developers can do is press the 'Release' button in App Store Connect, and then Apple has total control afterward. Even if you're not running Mojave, I hope you come away from this blog post with the realization that developers are as much at the 'mercy' of Apple as users are when it comes to the App Store app, and the only thing we can do to fix these problems is to complain to Apple and hope the company takes mercy on us.

Support this blog: StopTheMadness, Link Unshortener, Underpass, PayPal.Me

Download apps and games

Browse, purchase, and download apps for your iPhone, iPad, iPod touch, Mac, Apple Watch, or Apple TV in the App Store.

Jettison mac app store settingsLearn how to use the App Store

Build, battle, explore, and more

Jettison Mac App StoreJettison from mac app store

Discover more than 100 exclusive single-player and multiplayer games with no ads or in-app purchases.

Join Apple Arcade

Apps update automatically

Your apps stay up-to-date automatically, but you can manually update them any time.

How to update apps

Jettison Mac App Store Apps

Contact an app developer

Get help with apps that you purchased or downloaded in the App Store that aren’t made by Apple.

Jettison Mac App Store Settings

Find contact information

Have a question?

Ask everyone. Our Apple Support Community can help you find answers.

Ask the Apple Support Community

Tell us how we can help

Answer a few questions and we'll help you find a solution.

Jettison Mac App Store Windows 10

Get support