When trying to convert or resize a dmg image I get the error:
hdiutil: convert failed Resource Temporarily Unavailable error
hdiutil: resize: failed. Resource temporarily unavailable (35).
(hdiutil error code 35).
The problem appears to happen when you unmount the image using
Remount the image (either using
Another possibility is that the disk image is still mounted (from previous work on it). In this case, just select the eject icon.
Afterwards, the hdiutil convert worked great.