Do not try to codesign during plugin_test_ios (#88834)

This commit is contained in:
Jenn Magder 2021-08-24 21:36:36 -07:00 committed by GitHub
parent 72289ec8cf
commit 413f88f209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,7 +148,12 @@ class _FlutterProject {
Future<void> build(String target) async { Future<void> build(String target) async {
await inDirectory(Directory(rootPath), () async { await inDirectory(Directory(rootPath), () async {
final String buildOutput = await evalFlutter('build', options: <String>[target, '-v']); final String buildOutput = await evalFlutter('build', options: <String>[
target,
'-v',
if (target == 'ios')
'--no-codesign',
]);
if (target == 'ios' || target == 'macos') { if (target == 'ios' || target == 'macos') {
// This warning is confusing and shouldn't be emitted. Plugins often support lower versions than the // This warning is confusing and shouldn't be emitted. Plugins often support lower versions than the