finalXCResultIssueDiscarderdartBuildErrorDiscarder=XCResultIssueDiscarder(messageMatcher:RegExp(r'Command PhaseScriptExecution failed with a nonzero exit code'));
expect(testLogger.errorText,isNot(contains('Command PhaseScriptExecution failed with a nonzero exit code')));
expect(testLogger.warningText,isNot(contains("The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.")));
expect(testLogger.errorText,isNot(contains('Command PhaseScriptExecution failed with a nonzero exit code')));
expect(testLogger.warningText,isNot(contains("The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.")));
expect(testLogger.errorText,isNot(contains('Command PhaseScriptExecution failed with a nonzero exit code')));
expect(testLogger.warningText,isNot(contains("The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.")));
"_value" : "The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99."
"_value" : "The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99."
}
},
"schemeCommandName" : {
"_type" : {
"_name" : "String"
},
"_value" : "Run"
},
"schemeTaskName" : {
"_type" : {
"_name" : "String"
},
"_value" : "Build"
},
"startedTime" : {
"_type" : {
"_name" : "Date"
},
"_value" : "2020-09-28T14:31:13.125-0700"
},
"title" : {
"_type" : {
"_name" : "String"
},
"_value" : "Build \"Runner\""
}
}
]
},
]
}
}
}
''';
/// An example xcresult bundle json that contains some warning and some errors.
"_value" : "The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99."