Replacing .write(to: output, atomically: true, encoding: .utf8) with .write(to: output, atomically: false, encoding: .utf8) fixed my issue; thanks @rico95
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: