From 082241eec664fb751b5bc7b8289469326b663167 Mon Sep 17 00:00:00 2001 From: Cristiano Tofani Date: Wed, 18 Dec 2024 09:21:12 +0100 Subject: [PATCH] fix: ffi version mismatch on linux environment (#6563) --- Gemfile | 4 ++++ Gemfile.lock | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 11a4ae7a528..86bafbd120d 100644 --- a/Gemfile +++ b/Gemfile @@ -8,3 +8,7 @@ ruby '>=2.6.10' gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1' gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0' gem "fastlane", "~> 2.223.1" + +# fixes an issue on linux env for android release +# see https://github.com/ffi/ffi/issues/1103#issuecomment-2186974923 +gem "ffi", "< 1.17.0" diff --git a/Gemfile.lock b/Gemfile.lock index 78a09dfe76b..f793fb5e75c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -170,7 +170,7 @@ GEM xcodeproj (>= 1.13.0, < 2.0.0) xcpretty (~> 0.3.0) xcpretty-travis-formatter (>= 0.0.3, < 2.0.0) - ffi (1.17.0) + ffi (1.16.3) fourflusher (2.3.1) fuzzy_match (2.0.4) gh_inspector (1.1.3) @@ -292,6 +292,7 @@ DEPENDENCIES activesupport (>= 6.1.7.5, != 7.1.0) cocoapods (>= 1.13, != 1.15.0, != 1.15.1) fastlane (~> 2.223.1) + ffi (< 1.17.0) RUBY VERSION ruby 2.7.7p221