Hi, I got an error "Too many arguments to block call, expected 1, have 3" after updating to XCode 9.2
At 'RCTYoutubeStandalone.m' at line
reject(@“error”, @“XCDYouTubeKit is not installed”, nil);
react-native: 0.50.4
react-native-youtube: ^1.0.1
Does anyone know how to fix it ? Please help me
@saly2310 can you build the example app in this repo?
add: pod 'XCDYouTubeKit', '~> 2.5' to pod file and run pod install
+1 with:
xcode 9.3
"react": "16.3.1",
"react-native": "0.55.3",
I have same issue @luisfuertes
Hi, have the same error, were you able to fix it?
xcode : 10
react : 16.4.2
react-native : 0.55.4

I added 'libXCDYouTubeKit.a' manually to 'My Target > Build Phases > Link Binary With Libraries' list then it works fine. I don't know why but the library is in pods and builds well but it doesn't work before setting it manually.
Anyways hope it helps someone.
xcode : 10
react : 16.4.2
react-native : 0.55.4
I added 'libXCDYouTubeKit.a' manually to 'My Target > Build Phases > Link Binary With Libraries' list then it works fine. I don't know why but the library is in pods and builds well but it doesn't work before setting it manually.
Anyways hope it helps someone.
where is this .a file located?
The right way to do this is in README:
Standalone iOS player Uses XCDYoutubeKit (Warning: XCDYoutubeKit doesn't conform to YouTube's Terms Of Use). Add the next line to your Podfile and run pod install inside /ios folder:
pod 'XCDYouTubeKit', '~> 2.8'