Incompatible Archive issue in WordPress

coffee writing computer blogging

A few of our users are facing incompatible archive issue while uploading out plugins and themes.

The issue appears becuase most of our coding happens in Apple Macs and they create a hidden file in every folder called _macosx , now this file needs to be removed.

To remove this file you can use Terminal and simply use this command.

zip -d ZIPFILEPATH.zip “__MACOSX*”

this would automatically remove all the _MACOSX folders from the zip without unzipping it

The resulting zip file can now be uploaded easily without any issues.

Leave a Reply

%d bloggers like this: