[iOS] latest version does not build Release: 'WebRTC/RTCMediaStream.h' file not found
See original GitHub issueDescription:
Cannot successfully build a RELEASE version of Jitsi Meet on iOS. Debug version builds without any issues. xCode returns ‘WebRTC/RTCMediaStream.h’ file not found in /jitsi-meet/node_modules/react-native-webrtc/ios/RCTWebRTC/WebRTCModule+Permissions.m
Steps to reproduce:
I followed the manual: https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-mobile
- Cloned the most recent version of Jitsi meet (git clone https://github.com/jitsi/jitsi-meet.git)
- NPM install inside /jitsi-meet folder (successful)
- POD install inside /jitsi-meet/ios folder (successful)
- Started xCode and opened /jitsi-meet/ios/jitsi-meet.xcworkspace
- Build with iPhone 11 as simulator, successful. App loads on the iPhone 11 with Metro terminal in the background.
- xCode > Product > Scheme Edit Scheme > and set build to Release instead of Debug
- Pressed the Build button with iPhone 11 as simulator
- xCode build fails with error ‘WebRTC/RTCMediaStream.h’ file not found
Expected behavior:
It should run the RELEASE version of Jitsi-Meet on the xCode iPhone 11 simulator
Version information:
- Jitsi Meet version: latest with git clone, jitsi-meet_5471
- Operating System: macOS Cataline version 10.15.7
- NPM version 7.4.3
- POD version 1.10.1
NPM install log
> jitsi-meet@0.0.0 postinstall
> jetify
Jetifier found 1030 file(s) to forward-jetify. Using 8 workers...
added 2200 packages, and audited 2201 packages in 1m
21 low severity vulnerabilities
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
POD install log
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Downloading dependencies
Installing AppAuth (1.2.0)
Installing BVLinearGradient (2.5.6)
Installing CocoaLumberjack (3.5.3)
Installing DoubleConversion (1.1.6)
Installing FBLazyVector (0.61.5-jitsi.2)
Installing FBReactNativeSpec (0.61.5-jitsi.2)
Installing Firebase (6.33.0)
Installing FirebaseAnalytics (6.8.3)
Installing FirebaseCore (6.10.3)
Installing FirebaseCoreDiagnostics (1.7.0)
Installing FirebaseCrashlytics (4.6.1)
Installing FirebaseDynamicLinks (4.3.1)
Installing FirebaseInstallations (1.7.0)
Installing Folly (2018.10.22.00)
Installing GTMAppAuth (1.0.0)
Installing GTMSessionFetcher (1.2.2)
Installing GoogleAppMeasurement (6.8.3)
Installing GoogleDataTransport (7.4.0)
Installing GoogleSignIn (5.0.1)
Installing GoogleUtilities (6.7.2)
Installing ObjectiveDropboxOfficial (3.9.4)
Installing PromisesObjC (1.2.10)
Installing RCTRequired (0.61.5-jitsi.2)
Installing RCTTypeSafety (0.61.5-jitsi.2)
Installing RNCAsyncStorage (1.13.2)
Installing RNDefaultPreference (1.4.2)
Installing RNDeviceInfo (8.0.0)
Installing RNGoogleSignin (3.0.1)
Installing RNSVG (12.1.0)
Installing RNSound (0.11.0)
Installing RNWatch (0.4.3)
Installing React (0.61.5-jitsi.2)
Installing React-Core (0.61.5-jitsi.2)
Installing React-CoreModules (0.61.5-jitsi.2)
Installing React-RCTActionSheet (0.61.5-jitsi.2)
Installing React-RCTAnimation (0.61.5-jitsi.2)
Installing React-RCTBlob (0.61.5-jitsi.2)
Installing React-RCTImage (0.61.5-jitsi.2)
Installing React-RCTLinking (0.61.5-jitsi.2)
Installing React-RCTNetwork (0.61.5-jitsi.2)
Installing React-RCTSettings (0.61.5-jitsi.2)
Installing React-RCTText (0.61.5-jitsi.2)
Installing React-RCTVibration (0.61.5-jitsi.2)
Installing React-cxxreact (0.61.5-jitsi.2)
Installing React-jsi (0.61.5-jitsi.2)
Installing React-jsiexecutor (0.61.5-jitsi.2)
Installing React-jsinspector (0.61.5-jitsi.2)
Installing ReactCommon (0.61.5-jitsi.2)
Installing Yoga (1.14.0)
Installing boost-for-react-native (1.63.0)
Installing glog (0.3.5)
Installing nanopb (1.30906.0)
Installing react-native-background-timer (2.4.0)
Installing react-native-calendar-events (2.0.0)
Installing react-native-keep-awake (4.0.0)
Installing react-native-netinfo (4.1.5)
Installing react-native-splash-screen (3.2.0)
Installing react-native-webrtc (1.87.3)
Installing react-native-webview (11.0.2)
Generating Pods project
Integrating client projects
Pod installation complete! There are 47 dependencies from the Podfile and 59 total pods installed.
[!] The Podfile contains framework or static library targets (JitsiMeetSDK), for which the Podfile does not contain host targets (targets which embed the framework).
If this project is for doing framework development, you can ignore this message. Otherwise, add a target to the Podfile that embeds these frameworks to make this message go away (e.g. a test target).
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:6 (1 by maintainers)
Top Results From Across the Web
[iOS] latest version does not build Release: 'WebRTC ...
Debug version builds without any issues. xCode returns 'WebRTC/RTCMediaStream.h' file not found in /jitsi-meet/node_modules/react-native-webrtc/ ...
Read more >WebRTC.h File Not Found - Stack Overflow
When I tried to create an Archive built, I got this error: WebRTC/WebRTC.h' file not found. Error log ... #if TARGET_OS_IPHONE #import ...
Read more >new builds not show in app store c… | Apple Developer Forums
i had upload new build(version 6.8.9) with application loader about 20 hours ago, and loader show success, but the new build 6.9.9 not...
Read more >Places SDK for iOS release notes - Google Developers
If your dependencies do not specify a version number, your IDE will load the newest SDK version and new builds of your app...
Read more >Release notes for iOS - Zoom Support
This requires version 5.12.6 and not all apps will be immediately available, as app developers must meet some additional requirements set by Apple....
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
I had the same issue described above.
Xcode Version 12.2 (12B45b) iOS SDK 14.2 CocoaPods 1.10.x
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.