Include debug symbol in xcframework when building iOS-framework (#80065)
This commit is contained in:
@@ -310,6 +310,17 @@ Future<void> _testBuildIosFramework(Directory projectDir, { bool isModule = fals
|
||||
'DeviceInfoPlugin.h',
|
||||
));
|
||||
|
||||
if (mode != 'Debug') {
|
||||
checkDirectoryExists(path.join(
|
||||
outputPath,
|
||||
mode,
|
||||
'device_info.xcframework',
|
||||
localXcodeArmDirectoryName,
|
||||
'dSYMs',
|
||||
'device_info.framework.dSYM',
|
||||
));
|
||||
}
|
||||
|
||||
final String simulatorFrameworkPath = path.join(
|
||||
outputPath,
|
||||
mode,
|
||||
@@ -333,6 +344,14 @@ Future<void> _testBuildIosFramework(Directory projectDir, { bool isModule = fals
|
||||
checkFileExists(simulatorFrameworkHeaderPath);
|
||||
}
|
||||
|
||||
checkDirectoryExists(path.join(
|
||||
outputPath,
|
||||
'Release',
|
||||
'device_info.xcframework',
|
||||
localXcodeArmDirectoryName,
|
||||
'BCSymbolMaps',
|
||||
));
|
||||
|
||||
section('Check all modes have generated plugin registrant');
|
||||
|
||||
for (final String mode in <String>['Debug', 'Profile', 'Release']) {
|
||||
|
||||
Reference in New Issue
Block a user