Apollo

2.0.3

πŸ“± Β A strongly-typed, caching GraphQL client for iOS, written in Swift.
apollographql/apollo-ios

What's New

2.0.3

2025-11-05T23:30:57Z

Fixed

  • Percent encode semicolons when using GET (#812): Semicolons were not being correctly encoded into the query string when useGETForQueries was enabled. Thank you to @nevil for the contribution.
  • Include merged fields in selection set equality check (#3602): When a field merged from a child object in a named fragment was merged, it was not being used for equality checks. Equality checks now use the types __fulfilledFragments and collects selections from all of them, instead of just traversing downward from self.__selections. This ensures all expected data is collected from merged fragments. See PR #832. Thank you to @JOyo246 for raising the issue.
  • Fixed compilation of initializers for mock objects with custom scalars (#3599): Default values for custom scalars were not compiling due to SPI usage. See PR #838. _Thank you to @akoslowski for raising the issue.
  • Fixed infinite loop in parsing invalid multipart messages (#3608): When a multipart message did not end with the correct ending delimiter, the parser would loop over the line infinitely. See PR #839. _Thank you to @frehulfd for raising the issue.
Apollo Logo

Apollo iOS

The industry-leading GraphQL client in Swift for iOS, macOS, watchOS, tvOS, and visionOS. Apollo iOS delivers powerful caching, robust code generation, and intuitive APIs to accelerate your app development.

➑️ Get Started with Apollo iOS β†’

❓ Why Choose Apollo iOS?

βœ… Intuitive caching - Intelligent in-memory or SQLite out of the box
βœ… Highly configurable code generation - The days of hand-writing models for network responses are over!
βœ… Opinionated - Leads users down the "pit of success" and encourages good practices by default
βœ… Production-tested - Powers countless apps worldwide that serve millions of end users

πŸš€ Quick Start

Add Apollo iOS to your dependencies list

dependencies: [
    .package(
        url: "https://github.com/apollographql/apollo-ios.git",
        .upToNextMajor(from: "2.0.0")
    ),
],

Link the Apollo product to your package target

Any targets in your application that will use ApolloClient need to have a dependency on the Apollo product.

.target(
    name: "MyApp",
    dependencies: [
        .product(name: "Apollo", package: "apollo-ios"),
    ]
)

Note: Targets that only use Apollo's generated models don't need to be linked to the Apollo product.

πŸ’‘ Resources

Resource Description Link
Getting Started Guide Complete setup and first query Start Here β†’
Full Documentation Comprehensive guides and examples Read Docs β†’
API Reference Complete API documentation Browse API β†’
VS Code Extension Enhanced development experience Install Extension β†’
DevTools Debug your GraphQL apps Chrome | Firefox
Free Course Apollo iOS and Swift: Codegen and Queries Take Course β†’

πŸ’¬ Get Support

Need help? We're here for you:

πŸ§‘β€πŸš€ About Apollo

Deliver tomorrow's roadmap today with our comprehensive suite of API orchestration tools:

Explore the Complete Apollo Platform β†’

πŸ› οΈ Maintained by

Name Username
Anthony Miller @anthonymdev
Calvin Cestari @calvincestari
Jeff Auriemma @bignimbus
Zach FettersMoore @bobafetters

πŸ—ΊοΈ Roadmap

We regularly update our public roadmap with the status of our work-in-progress and upcoming features.

πŸ“£ Tell us what you think

β˜‘οΈ Apollo iOS User Survey
What do you like best about Apollo iOS? What needs to be improved? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo iOS usage and allow us to serve you better.

πŸ—“οΈ Events

Join these live events to meet other GraphQL users and learn more:

πŸŽͺ GraphQL Summit 2025
Oct 6-8, 2025 β€’ San Francisco
1000+ engineers, talks, workshops, and office hours

🌟 GraphQLConf 2025 Sep 8-10, 2025 β€’ Amsterdam
Celebrating 10 Years of GraphQL

View All Events β†’

πŸ† Contributing

Thank you for your interest in submitting a Pull Request to Apollo iOS! Read our guidelines first, and don't hesitate to get in touch.

New to open source? Check out our Good First Issues to get started.

🀝 Code of Conduct

Please read our Code of Conduct. This applies to any space run by Apollo, including our GitHub repositories and the Community Forum. The Code of Conduct reflects our commitment to making the Apollo Community a welcoming and safe space in which individuals can interact.

πŸͺͺ License

Source code in this repository is available under the terms of the MIT License. Read the full text here.

Description

  • Swift Tools 6.1.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Nov 28 2025 01:55:46 GMT-1000 (Hawaii-Aleutian Standard Time)