Can't build with XCode 9.2, got error "Too many arguments to block call, expected 1, have 3"
See original GitHub issueHi, 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:
- Created 6 years ago
- Reactions:2
- Comments:8 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
add:
pod 'XCDYouTubeKit', '~> 2.5'
to pod file and run pod installxcode : 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.