foxlet / macOS-Simple-KVM

Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
13.58k stars 1.14k forks source link

Download failed for MacOS Mojave inside MacOS #489

Open QiuMike opened 3 years ago

QiuMike commented 3 years ago

image http-validated://swcdn.apple.com/content/downloads/34/54/041-88800-A_HLMBDM42FL/anrmoj880qkj0lbybqm0c3830p70nawjrv/AppleDiagnostics.dmg.integrityDataV1::://swcdn.apple.com/content/downloads/34/54/041-88800-A_HLMBDM42FL/anrmoj880qkj0lbybqm0c3830p70nawjrv/AppleDiagnostics.dmg

Download failed for MacOS Mojave

blockarchitech commented 3 years ago

Doesn't look like that download is available,

<Error>
<Code>404</Code>
<Message>No message</Message>
<RequestId>310e521c-8582-4f6f-824f-683deffba622</RequestId>
<Resource>/content/34/54/041-88800-A_HLMBDM42FL/anrmoj880qkj0lbybqm0c3830p70nawjrv/AppleDiagnostics.dmg.integrityDataV1%3A%3A%3A/swcdn.apple.com/34/54/041-88800-A_HLMBDM42FL/anrmoj880qkj0lbybqm0c3830p70nawjrv/AppleDiagnostics.dmg</Resource>
</Error>

as this is the XML response over plain HTTP; though i'm not sure about http-validated. Look's like it's trying to send this but fails.

But, https://swcdn.apple.com/content/downloads/34/54/041-88800-A_HLMBDM42FL/anrmoj880qkj0lbybqm0c3830p70nawjrv/AppleDiagnostics.dmg downloads a file called AppleDiagnostics.dmg, so i think the HTTP request is just being blocked by something.

blockarchitech commented 3 years ago

UPDATE: After a little more digging, it looks like apple patched some downloads. It needs to be downloaded from the app store. The HTTP validation request fails, because it knows it's not from the app store.

https://apple.stackexchange.com/questions/342349/chunkeddownload-error-in-trying-to-upgrade-to-mac-os-mojave

Confirmed it's downloading a 6-22mb file instead of the 6gb mojave file.