Looks like Xcode 8.2.1 won't turn off codegen.
But you can manually delete codeGenerationType="category"
from .xcdatamodel contents file.
Close Xcode, delete codeGenerationType
, delete DerivedData folder and rebuild.
Will wait for fix in future releases.