The version of Apollo.framework in your project requires Apollo CLI 1.8.x, but apollo/1.9.2 darwin-x64 node-v8.11.2 seems to be installed.
Repro steps:
hey,
'npm install -g apollo' solved the warning for me
Also, in the last version 0.9.3, I can't compile anymore, the generated files are not valid
I have to use the previous version 0.9.2
0.9.3 also doesn't work for me

0.9.3 didn't work for me either
I locally installed apollo 1.8
npm install --prefix <path_to_source_folder> [email protected]
it works with apollo-ios 0.9.3
@psi-ghI installed the [email protected] version, but when I try to compile the project I have the following error:
Apollo update available from 1.8.3 to 1.9.2
After updating to version 0.9.4 I still have an issue that I can't compile ApolloAPI.swift file
After the most recent release this works now, closing out.
@crabman448 me too, 0.9.4 gives me errors:
not found: apollo
Command PhaseScriptExecution failed with a nonzero exit code
Did you manage to solve this?
@antonbremer issue for me was that new CLI generates API.swift in a different way I think. So I was needed to adjust some my GraphQL operations.
same 0.9.4 doesn't work for me having some errors
My temporary solution is to downgrade to 0.9.3 and npm install -g [email protected]
@antonbremer issue for me was that new CLI generates API.swift in a different way I think. So I was needed to adjust some my GraphQL operations.
Thank you for getting back to me. For myself it doesn't even get to the stage of generating the API.swift unfortunately. I am getting a script error "apollo not found". Version 0.9.2 works fine though, this happens as soon as I upgrade to 0.9.4. Will use 0.9.2 for now, although I'd love to upgrade but I'll wait, hopefully there'll be a more stable version next.
same 0.9.4 doesn't work for me having some errors
My temporary solution is to downgrade to 0.9.3 andnpm install -g [email protected]
Yep, this is the only workaround that did it for me.
pod 'Apollo', '0.9.3'rm -rf node_modulesnpm install -g [email protected]@allfou i've been stuck with building the API.swift for two days , thanks a lot
Most helpful comment
Yep, this is the only workaround that did it for me.
pod 'Apollo', '0.9.3'rm -rf node_modulesnpm install -g [email protected]