Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on M1 machine #53

Closed
gus-delpino opened this issue Dec 31, 2021 · 6 comments
Closed

Build fails on M1 machine #53

gus-delpino opened this issue Dec 31, 2021 · 6 comments

Comments

@gus-delpino
Copy link

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!

@maxxfrazer
Copy link
Contributor

@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?

@maxxfrazer
Copy link
Contributor

@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.

@dgillier
Copy link

dgillier commented Feb 4, 2022

@maxxfrazer When could we expect a fix on this ?
Thanks !

@daiki1003
Copy link

@maxxfrazer
Though I am using Flutter package for agora, I'm attacking the same issue too.
Is this already fixed or only physical devices?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants