Forgive me, newb, not sure this is the right space.
I’ve been working to get Rocket.Chat’s React Native client up and running, targeting iOS with Xcode. I’ve followed the official setup instructions and React Native CLI setup guide carefully, but I’ve encountered a sequence of frustrating build errors and compatibility issues that seem beyond just configuration mistakes.
Here’s a brief rundown of what I’ve done so far:
- Cloned the latest Rocket.Chat.ReactNative repo.
- Set up Node (v22.x) via NVM, Yarn, and React Native CLI.
- Used yarn and npx pod-install as directed.
- Upgraded to React Native 0.76.9 to avoid the known Hermes/Xcode issue.
- Manually patched Podfile to:
- Set iOS platform to 15.6
- Patch FOLLY_HAS_COROUTINES to 0
- Fix missing Yoga headers
- Disable code signing / bitcode for pods
- Installed updated compatible versions of react-native-screens, react-native-svg, and others based on known compatibility issues with RN 0.76.9.
- Tried both building in Xcode and command line via xcodebuild.
Where I’m stuck now:
Despite removing Watch targets and cleaning everything (DerivedData, Pods, node_modules, etc.), I’m hitting errors like:
ScanDependencies: React-RCTAppDelegate-dummy.m failed
Could not build module 'CoreAudioTypes'
Could not build module 'AVFoundation'
Redefinition of module 'ReactCommon'
I’m hesitant to hack around this further without some guidance—I’d like to keep the app close to upstream, minimize divergence, and get to a working baseline before customizing further.
Questions:
- Has anyone recently had success building this project (iOS) with RN 0.76.9?
- Are there known issues with the experimental vs Rocket.Chat target builds?
- Any canonical Podfile or watch-disabling steps beyond the obvious?
Would really appreciate any clarity or tips on getting over this last hump. Thanks so much in advance!
Best, David