Error building swift project after installing apollo-ios client

Hi @jsoneaday - my first guess would be the version of apollo-ios you’re using. The latest release is 0.50.0 so 0.9.5 is an extremely out of date version. I have noticed a bug in Xcode 13 where it isn’t recognizing the latest GitHub release tag and therefore not suggesting the most recent version.

I just created a new iOS app to test this out with 13.2.1 and the behaviour is still the same; it suggested 0.9.5 for me too, which is incorrect. To fix this you should edit the version of the apollo-ios SPM dependency to 0.50.0. It should all compile just fine after that.

2 Likes