-
Notifications
You must be signed in to change notification settings - Fork 48
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
IOS build Fail #7
Comments
I'm getting the same error. @KwandSeokCho Did you find a solution? |
I'm sorry. And I am not good at English. build Success in Xcode as far as I remember. So, it was hard because I kept building whenever code changed. T.T |
@KwandSeokCho thank you, your English is fine :) I solved this by removing the iOS platform, upgraded XCode from 11.3 to 11.4. Added the iOS platform and built from within XCode. |
Turns out this is still an issue for me, it works by building within XCode but does not work from the command line. |
@sjregan Same for me. My whole build process is wonky because of this but as of now, don't have an alternative. I have to do an ionic build, then build again within xcode for code updates to be reflected inside the simulator. |
@sjregan This plugin points to a release of the iOS plugin (XCDYouTubeKit) that's like 5 minor versions behind. I wonder if this has something to do with it? |
Correct import in YoutubeVideoPlayer.h is #import <XCDYouTubeKit/XCDYouTubeVideoPlayerViewController.h> and in YoutubeVideoPlayer.m #import <XCDYouTubeKit/XCDYouTubeKit.h> |
This actually worked. Thank you. After making the changes remove the iOS platform and add again. |
Hi, @ihadeed
"@ionic/angular": "^4.11.7",
"@ionic-native/youtube-video-player": "^5.21.4",
"cordova-plugin-youtube-video-player": "2.4.0",
"@angular/common": "~8.1.2",
"@angular/compiler": "~8.1.2",
"@angular/core": "~8.1.2",
"cordova-android": "8.1.0",
"cordova-ios": "5.1.1",
It works well on Android.
but, It cannot be build in IOS...
[cordova] [cordova] ** BUILD FAILED ** [cordova] [cordova] [cordova] The following build commands failed: [cordova] CompileC /Users/ctsoft/Library/Developer/Xcode/DerivedData/edume-aozxplehlcprepgdnaexsfzmsuow/Build/Intermediates.noindex/edume.build/Debug-iphonesimulator/edume.build/Objects-normal/x86_64/YoutubeVideoPlayer.o /Users/ctsoft/Desktop/dev/edume/platforms/ios/edume/Plugins/cordova-plugin-youtube-video-player/YoutubeVideoPlayer.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler [cordova] (1 failure) [cordova] xcodebuild: Command failed with exit code 65
Is there anything else I need to setting?
Here in the 'JonSmart/CordovaYoutubeVideoPlayer' plug-in, the build succeeds.
Please Help me.
The text was updated successfully, but these errors were encountered: