System: macOS 10.14
GPU: AMD Radeon Pro 460
Running the v5 task code, I keep getting an issue when trying to produce an output, be it binary, text or .bmp. The code compiles successfully but upon running gets the following exception:

Has anyone else suffered from the same issue and how did you rectify it?
Thanks.