iOS 12.1 NotificationService 无法播放本地的m4a的音频文件?
最近客户反映APP无法正常播报收款了。
于是升级了一下iOS的最新版本,12.1发现,在最新的版本上面NotificationService扩展无法播放本地的音频文件。
错误码:Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-16980), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x10550bba0 {Error Domain=NSOSStatusErrorDomain Code=-16980 "(null)"}}
即使在扩展的Infoplist文件添加了App plays audio or streams audio/video using AirPlay也是无法播放。
因为是收款软件,商户很看重这一点,不知道极光的大神们有没有解决方案,非常感谢!