1.解决智温宝测温进入环信聊天室不能测温
//打开听筒
AVAudioSession *session = [AVAudioSession sharedInstance];
NSError *sessionError;
[session setCategory:AVAudioSessionCategoryPlayAndRecord error:&sessionError];
2.偶尔运行崩溃

2018-04-17 11:20:05.067379+0800 LekangYoujiao[443:54856] [aurioc] 918: failed: '!pla' (enable 3, outf< 2 ch, 0 Hz, Int8.24, non-inter> inf< 2 ch, 0 Hz, Int8.24, non-inter>)
Error: couldn't initialize the remote I/O unit ('!pla')
2018-04-17 11:20:11.614033+0800 LekangYoujiao[443:54856] [aurioc] 918: failed: '!pla' (enable 3, outf< 2 ch, 0 Hz, Int8.24, non-inter> inf< 2 ch, 0 Hz, Int8.24, non-inter>)
初步猜想:在后台激活了音频(iOS应用程序不允许从后台状态播放音频),待解决
3.家园导入VLC崩溃如下:

解决办法:Build Settings——搜索 Other Linker Flags 在此修改为-Objc(去掉:-all_load)

网友评论