abomadi / cordovayoutubevideoplayer Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ihadeed/cordovayoutubevideoplayer
Play Youtube Videos in a native Video Player on Android & iOS
License: MIT License
This project forked from ihadeed/cordovayoutubevideoplayer
Play Youtube Videos in a native Video Player on Android & iOS
License: MIT License
I get an install error when i try to add ios platfrom
I did a platform rm ios
then i added the pugin
cordova plugin add https://github.com/abomadi/CordovaYoutubeVideoPlayer
then i added the ios platform and i get this error. I then added ruby with npm i -g ruby. Then re added ios platform. same error.
Failed to install 'cordova-plugin-youtube-video-player': undefined
CordovaError: Promise rejected with non-error: '/bin/sh: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory\n'
at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:29:15)
at process._tickCallback (internal/process/next_tick.js:68:7)
Hey there, thank you for your fork!
Just wanted to point out that when I started using your fork I stepped on this small issue (where I just followed what it said in the title). P.s. I have I haven't touched any iOS native development yet.
YoutubeVideoPlayer.m
#import "YoutubeVideoPlayer.h"
#import <XCDYouTubeKit.h>
#import "AVFoundation/AVFoundation.h"
#import <AVKit/AVKit.h>
When I execute cordova build ios it displays
duplicate symbol 'OBJC_CLASS$_YoutubeVideoPlayer' in:
duplicate symbol 'OBJC_METACLASS$_YoutubeVideoPlayer' in:
The following error is generated every time a build is ran after the first successful build.
cordova-plugin-youtube-video-player/YoutubeVideoPlayer.m:9:9: fatal error:
'XCDYouTubeKit.h' file not found
#import "XCDYouTubeKit.h"
^~~~~~~~~~~~~~~~~
1 error generated.
** ARCHIVE FAILED **
The first build right after the install completes seems to work properly, but every build afterwards generates this failure. This seems to be related to issue #1. The only workaround I have found has been to uninstall the plugin, and reinstall it every single time I want to build my app.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.