When generating code for my entity TrackPoint, I get compiler error
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
Xcode also complains that the TrackPoint+CoreDataClass.swift and TrackPoint+CoreDataProperties.swift filenames are used twice, once in the project location and once in derived data. Deleting derived data had no effect.
Ideas how to fix the problem are welcome.