Problem
When downloading a single-file artifact from CircleCI in Chrome, the file may be downloaded as a ZIP instead of its original format. This commonly occurs with mobile app files such as .ipa or .aab files.
This happens because Chrome's security settings automatically compress certain file types during downloads.
Solutions
Choose one of the following options to download the file in its original format:
Solution 1: Use a Different Browser
Download the artifact using Safari or Firefox, not Chrome.
Solution 2: Rename the Downloaded File
After downloading from Chrome, rename the file to add the correct file extension (.ipa or .aab).
Solution 3: Save With Correct Extension
- Right-click the download link
- Select "Save link as"
- When the save dialog appears, change the format from "Zip" to "All files"
- Edit the filename to include the proper extension (
.ipaor.aab)
Outcome
After using any of these solutions, you will have the artifact file in its original format, ready to use.
Additional Resources
- Storing Build Artifacts - Learn about artifacts in CircleCI
- Downloading Artifacts - How to access and download build artifacts
Comments
Article is closed for comments.