I have a swift code for MacOS and am trying to write a simple file to the desktop:
let header="Hello world" let desktopPath = FileManager.default.