mirror of
https://github.com/flutter/packages.git
synced 2025-06-28 05:37:17 +08:00
Adopt Xcode 12 for podspec lints (#3653)
This commit is contained in:
@ -122,6 +122,7 @@ class LintPodspecsCommand extends PluginCommand {
|
||||
'lib',
|
||||
'lint',
|
||||
podspecPath,
|
||||
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
|
||||
if (allowWarnings) '--allow-warnings',
|
||||
if (libraryLint) '--use-libraries'
|
||||
];
|
||||
|
@ -81,6 +81,7 @@ void main() {
|
||||
'lib',
|
||||
'lint',
|
||||
p.join(plugin1Dir.path, 'ios', 'plugin1.podspec'),
|
||||
'--configuration=Debug',
|
||||
'--use-libraries'
|
||||
],
|
||||
mockPackagesDir.path),
|
||||
@ -90,6 +91,7 @@ void main() {
|
||||
'lib',
|
||||
'lint',
|
||||
p.join(plugin1Dir.path, 'ios', 'plugin1.podspec'),
|
||||
'--configuration=Debug',
|
||||
],
|
||||
mockPackagesDir.path),
|
||||
]),
|
||||
@ -138,6 +140,7 @@ void main() {
|
||||
'lib',
|
||||
'lint',
|
||||
p.join(plugin1Dir.path, 'plugin1.podspec'),
|
||||
'--configuration=Debug',
|
||||
'--allow-warnings',
|
||||
'--use-libraries'
|
||||
],
|
||||
@ -148,6 +151,7 @@ void main() {
|
||||
'lib',
|
||||
'lint',
|
||||
p.join(plugin1Dir.path, 'plugin1.podspec'),
|
||||
'--configuration=Debug',
|
||||
'--allow-warnings',
|
||||
],
|
||||
mockPackagesDir.path),
|
||||
|
Reference in New Issue
Block a user