forked from firka/flutter
Use BUILD_LIBRARY_FOR_DISTRIBUTION build setting for generating add-to-app frameworks (#50536)
This commit is contained in:
@@ -475,7 +475,8 @@ end
|
||||
'-destination generic/platform=iOS',
|
||||
'SYMROOT=${iPhoneBuildOutput.path}',
|
||||
'BITCODE_GENERATION_MODE=$bitcodeGenerationMode',
|
||||
'ONLY_ACTIVE_ARCH=NO' // No device targeted, so build all valid architectures.
|
||||
'ONLY_ACTIVE_ARCH=NO', // No device targeted, so build all valid architectures.
|
||||
'BUILD_LIBRARY_FOR_DISTRIBUTION=YES',
|
||||
];
|
||||
|
||||
RunResult buildPluginsResult = await processUtils.run(
|
||||
@@ -500,8 +501,8 @@ end
|
||||
'-destination generic/platform=iOS',
|
||||
'SYMROOT=${simulatorBuildOutput.path}',
|
||||
'ARCHS=x86_64',
|
||||
'ONLY_ACTIVE_ARCH=NO'
|
||||
// No device targeted, so build all valid architectures.
|
||||
'ONLY_ACTIVE_ARCH=NO', // No device targeted, so build all valid architectures.
|
||||
'BUILD_LIBRARY_FOR_DISTRIBUTION=YES',
|
||||
];
|
||||
|
||||
buildPluginsResult = await processUtils.run(
|
||||
|
||||
Reference in New Issue
Block a user