- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
The com.apple.quarantine attribute is a macOS security feature that flags files downloaded from the internet or transferred from external sources. This flag helps macOS protect your system by displaying warning prompts when you try to open such files, ensuring the user is aware of potential risks.
In some occasions, the removal of extended attribute is a must in order to install EPM and create the installation package.
Before the creation of the PKG file, please remove the attribute from the Zip file, unzip and try to see if there is a need to remove the attribute from the .app bundle as well.
Note: it is much preferred to download the EPM zip file on a Mac based machine and not copy from Windows machine to avoid any issues.
com.apple.quarantine AttributeYou can check if a file or directory has the quarantine flag using the Terminal:
com.apple.quarantine appears in the output, the file is flagged.
com.apple.quarantine from Files.zip FilesWhen a .zip file is flagged, its contents will also be quarantined upon extraction.
Remove the quarantine from the .zip file before extracting:
xattr -r -d com.apple.quarantine /path/to/yourfile.zip
xattr command to confirm that the attribute no longer exists:.zip file: Use Finder or the unzip command in Terminal:.app BundlesApplications downloaded from the internet are often flagged, resulting in a Gatekeeper prompt when you try to open them.
Remove the quarantine from the .app file before extracting:
xattr -r -d 'com.apple.quarantine' '/path/to/yourfile.app'
xattr command to confirm that the attribute no longer exists:
After removal of this attribute, you can continue to create EPM package without any issues or errors.
If you're facing an issue, please open a case and contact us.