Core Data generated classes not found by Xcode 8 during the build

If you’re experiencing compile errors that look like the logs below, you may be encountering an known issue with Xcode 8 which affects some projects with Swift Core Data generated classes.

Logs
✗ error: no such file or directory: /tmp/sandbox/587cee87183f3101000e6b6c/bbbuild/Build/Intermediates/ArchiveIntermediates/BBTestAppCoreData/IntermediateBuildFilesPath/BBTestAppCoreData.build/Release-iphoneos/BBTestAppCoreData.build/DerivedSources/CoreDataGenerated/BBTestAppCoreData/MyClass+CoreDataProperties.swift

✗ error: no such file or directory: /tmp/sandbox/587cee87183f3101000e6b6c/bbbuild/Build/Intermediates/ArchiveIntermediates/BBTestAppCoreData/IntermediateBuildFilesPath/BBTestAppCoreData.build/Release-iphoneos/BBTestAppCoreData.build/DerivedSources/CoreDataGenerated/BBTestAppCoreData/MyClass+CoreDataClass.swift

Here’s what you can to do to resolve this build error:

  • Generate the Core Data files on your local machine

  • Check the files into your repo and commit and push them

  • Trigger a new build in buddybuild

If you’ve followed the steps above and are still unable to find the cause of your build failure, please drop us a line via Intercom or at support@buddybuild.com - we’re here to help!

results matching ""

    No results matching ""