React Native Install iOS with Mac M1
I am trying to setup Pendo React Native SDK with iOS with `pod install`, however, I just keep getting the following error.
### Error
```
LoadError - dlopen(/Users/.rvm/gems/ruby-3.0.0/gems/ffi-1.15.4/lib/ffi_c.bundle, 9): no suitable image found. Did find:
/Users/.rvm/gems/ruby-3.0.0/gems/ffi-1.15.4/lib/ffi_c.bundle: mach-o, but wrong architecture
```
I understand this might be a Mac M1 issue which requires to run `arch -x86_64 pod install` instead of `pod install`, but arch -x86_64 command does not work either.
Please do let me know if anyone does know the proper way to install React Native SDK with iOS! Thanks so much!
0
コメント
Hi Jacky Yang
I have more insights from or mobile development team regarding this matter. It appears that this might be an issue with react native on Mac M1. Our teams are currently looking into this to see if there are any changes we can make on our side to help out.
In the meantime, This thread from React Native which describes the issue and a possible solution might be helpful to you:
https://github.com/facebook/react-native/issues/31941
Another possible solution is discussed here:
https://medium.com/@davidjasonharding/developing-a-react-native-app-on-an-m1-mac-without-rosetta-29fcc7314d70
If you have any additional questions please don't hesitate to reach out to our support team so we can take a closer look. You can submit a support ticket via this link https://support.pendo.io/hc/en-us/requests/new.
Thanks!
サインインしてコメントを残してください。