How to include code gen for iOS in form of script in build phases or anywhere in form of bash so that i need not run generate apollo-ios-cli manually everytime there is a change in query, since this is only available currently only for macOS, Please suggest the solution
@Sreenidhi not sure I understand the issue or use case you are looking for, you should be able to create a run script in your build phases which can run the codegen cli without any issues. The codegen itself is designed to be run on MacOS and should not be directly linked to iOS targets as this will result in errors, however this wouldn’t prevent using a run script since that would still be running on a Mac.
Similar question an context can be found here.