-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpectedly found nil while unwrapping an optional value if using cocoa pods #24
Comments
I have ran into the same error. Also Pods_YouTubeVideoPlayer.framework and YouTubePlayer.framework is all red in the navigator. |
Ditto @memetcircus, do you know of any solution/workaround? |
Couldn't find any but it seems that it happens if I use cocoa pods |
Same, it looks like the YTPlayer.html is missing |
@AlexChesters checkout my fork at my page. I fixed the bug. |
Did you install cocoa pods on your machine ? Mehmet Akif On Wednesday 15 July 2015 at 17:59, Dante Puglisi wrote:
|
I'm having this same issue. Any word on a fix? I tried manually changing the file that @memetcircus had changed, however it didn't seem to fix the issue. |
@Jalsemgeest it works perfectly if you don't use cocoapods, only workaround I've found |
Add YTPlayer.html manually to your project's resources, then change the line I wrote above or fork my version of the project in cocoapods.
|
Hey @memetcircus. Do you think you could open a pull request between your fork and the |
If your'e using cocoa pods you will definitely get this error. To resolve this issue I copied the "YTPlayer.html" file into MY PROJECT (not YouTubePlayer) supporting files folder and change the below code in Pods/YouTubePlayer/YouTubePlayer.swift private func playerHTMLPath() -> String { |
@mohanmoorthy thanks man! |
In this function
The text was updated successfully, but these errors were encountered: