Use old way of installing pods

This commit is contained in:
Zhiyuan Zheng 2021-03-17 23:38:25 +01:00
parent 9416a614cf
commit e672b3e9b8
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0
2 changed files with 3 additions and 12 deletions

View File

@ -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 }}

View File

@ -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 )