Skip to content
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

WatchOS build #62

Open
alexandrovsky opened this issue May 11, 2021 · 13 comments
Open

WatchOS build #62

alexandrovsky opened this issue May 11, 2021 · 13 comments

Comments

@alexandrovsky
Copy link
Collaborator

It would be great to have a the LinkKit compiled for watchOS

@fgo-ableton
Copy link
Contributor

What would be the use case?

@barksten
Copy link
Collaborator

What would be the use case?

The obvious case is a haptic, silent metronome.

@julianvogels
Copy link
Collaborator

Hi @barksten, haptic, silent metronome manufacturer here (Soundbrenner). I like your use case idea!
However, Watch OS doesn't allow the use of the Taptic Engine while the screen is turned off, for battery conservation reasons. You could only run your haptic metronome while looking at your watch.

@fgo-ableton
Copy link
Contributor

Regardless of the use case. LinkKit is just a wrapper around Link. LinkKit mostly provides UI that doesn't make sense on a watch anyways. Link itself compiles fine for watchOS. I don't have a watch to test, but it runs and connects to other peers using the simulator.

@designerfuzzi
Copy link
Collaborator

designerfuzzi commented May 12, 2021

I kind of agree it would be huge to have LinkKit on watchOS tho..
Because when you think of a shaker which is what a watch basicaly is - but without sound, it becomes very powerful tool if there is some reference to compare shaking gestures to rhythm. In example to express swing rhythmic in a fixed set of clock frequency it relates to.

@jnpdx
Copy link
Collaborator

jnpdx commented May 13, 2021 via email

@JeromeDevillers
Copy link

I'm also very interested about watchOS !

I would like to develop a simple app to trigger the record button.

Why?

Because sometimes i'm far from my computer , holding a guitar and I think it should be really useful for me.

@profmadden
Copy link
Collaborator

@JeromeDevillers -- there's a good app already with MIDI support
https://apps.apple.com/us/app/midiwrist/id1452355349
This is by Geert Bevin, who's at Moog these days.

Nothing wrong with building your own app if you desire (I did one early on -- lots of fun), but Geert's may be all you need.

@jda808
Copy link
Collaborator

jda808 commented Jan 20, 2022

It is mentioned that LinkKit is a wrapper around Link. So it is possible to create a custom build that targets the WatchOS.

It is also mentioned that "Custom builds of LinkKit depend on the cross-platform version of Link and are subject to this license. Please note that the GPL is not compatible with the iOS App Store."

I have been sitting on an Watch app I would like to release to market for well over a year, but I am not sure how to move forward unless a precompiled watchOS build is supplied by Ableton. My understanding is that if I make a custom build of Link, I violate the App Store rules and the app will be rejected.

Thanks for your consideration,
jda

@jda808
Copy link
Collaborator

jda808 commented Jan 20, 2022

Thank you for your feedback, designerfuzzi. TBH I have good comprehension and fully understand the ramifications of dual license scheme. I also understand how the App Store submission process works and also understand entitlements, private frameworks etc.

Ultimately, this is just a gentle nudge to the powers that be, the Ableton Devs that work on LinkKit, requesting them to include architectures appropriate for WatchOS into the xcframework package included into the pre-baked release build of LinkKit.

@fgo-ableton
Copy link
Contributor

Hey @jda808,
Link (https://github.com/Ableton/link) is dual licensed. The proprietary license is compatible with the Apple App Store. Please contact [email protected] for more details.

Regarding a LinkKit build for watchOS: As I said before, LinkKit mostly contains UI that is not compatible with the Watch. So I don't think a watchOS version of LinkKit would be useful.
The C++ version of Link contains the actual functionality. It also has a plain C wrapper (https://github.com/Ableton/link/tree/master/extensions/abl_link) that should be fairly straight forward to use from Swift. So you should be able to build you iOS app based on that.

@uwehollatz
Copy link
Collaborator

uwehollatz commented Aug 19, 2024

I've taken the opportunity to compile the Link against watchOS, and finally it succeeded. However, even if Link is running on watchOS, it's not working: First test on wachtOS simulator was successful, but on Apple Watch itself not. My guess was, because of some restrictions, and after some research, it turns out to be true:
https://developer.apple.com/documentation/technotes/tn3135-low-level-networking-on-watchos
This is a show-stopper. So we can close this thread against "Apple won't fix that"

@fgo-ableton
Copy link
Contributor

@uwehollatz Thanks for looking into this! I also doubt that Apple will ever allow this. Anyways, I'll leave the issue open as it would be nice to have. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

10 participants