diff --git a/jobs/HRB_Mobile_Other_ipa/config.xml b/jobs/HRB_Mobile_Other_ipa/config.xml index ace8d163474c22cf22d6ad31fc4cc550298e58b2..9b03ce9967c0bf39c9947c355644743c3b997ada 100644 --- a/jobs/HRB_Mobile_Other_ipa/config.xml +++ b/jobs/HRB_Mobile_Other_ipa/config.xml @@ -88,7 +88,7 @@ commitId false - PATH="$PATH:$HOME/.rvm/bin:/usr/local/bin:/Users/jenkins/.fastlane/bin/" + PATH="$HOME/.rvm/bin:/usr/local/bin:$PATH:/Users/jenkins/.fastlane/bin/" VERSION=SIT_${DownloadName}_$(date +%Y%m%d) MODIFIED_DATE=$(git log -1 --format="%ci" --) @@ -99,10 +99,7 @@ GYM_INCLUDE_BITCODE=false gem install bundler bundler install -# 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/ && bundle exec pod install && cd ../ +npm run reset sed -i '' "/url/s/http.*\//${HTT_PROTOCOL}:\/\/${API_SERVER}\//g" src/configs/index.js sed -i '' "/version/s/\'.*\';/\'${VERSION}\';/" src/configs/index.js @@ -111,7 +108,7 @@ sed -i '' "/allergyUrl/s/\__DEV__.*\';/\'${HTT_PROTOCOL sed -i '' 's/appVersion.*/appVersion": "1.27"/' appConfig.json # 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 +#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