Open lanwenjin opened 1 year ago
Probably some gems needed for cocoapods are failing
I think you need to make sure ffi
is installed with your arch.
Something like arch -x86_64 gem install ffi
then in the ios folder run pod install
I tried a lot of things. It doesn't work. Only the Rosetta mode works.
https://github.com/mattermost/react-native-webrtc is being built and vended as a .framework, not as an XCFramework, and hasn't been rebuilt since 2019 and hasn't been built with arm64 iOS Simulator support.
For pre-built dependencies to run natively on an arm64 Mac under the iOS simulator, they need to be built with the Simulator with the arm64 architecture as one of the targets, and to avoid clashing with arm64 symbols for native iOS devices, the result needs to be packaged as an XCFramework.
Per Mattermost guidelines, GitHub issues are for bug reports: http://www.mattermost.org/filing-issues/.
For troubleshooting see: http://forum.mattermost.org/. For feature proposals see: http://www.mattermost.org/feature-requests/
If you've found a bug--something appears unintentional--please follow these steps:
Summary
Bug report in one concise sentence
Environment Information
Steps to reproduce
How can we reproduce the issue (what version are you using?)
Expected behavior
Describe your issue in detail
Observed behavior (that appears unintentional)
What did you see happen? Please include relevant error messages, screenshots and/or video recordings.
Possible fixes
If you can, link to the line of code that might be responsible for the problem