Build fails on M1 machine
gus-delpino opened this issue · 6 comments
Hello,
I am running into issues running my app after install this dependency on an M1 machine. I am running
React Native: 66.3
agora-react-native-rtm: 1.4.8
xcode: 13.1
Machine: Apple M1
When running the app, I get:
ld: building for iOS Simulator, but linking in dylib built for iOS, file '/Users/gustavodelpino/dev/blink/BlinkMobile/ios/Pods/AgoraRtm_iOS/AgoraRtmKit.framework/AgoraRtmKit' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I appreciate any help you can provide!
@LichKing-2234 the next RTM release will fix this issue without any need for manual changes like this.
how soon after release can this repo be updated?
@gus-delpino this is a known issue with the RTM library, you can tell Xcode to build for a physical device or the "Generic iOS Device" for the time being. Sorry about this inconvenience.
@maxxfrazer When could we expect a fix on this ?
Thanks !
@maxxfrazer
Though I am using Flutter package for agora, I'm attacking the same issue too.
Is this already fixed or only physical devices?