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.

'React/*' file not found on build

See original GitHub issue

react-native: “0.61.5”, react-native-webrtc: “^1.75.2” OS: iOS 13 Test on XCode 11

Hey, I follow all the ios installation steps as described:https://github.com/react-native-webrtc/react-native-webrtc/blob/master/Documentation/iOSInstallation.md First I try with the Pod to skip steps 2-4, but then also try to implement steps 2-4 manually. When I try to run the project I get error image

part of my pod file(relvant part):

pod 'React', :path => '../node_modules/react-native/'
pod 'React-Core', :path => '../node_modules/react-native/'
pod 'react-native-webrtc', :path => '../node_modules/react-native-webrtc'

I try to reinstall the pods, also try on manage scheme build options to add ‘react’ as the first build and uncheck Parallelize Build but it does not help.

The build succeeded only if I remove the webrtc project from ‘libraries’ (add that as described in part 1 in the tutorial). Did I have to include the project in my ‘libraries’ folder? The pod install and react-native link do not add the project automatically?

Thanks!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
Stas-Buzunkocommented, Dec 11, 2019

@OriAmir did you get it working? I face another error during build

node_modules/react-native-webrtc/ios/WebRTC.framework/WebRTC' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target.
2reactions
OriAmircommented, Dec 11, 2019

@saghul Tnx, so I just need to do these steps?

1.npm install react-native-webrtc --save
2.react-native link react-native-webrtc
3.Include in a Pod file in my react-native ios directory:
pod 'react-native-webrtc', :path => '../node_modules/react-native-webrtc'
4.pod install

did that right or I miss something ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

ReactJS - net::ERR_FILE_NOT_FOUND - Stack Overflow
The issue here was when you run the npm run build command without the homepage entry added in your package.json,it is built assuming...
Read more >
404 not found static files after npm run build #1171 - GitHub
Hello, I'm trying to deploy and create react app. I build it and then I served it on my local machine and everthing...
Read more >
Build & Deploy - Hands on React
Build & Deploy. Build​. npm run build creates a build directory with a production build of your app. Inside the build/static directory will...
Read more >
Troubleshooting - Create React App
Check that your file is imported by your entrypoint. · If your project is in a Dropbox folder, try moving it out. ·...
Read more >
Create a New React App
Create React App is a comfortable environment for learning React, and is the best way to start building a new single-page application in...
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