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

fix: apollo-ios-cli code generation on CocoaPods installation #2548

Merged
merged 5 commits into from
Oct 5, 2022

Conversation

calvincestari
Copy link
Member

Closes #2543

This moves the frontend JS bundle from it's own file into a Swift String; it was already inefficient to be reading from a file only to init a String, now we can cut down on the processing needed to load the JS code and fix the bug. The root issue is that the .js file was a bundle resource of the ApolloCodegenLib module and that was being deleted after the pod installation = error when it was being loaded by generate command.

@netlify
Copy link

netlify bot commented Oct 5, 2022

Deploy Preview for apollo-ios-docs canceled.

Name Link
🔨 Latest commit dc7f438
🔍 Latest deploy log https://app.netlify.com/sites/apollo-ios-docs/deploys/633e0c414418980008d502cb

@calvincestari calvincestari merged commit d190be0 into main Oct 5, 2022
@calvincestari calvincestari deleted the fix/pods-cli-resources branch October 5, 2022 23:14
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.

Unable to run code generation
2 participants