iOS Install Guide | React Native 60.5
See original GitHub issueThis is the only procedure that worked for me when installing this library. It solves:
- Invariant Violation: requireNativeComponent:“ReactYoutube” was not found in UIManager
- Blank white thumbnail, video wont play
- Archiving build error
- Random build errors on iOS
If the readme isn’t working for you, give this a try…
Procedure
-
npm install react-native-youtube --save -
In Xcode, add RCTYouTube.xcodeproj to Libraries
-
Build Phases > Link Binary With Libraries > add libRCTYouTube.a
-
Click on the RCTYouTube Library, mark the Pods header search path as recursive

-
Open your Podfile, add
pod "YoutubePlayer-in-WKWebView", "~> 0.3.3"or whatever the latest version is of https://github.com/hmhv/YoutubePlayer-in-WKWebView then run:
cd ios
pod update
- After running
pod update, make sure in Xcode, Pods > Pods folder > YoutubePlayer-in-WKWebView is there and in Products libYoutubePlayer-in-WKWebView.a is there also.
- 7.1 If it doesn’t show in Xcode after pod update close Xcode, delete the Pods folder and podfile.lock and do pod update again.
Now click Run in Xcode. It’ll use the manually linked RCTYouTube library coupled with the WKWebView dependency as a pod.
Time to solve: 2 days
Issue Analytics
- State:
- Created 4 years ago
- Reactions:18
- Comments:6 (1 by maintainers)
Top Results From Across the Web
iOS Install Guide | React Native 60.5 · Issue #401 - GitHub
This is the only procedure that worked for me when installing this library. It solves:.
Read more >Setting up the development environment - React Native
This page will help you install and build your first React Native app.
Read more >Developer's Guide to Installing React Native for iOS
Step 1. Install Pendo SDK · 1. In the application folder, run the following command: Using NPM: · 2. In the iOS folder,...
Read more >How to Install React Native on Mac? Step by Step Guide
Step 1. Install Homebrew : · Step 2. Install Node.js : · Step 3. Install watchmen : · Step 4. Install React Native...
Read more >Getting Started - React Native Elements
Installing React Native Elements depends on your type of react native project. ... an ios/android directory), then follow these installation instructions: ...
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 Free
Top 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

Thank you! this worked for me on a
"react-native": "^0.57.0",app@jordangrant Thanks for taking the time to put this together your description worked perfectly for me. I owe you a beer!