Reputation: 748
When I'm making a new project in Swift 3 using CoreData, I get this weird error.
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
I've been looking a lot after what this error means, but nothing works. I've tried to delete all the CoreData, and then the error goes away. But when I add it again, the error comes up.
Still haven't figured the issue. I've been into derived data and deleted the whole map, but nothing happens and the map comes again.
Upvotes: 1
Views: 636
Reputation: 122
I got the same error and solved by the following. Inspect the Entities, set the Module to "Current Product Module" and Codegen to "Manual/None". ex:
Upvotes: 7