In Xcode when compiling my challenge after including a file "CDExceptions.swift", I get this error. The file contents look like making a part "SWBBuildService" in Xcode crash.
After I press the "Reopen" it appears to compound the error with:

Now right here is the place it will get wiggy… after I take away the file from the challenge, the challenge compiles superb with out Xcode tooling crashes. Add the file again in and Xcode tooling crashes occur.
I copy all of the textual content contents of the file into a brand new file and add that file to the challenge. (completely different file, completely different title, completely different location) Similar subject. Suggests contents of file. Swift flags nothing within the contents as an issue or warning
Now right here is the place it will get actually unusual, I copy all of the features out of "CDExceptions.swift" into one of many common challenge information, take away "CDExceptions.swift" from the challenge, and the compile goes by cleanly as nicely; no Xcode software crash, no compile errors. Bear in mind that "CDExceptions.swift" solely incorporates utility features… no courses no structs, only a bunch of features.
And earlier than the questions are requested:
- Cleaned the construct folder, deleted the factor at one level, no assist
- Take away "CDExceptions.swift" and challenge builds superb and fails to construct instantly upon including the file "CDExceptions.swift" again in
- Capabilities from "CDExceptions.swift", when added to the underside of any pre-existing challenge file compile superb so long as the "CD Exceptions.swift" file is just not within the challenge. Utilizing the features that have been extracted from "CDExceptions.swift" work as anticipated
- Renaming file doesn’t assist
- Recreating file doesn’t assist
- Shifting file from one listing to a different doesn’t assist
- Shifting file within the challenge itemizing in Xcode, doesn’t assist
- Solely native code is getting used within the challenge, nothing international, no cocopods, no react
- reloaded Xcode from the App Retailer, doesn’t assist
Any concepts about what is likely to be inflicting this anybody?


