AUIOClient_StartIO failed

 ERROR:   [0x16e93f000] 1233: AUIOClient_StartIO failed (-66637)

 ERROR:    [AURemoteIO::IOThread] >aurioc> 1503: AURemoteIO@0x15d1d8440: IOThread exiting with error 0x10004006

 ERROR:    [0x16e93f000] 1233: AUIOClient_StartIO failed (-66637)


解决:

    NSError *error;
    [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord error:&error];
    if (error) {
        NSLog(@"%@",error);
    }


你可能感兴趣的:(AUIOClient_StartIO failed)