Protocol code gen instructions for iOS client