Xcode 8 Codegen feature generates nothing

62 views Asked by At

I am trying to setup codegen feature in one of my existing project and I have no success with any code generation. Here goes my setup.

I have a Foo entity with a bar attribute. Codegen setup for Class Definition:

enter image description here

Language for Code Generation setup for Swift and Tools Version to automatic (Xcode 8).

enter image description here

Unfortunately when hitting build it outputs just Logs folder on DerivedData/CodeDataCodeGen* path.

enter image description here

I am mixing objc and swift in that project. Deployment target is setup for iOS 10. And yes, I've tried to clean project, delete derived data and save manually thousand of time. Any idea where the devil is or how to debug it? Thanks in advance.

1

There are 1 answers

0
Viktor Kucera On BEST ANSWER

It was generated actually. I've just searched on a wrong path. Correct folder was

DerivedData/ProjectName-*/Build/Intermediates/ProjectName.build/Debug-iphonesimulator/TargetName.build/DerivedSources/CoreDataGenerated/..