I just opened up a Swift Package in Xcode that I'm developing and the majority of the Swift files are disabled. I click on them and I get a system noise but that is all. In the Inspector pane, they aren't even recognised as Swift source. If I select Swift source from the Type drop down list, I notice that the text encoding is set to No Explicit Encoding. If I select UTF-8 it prompts me to confirm conversion, so I backed out. The reason I did, is that from the command line, if I use the `file -I` command it tells me that the files are indeed UTF-8. Also, for a project that had schemes, it now has none. I know the default is to create a Swift Package without a scheme, but I prefer what I'm familiar with.
I recloned the repo from bitbucket, but the results were exactly that same. So now I'm not sure where the problem is. Did Bitbucket corrupt my files? Are both Xcode 11.1 and Xcode 11.2 Beta 2 to blame? I doubt it, but the files are clearly Swift UTF-8.
Any ideas on how I can get Xcode to recognise my Swift source and magically restore my schemes? :-(