Thanks, I would let you know how it gets on but encountered a problem when trying to copy from an External HDD. I tried a local to local file but I don't have a file big enough for it to take enough time, however the problem is it seems to hang / freeze the iMac I thought had crashed it but after waiting long enough carries on, and the file does actually copy.
I was on an earlier version of both XCode & Swift, I think was 10.1 and 4.2, up until not long ago. I used copy & move and both worked fine before and no idea what the problem could be.
Any advice ?
...
I reinstalled XCode but still having same problem, although with Swift 5 temporarily hangs the whole UI (finder etc.) but with 4.2 only the App.
...
Another update, when copying from Local HDD to External everything works fine.
...
The method to cancel unfortunately does not work for file in transit because it's only called once at start.
...
Also don't know if it's related but loading time for AVMetadata is much slower.
...
Last test, between external volumes also works fine. The hang seems to last as long as it does to copy the file, so it seems as if it's copying it twice.