error when loading youtube video on iOS
See original GitHub issueI’ve been doing all the requirements (installing, linking the lib both ways, calling the component) and still have an error on the screen that holds the <Youtube /> component. I provided an apiKey.
The error says:
invariant violation: Native component for "RCTYoutube" does not exist.
I’m not using create-react-native starter, and build my app through react-native run-ios
Could you please help me solving this basic issue ? Thanks
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
How to Fix “YouTube Error Loading Tap to Retry” on iPhone
How to Fix YouTube Error Loading Tap to Retry on iPhone · Tip 1. Update the YouTube App from App Store · Tip...
Read more >Troubleshoot YouTube error messages - iPhone & iPad
Restart the YouTube app. Restart your device: Do a hard restart by disconnecting the power and then reconnecting. For game consoles: Uninstall and...
Read more >Fix YouTube Error loading Tap to Retry on iPhone iOS 16 ...
Fix YouTube Error loading Tap to Retry on iPhone iOS 16 Updated · #1. Update YouTube App and iPhone · #2. Update Modem...
Read more >9 Ways to Fix YouTube Error Loading Tap to Retry iPhone
How to Fix YouTube Error Loading Tap To Retry iPhone? · Update the YouTube App · Check Your Internet Connection · Check for...
Read more >[Solved!] YouTube Error Loading Tap to Retry on iPhone
Update your YouTube app · Reinstall your YouTube app · Make sure the Airplane mode is disabled · Watch the video later ·...
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
@rajatbeck, open your IOS project in Xcode and check to see if the “RCTYoutube.xcodeproj” library was actually added to the “Libraries” folder. Also check to see if “libRCTYouTube.a” was added to the “Link Binary With Libraries” list found in your Targets’ Build Phases.
If not, you need to add the “RCTYoutube.xcodeproj” library to the Xcode Libraries folder. You can find “RCTYoutube.xcodeproj” in the react-native-youtube folder of your app’s Node Modules folder. Once you’ve done that you’ll be able to find the “libRCTYouTube.a” binary when you click the “+” option at the end of the “Link Binary With Libraries” list found in your Targets’ Build Phases. All should be working after this is done.
The official docs for manually linking libraries explains it well with screenshots: https://facebook.github.io/react-native/docs/linking-libraries-ios.html
any update on that ?