react-native-agora: 4.0.0-rc.1 fails to compile on M1 iOS simulator
Hi, I’ve installed the new SDK 4.0.0-rc.1. It works on Android but fails to compile on M1 iOS simulator for me on React Native 0.69. Hermes and flipper disabled.
This line fails:
#import <AgoraRtcWrapper/iris_rtc_cxx_api.h>
‘AgoraRtcWrapper/iris_rtc_cxx_api.h’ file not found
Seems like cocoapods are not configured probably.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 17 (8 by maintainers)
it will support at 4.1.0 version
the
4.1.0-rc.1
version has been released.First uninstall agora: npm uninstall react-native-agora Then install pods: cd ios && pod install Now install agora latest version: npm install react-native-agora@4.1.0-rc.1 Now install pods again: cd ios && pod install
You are good to go 😃