apollographql / apollo-ios

📱  A strongly-typed, caching GraphQL client for iOS, written in Swift.
https://www.apollographql.com/docs/ios/
MIT License
3.87k stars 717 forks source link

VisionOS Support #3320

Closed bdunay3 closed 5 months ago

bdunay3 commented 8 months ago

Use case

Can we get support for being able to use Apollo on VisionOS? We'd like to be able to run queries against our graph on that Apple platform.

Describe the solution you'd like

I looked through the code and there isn't anything that's platform specific. Everything Apollo uses is available on VisionOS (with the exception of SQLite), so it shouldn't be more then adding it to the supported platforms list in the Package manifest.

AnthonyMDev commented 8 months ago

Yes, I've already started to look into this. I'm actually looking into what it would take to get SQLite to support VisionOS as well!

The only other barrier so far is that Quick/Nimble doesn't support it yet, so we can't run our unit tests against that platform. Which is not technically blocking us, but I'd like to get that support pushed as well.

loganblevins commented 7 months ago

Bumping for visionOS support

calvincestari commented 7 months ago

The Nimble dependency update has been done, I believe it's SQLite we're still waiting on.

loganblevins commented 7 months ago

@calvincestari Is the SQLite dependency a binary?

calvincestari commented 7 months ago

No, we use the source package. visionOS needs to be declared in their list of supported platforms as well as any required changes that comes from enabling that.

loganblevins commented 7 months ago

Oh I see. You're simply wrapping the C lib with a Swift frontend. Is there an ETA on this? My options are wait or fork it

AnthonyMDev commented 7 months ago

I've got a PR up to add support to SQLite.swift right here. I can't tell you how long until they respond to me, but I did ping them today to ask for some eyes on it.

loganblevins commented 7 months ago

Where does this stand? @calvincestari

AnthonyMDev commented 7 months ago

We are still waiting on SQLite.swift. As soon as that is merged in, I will finish this up!

github-actions[bot] commented 5 months ago

Do you have any feedback for the maintainers? 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.