MIDI file generated by using MusicSequenceFileCreate has Sysex MIDI message (iOS 16.0.2)

I am using the MusicSequenceFileCreate method to generate a MIDI file from a beat-based MusicSequence. In iOS 16.0.2 devices, the file that is created has a Sysex MIDI message added (not by me) to the file at time 0:

f0 2a 11 67 40 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 f7

Sysex messages are manufacturer dependent, a file with this Sysex message can't be read into apps like Nanostudio, Ableton, Zenbeats. It can be read by GarageBand.

My app's deployment target is iOS 13.0.

Has anybody else ran into this issue?

Thanks

Apple has confirmed this issue is a bug. I have filed a bug report.

MIDI file generated by using MusicSequenceFileCreate has Sysex MIDI message (iOS 16.0.2)
 
 
Q