In a macOS app, I'm using this code to create a directory in Application Support folder.
let directoryURL = appSupportURL.appendingPathComponent("com.myCompany.myApp").appendingPathComponent("Documents")
How can the string com.myCompany.myApp obtained programmatically in Swift?
I saw this question but I'm not sure how to use it in my macOS Swift app: Access App Identifier Prefix programmatically