Add workaround for CocoaPods 1.15.0 issues (#3427)
* Add workaround for Cocoapods 1.15.0 issues * Actually call the "install CocoaPods 1.15.2" job * Limit CocoaPods installation to Apple platforms --------- Co-authored-by: Adam Gleitman <adgleitm@microsoft.com>
This commit is contained in:
Родитель
ccbc55eef5
Коммит
c79572a157
|
@ -79,6 +79,8 @@ jobs:
|
|||
|
||||
- template: templates/setup-repo-min-build.yml
|
||||
|
||||
- template: templates/apple-ensure-valid-cocoapods.yml
|
||||
|
||||
- script: |
|
||||
yarn bundle:macos
|
||||
workingDirectory: apps/fluent-tester
|
||||
|
@ -122,6 +124,8 @@ jobs:
|
|||
|
||||
- template: templates/setup-repo-min-build.yml
|
||||
|
||||
- template: templates/apple-ensure-valid-cocoapods.yml
|
||||
|
||||
- script: |
|
||||
yarn bundle:ios
|
||||
workingDirectory: apps/fluent-tester
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
# Cocoapods 1.15.0 doesn't work with React Native
|
||||
steps:
|
||||
- task: CmdLine@2
|
||||
displayName: Install Cocoapods 1.15.2 if needed
|
||||
inputs:
|
||||
script: |
|
||||
POD_VERSION=$(pod --version)
|
||||
if [ $POD_VERSION = 1.15.0 ]; then
|
||||
gem install cocoapods -v 1.15.2
|
||||
fi
|
Загрузка…
Ссылка в новой задаче