Has anyone else noticed/been affected by this?
I have a couple of
.applescript files in my project. I call them using
Bundle.main.url(forResource: scriptname, extension: "applescript")
My build settings are set to copy these scripts but not compile them.
Xcode 10 compiles them anyway (this did not happen in Xcode 9 or earlier), so that they appear in my Resources folder as “.scpt”, which of course fails the extension match.
My solution was simply to rename these files without a file extension and pass
nil to the extension parameter.
But I don’t understand why this change in behaviour has occurred; I didn’t see it in the release notes or the headers.