The error message in the subject line greets me for EVERY file in my main build project when I attempt to build or run the main scheme. Looking at the build log, I see the following when the builtin-swiftTaskExecution for every file:
<unknown>:0: error: deserialized error type '<null>' in module 'Amber3Utils'
(The build within Amber3Utils has no errors...)
The workspace has one framework (Amber3Utils) which is a git submodule. The build depends on this framework, which builds automatically (after a "Clean build folder", for instance). I'm using the same source code (from the git branch "develop") for a different project and it builds perfectly without issue.
I've tried running the same project against Xcode 15.0.1, Xcode 15.1, and the current Xcode 15.2 with the same results. Each different attempt is preceded by clearing out DerivedData.
I've used "xcodebuild" instead of Xcode IDE, which does not generate these errors.
When I click on an error in the Issue navigator, there is no indication of which line the error is on in the editor, and the message disappears from the navigator. If I then select a different file with the same message in the navigator, the previously removed error message reappears and the message for the new file disappears from the navigator.
This is extremely frustrating.
I used DuckDuckGo to search for the string "Deserialized error type '<null>'"
and within Google, it got no results for the string, and instead returns results for each of the words, and none of the citations it finds has this particular error.
This appears to be an issue with the import Amber3Utils
statement because if I remove it and remove references to the framework from a source file, the issue will no longer appear for that file in the Issue Navigator.
Does anybody have a clue what's going on?