How to download "mobilertc-all" sdk .zip for iOS via curl?

We need to download the sdk into our project tree with a shell script.
We want to be able to download either the normal archive, or the “mobilertc-all” archive.

We use this for the normal sdk:
curl -O https://codeload.github.com/zoom/zoom-sdk-ios/zip/master

What is the link to the “mobilertc-all” zip?

The following will not download successfully.
curl -O https://github.com/zoom/zoom-sdk-ios/releases/download/v4.6.15084.0206/ios-mobilertc-all-4.6.15084.0206-n.zip

curl says: “Archive: ios/ios-mobilertc-all-4.6.15084.0206-n.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.”

Hi ativsoftware,

Thanks for the post. If you would like to download files from Github release(not only our SDK) using curl, you might need to redirect the output. Have a try with the following:

curl  -OL https://github.com/zoom/zoom-sdk-ios/releases/download/v4.6.15084.0206/ios-mobilertc-all-4.6.15084.0206-n.zip > ios-mobilertc-all-4.6.15084.0206-n.zip

Thanks!