Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 2c66929

Browse files
committed
Adopt Xcode 12 for podspec lints
1 parent 088bdee commit 2c66929

2 files changed

Lines changed: 1 addition & 23 deletions

File tree

‎.cirrus.yml‎

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -206,29 +206,6 @@ task:
206206
# This UI change sometimes affects `xctest`.
207207
# So we run `drive-examples` after `xctest`, changing the order will result ci failure.
208208
- ./script/incremental_build.sh drive-examples --ios
209-
210-
task:
211-
# Xcode 11 task
212-
# TODO(cyanglaz): merge Xcode 11 task to Xcode 12 task when all the matrix can be run in Xcode 12.
213-
# don't run on release tags since it creates O(n^2) tasks where n is the number of plugins
214-
only_if: $CIRRUS_TAG == ''
215-
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
216-
osx_instance:
217-
image: catalina-xcode-11.3.1-flutter
218-
upgrade_script:
219-
- sudo gem install cocoapods
220-
- flutter channel stable
221-
- flutter upgrade
222-
- flutter channel master
223-
- flutter upgrade
224-
- git fetch origin master
225-
submodules_script:
226-
- git submodule init
227-
- git submodule update
228-
create_simulator_script:
229-
- xcrun simctl list
230-
- xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-13-3 | xargs xcrun simctl boot
231-
matrix:
232209
- name: lint_darwin_plugins
233210
env:
234211
matrix:

‎script/tool/lib/src/lint_podspecs_command.dart‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ class LintPodspecsCommand extends PluginCommand {
135135
'lib',
136136
'lint',
137137
podspecPath,
138+
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
138139
if (allowWarnings) '--allow-warnings',
139140
if (runAnalyzer) '--analyze',
140141
if (libraryLint) '--use-libraries'

0 commit comments

Comments
 (0)