-
Notifications
You must be signed in to change notification settings - Fork 7
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
rtmidi on ios is not working #39
Comments
this branch might fix it |
oops, that indeed looks like a real issue. Thanks for the report. You can verify your local changes to ktmidi by publishing your version "locally" by running ktmidi gradle target
and your reference ( |
Thanks for the suggestion, I'll try it and give you an update! |
I'm rolling 0.4.2 release as planned, but we can release 0.4.3 at any time once this iOS build issue gets resolved. |
I believe I fixed it on the If it builds I will close this issue and your PR once I could release the latest version (that will be v0.5.0 as there will be various updates). |
@atsushieno I'm trying to make rtmidi work on iOS but wasn't even able to compile it for iOS successfully. I could build a static lib, but shared fails with an error reporting that jack isn't present on my system which isn't true. I'm using ios-cmake to build. Just wanted to let you know that I'm still working on the issue! |
Ah, I don't think iOS build is supported in RtMidi itself and thus it's not going to be our candidate MidiAccess implementation for iOS. It is more realistic to implement |
(ktmidi offers some API that is independent of native MIDI access API such as UMP processing, so having no MidiAccess implementation is not a concern to me.) |
iOS is supported since 5.0.0 but not a lot information is available on it. But yes CoreMidiAccess would work too for both mac and iOS, I might go this way instead.
Thanks for the suggestion, I'll look if it works for us! |
Oh, interesting. I didn't find any mention on "iOS" in RtMidi sources so I thought it does not. It seems it mentions "IPHONE". But current RtMidiAccess is based on rtmidi-jna which does not support iOS either way (for that JNAerator maintenance issue). The new rtmidi-javacpp might work as it seems to support iOS (with various dependencies though). |
Yesterday I tried the latest "ktmidi-ci-tool" (a Compose Multiplatform app for the latest MIDI-CI functionality testing tool in this repo) on iOSArm64Simulator and it just worked. Considering that, ktmidi now works on iOS. Only rtmidi part is not covered yet. I would change the subject to mention "rtmidi" and leave it open, but the priority (in case I had...) is lower now. I would prefer CoreMIDI bindings, especially now that we would love to have MIDI 2.0 support in |
As ktmidi 0.8.0 adds native Having said that, |
Considering that v0.9.1 is verified to work, I'm closing this issue. |
Can't build for iOS, says dependencies can't be resolved for iosArm64 and iosSimulatorArm64. My guess is iosX64 target is not enough and you should also include iosArm64 and iosSimulatorArm64
The text was updated successfully, but these errors were encountered: