Adding Apollo-iOS in your Xcode project

Chandan
Jan 23, 2022

--

graphQL And Xcode image

I want to go index page of this tutorial series.

Lets Start

We need to add new dependency that’s called Apollo-iOS.

We add dependency form Swift Package Manager *(Recommended)

  1. Click file -> Add Package
  2. Select All Sources In the search bar search → https://github.com/apollographql/apollo-ios.git
  3. Add dependency rule to “Up To Next Major Version” 0.5.0v < 1.0.0v
Photo Example of dependency Apollo-iOS

4. Then tap on add package 📦.

5. Select all the package products then click Add Package.

Please ignore Apollo-Dynamic if possible

Congratulations Guy's 🎉🎊

For confirmation check package dependency.,

--

--