ipad - CoreMidi _MIDINetworkNotificationContactsDidChange symbol not found -


i'm getting following error after crash in ipad app uses coremidi (the * blank out app name):

dyld error message:  symbol not found: _midinetworknotificationcontactsdidchange  referenced from: /var/mobile/applications/8f08b78e-929d-4c5a-9f02-08fd5743c17f/***.app/***  expected in: /system/library/frameworks/coremidi.framework/coremidi in /var/mobile/applications/8f08b78e-929d-4c5a-9f02-08fd5743c17f/***.app/***  dyld version: 179.4 

when app launches, listen midi network sessions using

[[nsnotificationcenter defaultcenter] addobserver:self selector:@selector(sessiondidchange:) name:midinetworknotificationsessiondidchange object:nil]; [[nsnotificationcenter defaultcenter] addobserver:self selector:@selector(sessiondidchange:) name:midinetworknotificationcontactsdidchange object:nil]; 

which seems causing crash. after call

session = [midinetworksession defaultsession]; session.enabled = yes; session.connectionpolicy = midinetworkconnectionpolicy_anyone; midiclientcreate(cfstr("midimanager"), midinotifyproc, (void*)self, &midiclientref); 

this kind of looks coremidi library has not been included in build. problem is, included in build required framework. (and deployment target set 4.2). can run build fine on ipad , have been testing extensively other users' ipads no problems whatsoever. also, update existing app has had several updates no problems.

i double checked deployment build , framework included, , installed build onto ipad (with different provisioning profile store) , works fine also.

what happening? xcode did bad build 1 sent apple, or missing obvious? change midinetworknotificationsessiondidchange notification symbol literal string (@"midinetworknotificationsessiondidchange") fix things mean time?

thanks help!

seems apple thing. .mm of pgmidi's workhorse class includes @ top:

// reason, not pulled in umbrella header #import <coremidi/midinetworksession.h> 

https://github.com/petegoodliffe/pgmidi


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -