-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support to watchOS from 4.0 #182
base: main
Are you sure you want to change the base?
Conversation
Thanks for the PR, @rin-senpai! Before you proceed any further though, I'll need to discuss with my team about whether we want to support an additional platform going forward. I'd also need to verify that our networking code works on a real Apple Watch, rather than the watchOS simulator. |
I've added the platform in the package.swift file (it's v8 because seems like that's needed for some things). I could probably also lower that v8 to v7 or lower and require 8.0 where needed, and also remove all the watchOS 7.0s that aren't needed to clean things up, so I'll do that later when I have time. |
@andrewheard I've done the changes I mentioned above and there are no issues with building other than this thing which I is confusing me a little: |
Hi @rin-senpai, despite the documentation for That said, I just want to reiterate from before:
This issue is one example of the maintenance burden of an additional platform. cc: @ryanwilson |
Yes of course I do understand the maintenance burden, and no rush on making a decision there. I'm just making sure it actually works if the team decides to go through with this, and even if not I'll be maintaining my own fork anyway. I'll look into the aforementioned issue more later, as I do recall watchOS supporting CGImage, but if things don't work out I'll just remove the extension as you have said. Thanks! |
Hey @andrewheard! Finally got around to fixing this and in my latest commit the CGImage build error is fixed and I can confirm it works. I've tested basic things such as image and text generation, and there doesn't seem to be any issues so in the interest of my time I'll probably leave it at that for the moment. If there are any style issues for me to address I'll do so sometime in the next few weeks. I know the team may decide the maintenance burden is too high, but just wanted to update you. |
hey is there an update on this? |
Hi @rin-senpai, unfortunately we don't currently have plans to support watchOS in this SDK in the near term. As a potential alternative, I've added basic watchOS support in the Vertex AI in Firebase SDK. The API surface is quite similar and we have a migration guide here: https://firebase.google.com/docs/vertex-ai/migrate-to-vertex-ai?platform=ios |
Description of the change
I changed the files to also run if on watchOS 7.0+
Motivation
So this can be used on watchOS.
Type of change
Not sure what it counts as?
Checklist
git pull --rebase upstream main
).