Posts

Post marked as solved
1 Replies
0 Views
Fixed it! The library had a problem with the file URL, but by just using the method .standardizedFileURL on the URL I got in the documents directory, the library accepted it and worked perfectly. So basically, changing this: stream = createStream(gerudoValleyURL.path) to this: stream = createStream(gerudoValleyURL.standardizedFileURL.path) Fixed everything. So note to self, use standardized URLs when working with external libraries. Seems pretty obvious but hey I'm learning.