diff --git a/jobs/HRB_Mobile_Other_ipa/config.xml b/jobs/HRB_Mobile_Other_ipa/config.xml index a7fec80d16f32b7aff8277c0940e4e04f9da910f..9ac522b73a140ab5300f47754435b342996aa614 100644 --- a/jobs/HRB_Mobile_Other_ipa/config.xml +++ b/jobs/HRB_Mobile_Other_ipa/config.xml @@ -92,10 +92,12 @@ commitId VERSION=SIT_${DownloadName}_$(date +%Y%m%d) MODIFIED_DATE=$(git log -1 --format="%ci" --) +gem install bundler + # npm install --update-binary rm -rf ios/Podfile.lock rm -rf $TMPDIR/react-* && rm -rf $TMPDIR/metro-* && rm -rf $TMPDIR/haste-* && watchman watch-del-all && npm cache clean --force && npm cache verify && rm -rf ios/build && rm -rf node_modules/ && npm i -cd ios/ && gem install cocoapods && pod install && cd ../ +cd ios/ && bundle exec pod install && cd ../ sed -i '' "/url/s/http.*\//${HTT_PROTOCOL}:\/\/${API_SERVER}\//g" src/configs/index.js sed -i '' "/version/s/\'.*\';/\'${VERSION}\';/" src/configs/index.js @@ -106,7 +108,6 @@ sed -i '' 's/appVersion.*/appVersion": "1.27"/&apo # RN0.57.8 modify(HA-1058), after RN0.58 will remove this command sed -i "" 's/NSUInteger loopCount = 0;/CGFloat loopCount = 0;/' node_modules/react-native/Libraries/Image/RCTGIFImageDecoder.m - # security set-key-partition-list -S apple: -k Yonglinit123 -D "iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP." -t private ##npm run bundle-worker-ios @@ -117,7 +118,6 @@ npm run build-thread-ios ##echo "gem 'fastlane', '2.107.0'" >> Gemfile #bundle update #bundle install -gem install bundler bundle exec fastlane ios beta