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!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Lex Friedman

Macworld.com
Show Comments

Cool Tech

Toys for Boys

Family Friendly

Stocking Stuffer

Logitech Ultimate Ears Wonderboom Bluetooth Speaker

Learn more >

SmartLens - Clip on Phone Camera Lens Set of 3

Learn more >

Christmas Gift Guide

Click for more ›

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Maryellen Rose George

Brother PT-P750W

It’s useful for office tasks as well as pragmatic labelling of equipment and storage – just don’t get too excited and label everything in sight!

Cathy Giles

Brother MFC-L8900CDW

The Brother MFC-L8900CDW is an absolute stand out. I struggle to fault it.

Luke Hill

MSI GT75 TITAN

I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?