iOS 14.2 Beta-AVPlayer无法播放 [英] iOS 14.2 Beta - AVPlayer Cannot Play
问题描述
Apple已从iOS 14.0的iOS 14.2 beta版中进行了重大的AVFoundation更改(现在正在更改Control Center UI等).
Apple has made a significant AVFoundation change in iOS 14.2 beta from iOS 14.0 (Now Playing Control Center UI change and etc).
问题在于,一个在iOS 14.0中完美运行的简单音频AVPlayer应用程序不再在iOS 14.2 Beta 2中运行.
The problem is that a simple audio AVPlayer app that worked perfectly in iOS 14.0 does not work in iOS 14.2 Beta 2 anymore.
在iOS 14.2 Beta 2中,向用户表示无法完成操作",错误,并且播放无法开始.
In iOS 14.2 Beta 2, users are greeted with "Cannot complete action" error, and the playback does not start.
有人找到解决此问题的方法了吗?
Did anyone found a workaround for this issue?
推荐答案
也许向苹果公司报告此问题可能会对官方回答有所帮助.
Maybe reporting this problem to Apple could help with an official answer.
我在真实设备上遇到了iOS 14.2 Beta 2的问题,但在模拟器上却没有问题.我可以通过设置automaticallyWaitsToMinimizeStalling = YES
I had problems with iOS 14.2 Beta 2 on real devices but not on simulator. I was able to fix it for me by setting automaticallyWaitsToMinimizeStalling = YES
使用NO
我遇到了
Error Domain = AVFoundationErrorDomain代码= -11819无法完成操作"; UserInfo = {NSLocalizedRecoverySuggestion =稍后再试.,NSLocalizedDescription =无法完成操作,NSUnderlyingError = 0x280e34d80 {Error Domain = NSOSStatusErrorDomain Code = -17221(null)"}}
Error Domain=AVFoundationErrorDomain Code=-11819 "Cannot Complete Action" UserInfo={NSLocalizedRecoverySuggestion=Try again later., NSLocalizedDescription=Cannot Complete Action, NSUnderlyingError=0x280e34d80 {Error Domain=NSOSStatusErrorDomain Code=-17221 "(null)"}}
这篇关于iOS 14.2 Beta-AVPlayer无法播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!