Skip to content

Commit 468bd2b

Browse files
none: trying to get pod install to work
1 parent 934bfc0 commit 468bd2b

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.circleci/config.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ jobs:
165165
ios-e2e-test:
166166
<<: *macos_config
167167
steps:
168-
- <<: *setup_ruby
169168
- checkout
170169
- attach_workspace:
171170
at: ~/project
@@ -181,9 +180,23 @@ jobs:
181180
keys:
182181
- pod-dependencies-{{ checksum "~/project/example/ios/Podfile" }}
183182
- run:
184-
working_directory: example/ios
185-
name: Install Pods
186-
command: pod install
183+
name: Set Ruby Version
184+
command: sed -i '' 's/.*chruby ruby.*/chruby ruby-3.3.4/' ~/.bash_profile
185+
- run:
186+
name: Install Bundler
187+
command: gem install bundler
188+
- run:
189+
name: Bundler
190+
command: bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs 4
191+
- run:
192+
name: CocoaPods
193+
command: |
194+
cd Example
195+
if bundle exec pod check; then
196+
echo "Skipping pod install"
197+
else
198+
bundle exec pod install
199+
fi
187200
188201
- save_cache:
189202
key: pod-dependencies-{{ checksum "~/project/example/ios/Podfile" }}

0 commit comments

Comments
 (0)