Add flex code autogeneration when running on Xcode, update snapshot tests