diff --git a/ci/mobile.groovy b/ci/mobile.groovy index e7eb5cc590..3fc52b3d53 100644 --- a/ci/mobile.groovy +++ b/ci/mobile.groovy @@ -53,11 +53,11 @@ def prep(type = 'nightly') { /* npm deps and status-go download */ sh "make prepare-${env.BUILD_PLATFORM}" /* generate ios/StatusIm.xcworkspace */ - dir('ios') { - if (env.BUILD_PLATFORM == 'ios') { + if (env.BUILD_PLATFORM == 'ios') { + dir('ios') { podUpdate() + sh 'pod install --silent' } - sh 'pod install --silent' } }