question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't build with XCode 9.2, got error "Too many arguments to block call, expected 1, have 3"

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
dann1609commented, Feb 14, 2018

add: pod 'XCDYouTubeKit', '~> 2.5' to pod file and run pod install

1reaction
engladgutcommented, Oct 8, 2018

xcode : 10 react : 16.4.2 react-native : 0.55.4

image

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't build with XCode 9.2, got error "Too many arguments to block ...
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...
Read more >
Can't build with XCode 9.2, got error "Too many arguments to ...
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...
Read more >
Too many arguments to function cal… | Apple Developer Forums
Any idea why such error when Apple Silicon enabled? Too many arguments to function call, expected 0, have 3. The error is on...
Read more >
XCode 12 error with IMP instance: Too many arguments to ...
There is some warning, but at least build is successful. id (*grannyImp)(Class, SEL) = (id(*)(Class,SEL))class_getMethodImplementation(granny, ...
Read more >
[Solved]-IBAction Controlling too many actions - appsloveworld
IBAction Controlling too many actions · Too many arguments to function call, expected 0, have 3 · Xcode crashing on startup possibly due...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found