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