Add bitcode deprecation note for add-to-app iOS developers (#112900)
This commit is contained in:
@@ -87,7 +87,8 @@ Future<void> _testBuildIosFramework(Directory projectDir, { bool isModule = fals
|
||||
const String outputDirectoryName = 'flutter-frameworks';
|
||||
|
||||
await inDirectory(projectDir, () async {
|
||||
await flutter(
|
||||
final StringBuffer outputError = StringBuffer();
|
||||
await evalFlutter(
|
||||
'build',
|
||||
options: <String>[
|
||||
'ios-framework',
|
||||
@@ -96,7 +97,11 @@ Future<void> _testBuildIosFramework(Directory projectDir, { bool isModule = fals
|
||||
'--obfuscate',
|
||||
'--split-debug-info=symbols',
|
||||
],
|
||||
stderr: outputError,
|
||||
);
|
||||
if (!outputError.toString().contains('Bitcode support has been deprecated.')) {
|
||||
throw TaskResult.failure('Missing bitcode deprecation warning');
|
||||
}
|
||||
});
|
||||
|
||||
final String outputPath = path.join(projectDir.path, outputDirectoryName);
|
||||
|
||||
Reference in New Issue
Block a user