rubymotion-community / BubbleWrap

Cocoa wrappers and helpers for RubyMotion (Ruby for iOS and OS X) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull requests
Other
1.18k stars 208 forks source link

iOS 13 No longer supports MPMoviePlayerController #500

Open ljorgens opened 4 years ago

ljorgens commented 4 years ago

Looks like this got depreciated in iOS 9 and is finally being removed in iOS 13

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'MPMoviePlayerController is no longer available. Use AVPlayerViewController in AVKit.'

https://forums.developer.apple.com/thread/119903

wndxlori commented 4 years ago

Happily accepting pull requests to fix this.

markrickert commented 4 years ago

Once I'm able to compile a client app for ios 13, i'll likely have to fix this for them (the app plays videos with bubblewrap)

A quick search shows it might be fairly easy to swap out MPMoviePlayerViewController for AVPlayer https://stackoverflow.com/questions/36320853/moving-from-mpmovieplayerviewcontroller-to-avplayer-and-streaming-m3u8

Once we've got a stable build of RM running for ios 13, i'll tackle this.

wndxlori commented 4 years ago

RM 6.3 supporting Xcode 11.1 has been officially released.

On Oct 1, 2019, at 10:58 AM, Mark Rickert notifications@github.com wrote:

 Once I'm able to compile a client app for ios 13, i'll likely have to fix this for them (the app plays videos with bubblewrap)

A quick search shows it might be fairly easy to swap out MPMoviePlayerViewController for AVPlayer https://stackoverflow.com/questions/36320853/moving-from-mpmovieplayerviewcontroller-to-avplayer-and-streaming-m3u8

Once we've got a stable build of RM running for ios 13, i'll tackle this.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.