-
Notifications
You must be signed in to change notification settings - Fork 693
EXC_BAD_ACCESS with iOS 12 and Swift 4.2 #322
Comments
^^ I have the same problem, right now. Essentially, if I go in and out of fullscreen 1-2x, the app will crash with a EXC_BAD_ACCESS error or a memory issue. |
I have the same problem too. |
I have the same problem. Check error logs Steps to perform:
|
Just noticed that this library hasn’t been updated in 2 years, despite it being an official YouTube product. I have doubts that this will be fixed in a reasonable time frame. Any recommendations for another similar YouTube library that is regularly maintained? |
This happens using a UIWebView as well, it's probably an issue with iOS 12 |
I have the same problem :( |
@kunaljaypatel it doesn't look like there are many YouTube libraries that are regulary maintained. I'm trying to transition to TRVideoView and it seems like it meets my needs and doesn't crash. |
I'm actually just using iframe API in Cordova WebView, but solved this for now just by removing the player instance and initializing it again after each video playback. |
@g0ld2k TRVideoView looks promising. Thanks! |
Getting this same behavior as well - user goes in and out of fullscreen video, throws Our crash logs reference |
Are there any plans to update this library to WKWebView in the near future? Apple has recommended that people use WKWebView since iOS 8. We are now on iOS 12 and clearly this library is not a viable solution anymore due to these crashes. |
With similar implementation I have ported this library into Swift here YoutubePlayerView |
I have the same problem too. |
I have same issue. How to slove? |
I've been using a fork,YoutubePlayer-in-WKWebView, since early October 2018 to get around this issue. It has a very similar implementation, and it's supported. |
I tried both the forks YoutubePlayer-in-WKWebView and https://github.com/mukeshydv/YoutubePlayerView but both of them return the same error with the avplayer feature. Inline play works well but the native avplayer breaks with this exception. |
I'm having an issue after migrating my code to Swift 4.2 and iOS 12 where after playing content using the youtube-ios-player-helper my app crashes after rotating the screen and interacting with some of the onscreen controls during playback.
I've created a sample project that is experiencing this. I've been able to consistently recreate the issue using the following steps:
Anyone else experiencing this?
The text was updated successfully, but these errors were encountered: