Same issue for me.
AUGraphStop crash on iOS 14 Beta.
Xcode 11.3 (Crash)
Xcode 12.0 beta 4(12A8179i) Crash
Not able to test on older Xcode version as they are not supporting Beta iOS 14.0.
(void) stopAudioUnitWithReason:(STKAudioPlayerStopReason)stopReasonIn
{
OSStatus status;
if (!audioGraph)
{
stopReason = stopReasonIn;
self.internalState = STKAudioPlayerInternalStateStopped;
return;
}
Boolean isRunning;
status = AUGraphIsRunning(audioGraph, &isRunning);
if (status)
{
[self unexpectedError:STKAudioPlayerErrorAudioSystemError];
}else if (!isRunning) {
stopReason = stopReasonIn;
self.internalState = STKAudioPlayerInternalStateStopped;
return;
}
status = AUGraphStop(audioGraph);		 Here is the Crash
if (status) {
[self unexpectedError:STKAudioPlayerErrorAudioSystemError];
}
[self resetPcmBuffers];
stopReason = stopReasonIn;
self.internalState = STKAudioPlayerInternalStateStopped;
}
Post
Replies
Boosts
Views
Activity
you need to use this IBAN number
GB22MODR04007536157228