Core Data Generated Files Not Found by Xcode 8 During Build
Originator: | stuartbreckenridge1 | ||
Number: | rdar://27151410 | Date Originated: | 03-Jul-2016 |
Status: | Open | Resolved: | |
Product: | Product Version: | ||
Classification: | Serious Bug | Reproducible: |
Summary: During the build process of an iOS 10 project that uses Core Data, the build fails with the error that the Core Data generated NSManagedObject subclasses cannot be found. Steps to Reproduce: 1. Install Xcode 8 2. Create a new single view iOS project with Core Data enabled. 3. Add a new entity with various attributes in the xcdatamodel and save the file. 4. Generate NSManagedObject's using the generation tool. 5. Build the Project Expected Results: 1. The project should build. Actual Results: 1. The build fails with the following error: <unknown>:0: error: no such file or directory: '~/Library/Developer/Xcode/DerivedData/Flags-ehewnupfwfyaezbdvoohlbtmspad/Build/Intermediates/Flags.build/Debug-iphonesimulator/Flags.build/DerivedSources/CoreDataGenerated/Flags/.Country+CoreDataClass.swift' Note: that the file 'Country+CoreDataClass.swift' does exists in the above folder without the leading '.' Version: Version 8.0 beta (8S128d) Notes: Configuration: OS X 10.11.5
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
This also appears in Version 8.1 beta (8T29o), I cannot find a workaround and the steps listed above are all that is needed to show the problem.
+1 for Version Version 8.0 (8A218a)