From c99f16af872e89b8ba0ab8499adc9d9742605f2e Mon Sep 17 00:00:00 2001 From: Louis Chan Date: Tue, 20 Feb 2024 14:55:52 +0800 Subject: [PATCH] Fix cocoapods 1.15.0 issue See https://github.com/facebook/react-native/issues/42698 --- .github/workflows/ci.yaml | 8 ++++++-- example/reactnative/Gemfile.lock | 14 +++++++++----- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6048fd14..065e6b89 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -45,8 +45,12 @@ jobs: - run: npm run build - working-directory: ./example/reactnative run: yarn - - working-directory: ./example/reactnative/ios - run: pod install + - working-directory: ./example/reactnative + # Install cocoapods from the Gemfile + run: bundle install + - working-directory: ./example/reactnative + # Run the specific cocoapods + run: bundle exec pod install --project-directory=ios - name: Install the Apple certificate and provisioning profile env: IOS_CERTIFICATE_BASE64: ${{ secrets.REACT_NATIVE_IOS_CERTIFICATE_BASE64 }} diff --git a/example/reactnative/Gemfile.lock b/example/reactnative/Gemfile.lock index 07021f12..2616cf5f 100644 --- a/example/reactnative/Gemfile.lock +++ b/example/reactnative/Gemfile.lock @@ -1,7 +1,9 @@ GEM remote: https://rubygems.org/ specs: - CFPropertyList (3.0.6) + CFPropertyList (3.0.7) + base64 + nkf rexml activesupport (7.0.8) concurrent-ruby (~> 1.0, >= 1.0.2) @@ -14,11 +16,12 @@ GEM httpclient (~> 2.8, >= 2.8.3) json (>= 1.5.1) atomos (0.1.3) + base64 (0.2.0) claide (1.1.0) - cocoapods (1.15.0) + cocoapods (1.15.2) addressable (~> 2.8) claide (>= 1.0.2, < 2.0) - cocoapods-core (= 1.15.0) + cocoapods-core (= 1.15.2) cocoapods-deintegrate (>= 1.0.3, < 2.0) cocoapods-downloader (>= 2.1, < 3.0) cocoapods-plugins (>= 1.0.0, < 2.0) @@ -33,7 +36,7 @@ GEM nap (~> 1.0) ruby-macho (>= 2.3.0, < 3.0) xcodeproj (>= 1.23.0, < 2.0) - cocoapods-core (1.15.0) + cocoapods-core (1.15.2) activesupport (>= 5.0, < 8) addressable (~> 2.8) algoliasearch (~> 1.0) @@ -65,11 +68,12 @@ GEM i18n (1.14.1) concurrent-ruby (~> 1.0) json (2.7.1) - minitest (5.21.2) + minitest (5.22.2) molinillo (0.8.0) nanaimo (0.3.0) nap (1.1.0) netrc (0.11.0) + nkf (0.2.0) public_suffix (4.0.7) rexml (3.2.6) ruby-macho (2.5.1)