Posts

Post marked as solved
2 Replies
Hello Quinn, Thanks for the feedback. I have investigated the URL handling in the code and found a problem converting the URL to a string and back to a URL for using with uploadTask(with:fromFile:). After fixing the code for converting the URL uploadTask(with:fromFile:) now works as expected. The provided error message 'NSInvalidArgumentException', reason: 'Cannot read file at file:*** -- file:///' from uploadTask(with:fromFile:) did not lead to look for a problem with the format/content of the URL. To me, the error message had sounded more like an access problem. Thanks a lot for your support!