I try to create app with possibility to recognize music tracks, however each time I call block:
dispatch_async(self.internalQueue, ^{
self.gnAudioVisualizeAdapter = [[GnAudioVisualizeAdapter alloc] initWithAudioSource:self.gnMic audioVisualizerDelegate:self];
[self.gnMusicIDStream audioProcessStartWithAudioSource:(id )self.gnAudioVisualizeAdapter error:&musicIDStreamError];
});
I get error informing about deadlock
2014-10-20 13:29:59.954 BTTest[2193:595084] -[__NSArrayM enqueueObj:]: unrecognized selector sent to instance 0x17804f210
2014-10-20 13:29:59.976 BTTest[2193:595084] *** -[NSCondition lock]: deadlock ( '(null)')
2014-10-20 13:29:59.977 BTTest[2193:595084] *** Break on _NSLockError() to debug.
I just Copy&paste several methods from sample sdk into fresh project. Does anybody had similar problem on iOS?
Edit: Ok after few hours of digging I found solution: Add -ObjC into "other linker flags" now no info about deadlock... just "Error: 0xffffffceError: 0xffffd591"