{"action":"created","issue":{"url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/441","labels_url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/441/labels{/name}","comments_url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/441/comments","events_url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/441/events","html_url":"https://github.com/sparkle-project/Sparkle/issues/441","id":46272684,"number":441,"title":"Sparkle creates broken app bundles for some users","user":{"login":"fzwo","id":979197,"avatar_url":"https://avatars.githubusercontent.com/u/979197?v=3","gravatar_id":"","url":"https://api.github.com/users/fzwo","html_url":"https://github.com/fzwo","followers_url":"https://api.github.com/users/fzwo/followers","following_url":"https://api.github.com/users/fzwo/following{/other_user}","gists_url":"https://api.github.com/users/fzwo/gists{/gist_id}","starred_url":"https://api.github.com/users/fzwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fzwo/subscriptions","organizations_url":"https://api.github.com/users/fzwo/orgs","repos_url":"https://api.github.com/users/fzwo/repos","events_url":"https://api.github.com/users/fzwo/events{/privacy}","received_events_url":"https://api.github.com/users/fzwo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":33,"created_at":"2014-10-20T13:32:46Z","updated_at":"2015-05-21T04:34:46Z","closed_at":null,"body":"We have the strangest problem.\r\n\r\nWe have a relatively large app, and ship mono within the app bundle. The .app is zipped for Sparkle (~250 MB zip, 600+ MB app), and is signed.\r\n\r\nWe've had reports from several (but not all) users that the app is broken after an update. We were scratching our heads because all the nib files seemed to be missing. SparkleUpdateLogs were always clean, and we couldn't find anything in our own crash logs (both through Hockey and the log files on the machine) except for the mysteriously missing xib files.\r\n\r\nWe were now able to take a closer look at one of the broken apps. Sure enough, the nibs were missing, as was everything else starting with S (the first letter of our company prefix) in the bundle's resources folder. Actually, everything after M was missing. Or rather, everything after Mono. Digging deeper, it seems that sometime during copying mono.framework, the updater stopped.\r\n\r\nThis resulted in an app bundle that reports as broken when trying to run on a Mac with Gatekeeper on, because the signature does not match anymore. On a Mac with gatekeeper off, it's more insidious: The app starts, and runs, but certain Windows won't open because their nibs can't be found.\r\n\r\nThis has happened to a handful of users now, some of them multiple times. We'd really love to find out what's causing this, and how to protect against it. Any ideas? (We're on commit https://github.com/sparkle-project/Sparkle/commit/7e1b47976dd80c09abd9f772a4117eeb08dc15f1 - there haven't been any functional changes since then)"},"comment":{"url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/comments/104132141","html_url":"https://github.com/sparkle-project/Sparkle/issues/441#issuecomment-104132141","issue_url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/441","id":104132141,"user":{"login":"bdkjones","id":926566,"avatar_url":"https://avatars.githubusercontent.com/u/926566?v=3","gravatar_id":"","url":"https://api.github.com/users/bdkjones","html_url":"https://github.com/bdkjones","followers_url":"https://api.github.com/users/bdkjones/followers","following_url":"https://api.github.com/users/bdkjones/following{/other_user}","gists_url":"https://api.github.com/users/bdkjones/gists{/gist_id}","starred_url":"https://api.github.com/users/bdkjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdkjones/subscriptions","organizations_url":"https://api.github.com/users/bdkjones/orgs","repos_url":"https://api.github.com/users/bdkjones/repos","events_url":"https://api.github.com/users/bdkjones/events{/privacy}","received_events_url":"https://api.github.com/users/bdkjones/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T04:34:46Z","updated_at":"2015-05-21T04:34:46Z","body":"Unfortunately, I have not been able to reproduce the issue on my machine, so I don't have any crash logs to send. From my experience, the majority of updates succeed successfully. I've had about 50-60 reports of the corruption out of many thousands of updates. It's definitely enough to be a problem.\r\n\r\nOne user suggested that the problem occurs if the application being updated is not in `/Applications`, but I can't confirm that. It may be worth testing, though."}}