# Error building swift project after installing apollo-ios client

**URL:** <https://community.apollographql.com/t/error-building-swift-project-after-installing-apollo-ios-client/2308>\
**Category:** Client SDKs\
**Tags:** client, mobile, ios\
**Created:** [December 22, 2021, 5:16pm UTC](https://community.apollographql.com/t/error-building-swift-project-after-installing-apollo-ios-client/2308 "2021-12-22T17:16:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![calvincestari](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/calvincestari/32/339_2.png) [@calvincestari](https://community.apollographql.com/u/calvincestari)\
**Post date:** [December 22, 2021, 5:31pm UTC](https://community.apollographql.com/t/error-building-swift-project-after-installing-apollo-ios-client/2308/2 "2021-12-22T17:31:24Z")

</div>

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.

---

_[View the full topic](https://community.apollographql.com/t/error-building-swift-project-after-installing-apollo-ios-client/2308)._
