"The operation cannot be completed.Undefined error: 0" is one of the errors you may encounter when failing to compress files or folders on Mac. It usually happens to specific files like Logic Pro files. To fix it, you can use the file compressor of iBoysoft MagicMenu.
Like the built-in file compressor, iBoysoft MagicMenu also allows you to right-click on the selected files or folders and select "Compress" to create a .zip archive on Mac. But it also enables you to customize the compression level and set a password for the compressed file.
If you want to make a smaller ZIP file, you can set the Compression Level to High. If you wish to accelerate the compressing process, you can set the level to Low. Give it a try if you can't compress files on Mac.
Click the button below to download the macOS file compressor for free!