Unverified Commit 2e1c146e authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Update ffi gem installation instructions (#103008)

parent c3ab24e0
......@@ -371,7 +371,7 @@ class CocoaPods {
).send();
_logger.printError(
'Error: To set up CocoaPods for ARM macOS, run:\n'
' arch -x86_64 sudo gem install ffi\n',
' sudo gem uninstall ffi && sudo gem install ffi -- --enable-libffi-alloc\n',
emphasis: true,
);
}
......
......@@ -536,6 +536,10 @@ Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by
logger.errorText,
contains('set up CocoaPods for ARM macOS'),
);
expect(
logger.errorText,
contains('enable-libffi-alloc'),
);
expect(usage.events, contains(const TestUsageEvent('pod-install-failure', 'arm-ffi')));
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment