App developer

Bug Report: Core Data Generated Files Not Found by Xcode 8

Xcode 8 promises to bring many improvements to Core Data, however, it seems to be having an issue in that it stops working pretty quickly even after several reinstalls.

My issue is that Xcode generates new NSManagedObject’s and then can’t find them in the build process. Instead, I see the following error:

<unknown>:0: error: no such file or directory: '~/Library/Developer/Xcode/DerivedData/Project-ehewnupfwfyaezbdvoohlbtmspad/Build/

Interestingly, the file the error is referring to — .Country+CoreDataClass.swift — exists in the folder above without the leading .. I’ve filed Radar 27151410.

See also: