diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d32686b..515be358 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,12 +30,10 @@ jobs: expo-token: ${{ secrets.EXPO_TOKEN }} - name: -- Step 4 -- Install node dependencies run: yarn install - - name: -- Step 5 -- Install ruby dependencies + - name: -- Step 5 -- Install native dependencies + run: npx pod-install + - name: -- Step 6 -- Install ruby dependencies run: bundle install - - name: -- Step 6 -- Set up cocoapods - uses: maxim-lobanov/setup-cocoapods@v1 - with: - version: 1.10.1 - name: -- Step 7 -- Run fastlane env: ENVIRONMENT: ${{ steps.branch.outputs.branch }} diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 58317885..02493858 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -42,11 +42,6 @@ private_lane :update_expo_ios do set_info_plist_value( path: EXPO_PLIST, key: "EXUpdatesReleaseChannel", value: RELEASE_CHANNEL ) end -desc 'IOS: Install pods' -private_lane :install_pods_ios do - cocoapods(podfile: "./ios/", deployment: true) -end - desc "ANDROID: Prepare play store" private_lane :prepare_playstore_android do android_set_version_name( version_name: VERSION, gradle_file: "./android/app/build.gradle" ) @@ -79,7 +74,6 @@ private_lane :build_ios do case ENVIRONMENT when "candidate" - install_pods_ios prepare_appstore_ios match( type: "appstore", readonly: true ) build_ios_app( export_method: "app-store", include_symbols: true, include_bitcode: true, silent: true ) @@ -90,7 +84,6 @@ private_lane :build_ios do changelog: "Ready for testing" ) when "release" - install_pods_ios prepare_appstore_ios match( type: "appstore", readonly: true ) build_ios_app( export_method: "app-store", include_bitcode: true, silent: true )