Intended outcome: being able to add apollo-ios package dependency to the SwiftUI project via SPM (Swift Package Manager).
Actual outcome: "Package resolution failed" error.
Versions:
How to reproduce the issue:
The package dependency graph can not be resolved; unable find any available tag for the following requirements:
https://github.com/apollographql/apollo-ios.git — 0.25.0..<0.26.0

Notes:
Not sure if the error comes from the Xcode, something else, or apollo-ios itself, but searching for this error in other projects, there are situations where there is wrong setup in the repository for it to be used by SPM, e.g. mentioned here.
We definitely have a 0.25.0 release tagged, and I was just able to get it to resolve correctly and build in a test project with the following settings:

Can you share a screenshot of this setting on your project (or your Package.swift if you're using that)
You also may want to try upgrading Xcode to 11.2, which has Swift 5.2 - in theory swift-tools 5.1 should still be able to parse a Package.swift written for 5.2, but in practice that could be an issue. If 0.24.0 works for you and 0.25.0 doesn't, that's almost certainly your problem.
Update of Xcode helped so looks like the issue was there. Thanks for quick reaction :)
I ran into this issue with Xcode 11.2 and Apollo 0.27.1
I had just forgotten to use the right Xcode and using 11.5 fixed it.
Changing it to Apollo version 0.24.1 fixed it for me, since I wasn't able to update my Xcode due to storage issues!
Most helpful comment
I ran into this issue with Xcode 11.2 and Apollo 0.27.1
I had just forgotten to use the right Xcode and using 11.5 fixed it.