@FelixFox wrote:
Apple no longer supports MPMoviePlayerController in iOS13 + tvOS13 causing the following error when running on xcode11:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'MPMoviePlayerController is no longer available. Use AVPlayerViewController in AVKit.'
I believe the error is associted with the cocos2dx UIVideoPlayer classes refered in the wrapper files: UIVideoPlayer-iOS.mm, UIVideoPlayer-mac.mm and UIVideoPlayer-iOS.h.
I know that @minggo from cocos 2dx dev team is working on this issue: https://github.com/cocos2d/cocos2d-x/pull/20085
- Do you know when will a version fixing this bug will be released?
- (kind of stupid question) is it ok just to replace the UIVideoPlayer files (UIVideoPlayer-iOS.mm, UIVideoPlayer-mac.mm and UIVideoPlayer-iOS.h) instead of migrating the entire project?
Thanks
Posts: 3
Participants: 2