Swift I';我在tvos应用程序中播放.mp4 URL时遇到问题

Swift I';我在tvos应用程序中播放.mp4 URL时遇到问题,swift,avplayer,tvos,Swift,Avplayer,Tvos,最近,我的tvOS应用程序停止工作,因为我在日志中看到一条消息: [avas] AVAudioSessionUtilities.h:112:GetProperty: AudioSessionGetProperty ('caft') failed with error: '!ini' [avas] AVAudioSessionUtilities.h:127:GetProperty_DefaultToZero: AudioSessionGetProperty ('caft') failed with

最近,我的tvOS应用程序停止工作,因为我在日志中看到一条消息:

[avas] AVAudioSessionUtilities.h:112:GetProperty: AudioSessionGetProperty ('caft') failed with error: '!ini'
[avas] AVAudioSessionUtilities.h:127:GetProperty_DefaultToZero: AudioSessionGetProperty ('caft') failed with error: '!ini'
事实上,它以前工作过,大约一个月前就停止工作了

我知道这和音频有关,我已经尝试了很多方法,但仍然不起作用

我可以使用其他第三方播放器,如但不是AVPlayer

它起作用了。在模拟器上,但在设备上!设备在屏幕左下角显示一个红色图标,并记录上述两行

非常感谢您的帮助或推荐

谢谢