@@ -59,26 +59,21 @@ task:
59
59
task :
60
60
use_compute_credits : $CIRRUS_USER_COLLABORATOR == 'true'
61
61
osx_instance :
62
- image : mojave-xcode-10.1
63
- install_cocoapods_script :
64
- - sudo gem install cocoapods
62
+ image : mojave-xcode-10.2-flutter
65
63
setup_script :
66
- - brew update
67
- - brew install libimobiledevice
68
- - brew install ideviceinstaller
69
- - brew install ios-deploy
70
64
- pod repo update
71
- - git clone https://github.com/flutter/flutter.git
72
- - git fetch origin master
73
- - export PATH=`pwd`/ flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
65
+ switch_channel_script :
66
+ - flutter channel master
67
+ - flutter upgrade
74
68
- flutter doctor
69
+ activate_script :
75
70
- pub global activate flutter_plugin_tools
76
- - xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-12-1 | xargs xcrun simctl boot
71
+ create_simulator_script :
72
+ - xcrun simctl list
73
+ - xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-12-2 | xargs xcrun simctl boot
77
74
matrix :
78
75
- name : build_all_plugins_ipa
79
- script :
80
- - export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
81
- - ./script/build_all_plugins_app.sh ios --no-codesign
76
+ script : ./script/build_all_plugins_app.sh ios --no-codesign
82
77
- name : build-ipas+drive-examples
83
78
env :
84
79
PATH : $PATH:/usr/local/bin
89
84
PLUGIN_SHARDING : " --shardIndex 3 --shardCount 4"
90
85
SIMCTL_CHILD_MAPS_API_KEY : ENCRYPTED[596a9f6bca436694625ac50851dc5da6b4d34cba8025f7db5bc9465142e8cd44e15f69e3507787753accebfc4910d550]
91
86
build_script :
92
- - export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
93
87
- ./script/incremental_build.sh build-examples --ipa
94
- - ./script/incremental_build.sh drive-examples
88
+ - ./script/incremental_build.sh drive-examples
0 commit comments