Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove code generation during the build phase #387

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Conversation

vinnie4k
Copy link
Collaborator

Overview

Apollo no longer recommends running their code generation as an Xcode build phase. The generated files change whenever we modify our .graphql operation definitions. Running the code generation script on every build increases build times and slows development. Code generation should be run manually using the CLI whenever the .graphql files are modified.

Changes Made

  • Update README.
  • Update Build Phase scripts.

@vinnie4k vinnie4k changed the title Remove codegen build phase Remove code generation during the build phase Jun 21, 2024
@vinnie4k vinnie4k merged commit a70fa10 into master Jun 21, 2024
@vinnie4k vinnie4k deleted the vin/apollo branch June 21, 2024 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant