Download links to Mixing Swift and C++ Projects are broken

I'm getting errors like this:

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>P4P83RVQKMQQJYBV</RequestId>
<HostId>
q97d69C6z+0JXEZ8vAQg9QZXUbNaH/umTBIy09FZ7EEDOTWLlX9IQzID4uBHv4Nkq3kF/2SMAHk=
</HostId>
</Error>

Here are the links: https://developer.apple.com/documentation/swift/mixingswiftandc++inanxcodeproject https://docs-assets.developer.apple.com/published/305dd41cfdb1/MixingSwiftAndC++InAnXcodeProject.zip

Accepted Reply

Update Well, that was quick. The download links on the read me pages for these two samples are now working. So there’s no need for my workaround; rather, just go to the read me page and click Download:

I’m leaving the original workaround below just for history’s sake (-:


I believe we already know about this bug and are working on a fix. In the meantime, you can get the zip archive by percent encoding the URL. For example, if click the download link and end up with a failure at a URL like this:

https://docs-assets.developer.apple.com/published/e9ea1937d60f/UsingC++APIsInSwiftAndSwiftAPIsInC++.zip

change the URL to this:

https://docs-assets.developer.apple.com/published/e9ea1937d60f/UsingC%2b%2bAPIsInSwiftAndSwiftAPIsInC%2b%2b.zip

and try again.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Replies

I am getting the same error.

Update Well, that was quick. The download links on the read me pages for these two samples are now working. So there’s no need for my workaround; rather, just go to the read me page and click Download:

I’m leaving the original workaround below just for history’s sake (-:


I believe we already know about this bug and are working on a fix. In the meantime, you can get the zip archive by percent encoding the URL. For example, if click the download link and end up with a failure at a URL like this:

https://docs-assets.developer.apple.com/published/e9ea1937d60f/UsingC++APIsInSwiftAndSwiftAPIsInC++.zip

change the URL to this:

https://docs-assets.developer.apple.com/published/e9ea1937d60f/UsingC%2b%2bAPIsInSwiftAndSwiftAPIsInC%2b%2b.zip

and try again.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"