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

Version 1.1.0 does not compile when installed via CocoaPods #2936

Closed
simonliotier opened this issue Apr 6, 2023 · 1 comment · Fixed by #2937
Closed

Version 1.1.0 does not compile when installed via CocoaPods #2936

simonliotier opened this issue Apr 6, 2023 · 1 comment · Fixed by #2937
Labels
bug Generally incorrect behavior needs investigation

Comments

@simonliotier
Copy link

Summary

Hello, there seems to be a compilation problem with version 1.1.0, when it is installed via CocoaPods.

Specifically, we get the following error in ApolloInterceptorReentrantWrapper and MultipartResponseParsingInterceptor:

Cannot find type 'ApolloAPI' in scope

image

One way to solve the issue is to manually edit the files: from where Operation : ApolloAPI.GraphQLOperation ❌ to where Operation : GraphQLOperation

There in no issue when Apollo is installed via SPM.

Version

1.1.0

Steps to reproduce the behavior

  • Install Apollo via CocoaPods. Note that we must explicitly specify the 1.1.0 version, as it as not been published yet on CocoaPods, as explained in this other issue:
pod 'Apollo', :git => 'https://github.com/apollographql/apollo-ios', :tag => '1.1.0'
  • Build the app

Logs

No response

Anything else?

No response

@simonliotier simonliotier added bug Generally incorrect behavior needs investigation labels Apr 6, 2023
@calvincestari
Copy link
Member

Hi @simonliotier, thanks for reporting this. We'll get it resolved asap!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Generally incorrect behavior needs investigation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants