Adopt Xcode 12 for podspec lints (#3653)

This commit is contained in:
Jenn Magder
2021-03-03 10:56:12 -08:00
committed by GitHub
parent 3ea78093bf
commit c042ad3628
2 changed files with 5 additions and 0 deletions

View File

@ -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'
];

View File

@ -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),