03-07-2024, 07:50 AM
I have encountered an issue with CocoaPods installation on my M1 Mac when trying to run a Flutter project that works without any problems on an Intel-based Mac. It appears the pods installation is failing due to a `LoadError` that mentions a missing symbol in the `ffi_c.bundle`. The stack trace indicates a problem with the `ffi` gem, which is a Ruby native extension used for interfacing with C libraries. The full error message is below.
Here's the problematic part of the stack trace:
Despite following a workaround that suggests running the Terminal using Rosetta, I'm still facing the same issue. Given that M1 support is still in development, has anyone successfully managed to resolve this?
Here's the problematic part of the stack trace:
Code:
...[omitted
for brevity
] /
Library / Ruby / Gems / 2.6 .0 / gems / cocoapods - 1.10 .0 / bin / pod: 55: in `<top (required)>'
/usr/local/bin/pod:23:in `
load ' /
usr / local / bin / pod: 23: in `<main>'
Despite following a workaround that suggests running the Terminal using Rosetta, I'm still facing the same issue. Given that M1 support is still in development, has anyone successfully managed to resolve this?