-
Notifications
You must be signed in to change notification settings - Fork 575
CoreMIDI iOS xcode27.0 b3
Alex Soto edited this page Jul 7, 2026
·
2 revisions
#CoreMIDI.framework
diff -ruN /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDINetworkSession.h /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDINetworkSession.h
--- /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDINetworkSession.h 2026-06-09 06:54:58
+++ /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDINetworkSession.h 2026-06-25 01:54:05
@@ -88,10 +88,18 @@
/* __________________________________________________________________________________________________
MIDINetworkSession
-
+
A network session represents one CoreMIDI entity (source/destination pair). One session can
have any number of connections. Output is broadcast to all connections; input from multiple
connections is merged.
+
+ Note: On macOS and Mac Catalyst, network MIDI sessions are configured by the user
+ through Audio MIDI Setup. The methods of this class are non-functional on macOS/Catalyst —
+ accessors return nil/NO/0 and mutators are no-ops. The symbols exist on macOS only so that
+ code shared between iOS and Catalyst can link. Once the user has enabled the session in
+ Audio MIDI Setup, the resulting source/destination endpoints can be discovered and used
+ through the standard CoreMIDI APIs (MIDIGetNumberOfDevices, MIDIGetSource, MIDIGetDestination,
+ etc.).
*/
OS_EXPORT MIDINETWORKSESSION_AVAILABLE
@interface MIDINetworkSession : NSObject {