fixing codegen for future iOS release