Possible Apple server bug leads to corrupted App Store downloads

A bug on Apple's end has corrupting functional, approved app updates, causing crashes

If you downloaded Instapaper, Angry Birds Space, or GoodReader from Apple's App Store over the past couple days, you may have discovered that the app crashed nearly instantly when you attempted to launch it. Those apps--along with more than 100 others and counting, according to Instapaper developer Marco Arment--got bitten by a bug on Apple's end that ended up corrupting functional, approved app updates, causing the crashes.

Apple hadn't responded to Macworld's request for comment by the time we made this story live; we'll update it if the company responds.

Arment announced the availability of Instapaper 4.2.3 late Tuesday, July 3. Not even 15 minutes later, he posted a second update documenting what he called "a serious problem" with the update.

Customers who downloaded the Instapaper update in iTunes saw error codes; attempts to run the app on an iPhone or iPad were met with immediate crashes back to the home screen. As you might expect, the updated app was quickly hit with a flurry of one-star reviews.

Worse still: Arment was powerless to fix the bug. The app worked in his testing, and of course it had successfully passed the App Store review process. Through corroborating reports from other developers, coupled with the fact that many users were able to fix the issue by deleting and reinstalling the app a short while later, Arment (and similarly affected developers) concluded that the issue with the affected apps rested entirely on Apple's end.

The problem, those developers report, arises for those iOS users who spot app updates very quickly. On the GoodReader blog, developer Good.iWare writes:

While in theory Apple's servers must be ready to distribute the new app binary by the time they start sending update notifications to users' devices, something goes wrong inside Apple's distribution servers, and customers receive a damaged binary instead of the good one that we've sent to Apple. The exact reason is up to Apple to determine, but it looks like some binary encryption that happens internally in the App Store is only halfway-done at this point, and customers receive incorrectly (or partially?) encrypted binaries to their iPads. Those binaries do not get recognized by iOS as valid App Store executable binaries, and iOS simply refuses to launch them.

Arment, via email, told Macworld that although he obviously has no direct knowledge regarding the specifics of Apple's internal server setup, "it looks a lot like corrupt binaries being published first, then being cached on a bunch of [servers distributed around the world], and eventually fetching fixed, working binaries once those caches expire." After waiting a bit, users who reinstall the affected apps again do indeed find that they start working.

Of course, many users won't know that fault lies with Apple and not the developer--hence all those one-star reviews that Instapaper scored in the moments following the corrupted app's release. Developers, meanwhile, are left to wonder whether Apple will take some sort of action regarding those unearned negative reviews.

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Lex Friedman

Macworld.com
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Kurt Hegetschweiler

Brother PocketJet PJ-773 A4 Portable Thermal Printer

It’s perfect for mobile workers. Just take it out — it’s small enough to sit anywhere — turn it on, load a sheet of paper, and start printing.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?