Unverified Commit 24d608b2 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Check ios-arm64_x86_64-simulator directory when validating codesigning entitlement (#85265)

parent 0dca2ff1
......@@ -180,11 +180,11 @@ class CodesignCommand extends Command<void> {
'artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/FlutterMacOS',
'artifacts/engine/darwin-x64/font-subset',
'artifacts/engine/ios-profile/Flutter.xcframework/ios-arm64_armv7/Flutter.framework/Flutter',
'artifacts/engine/ios-profile/Flutter.xcframework/ios-x86_64-simulator/Flutter.framework/Flutter',
'artifacts/engine/ios-profile/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Flutter',
'artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_armv7/Flutter.framework/Flutter',
'artifacts/engine/ios-release/Flutter.xcframework/ios-x86_64-simulator/Flutter.framework/Flutter',
'artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Flutter',
'artifacts/engine/ios/Flutter.xcframework/ios-arm64_armv7/Flutter.framework/Flutter',
'artifacts/engine/ios/Flutter.xcframework/ios-x86_64-simulator/Flutter.framework/Flutter',
'artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Flutter',
'artifacts/ios-deploy/ios-deploy',
]
.map((String relativePath) =>
......
......@@ -84,7 +84,7 @@ void main() {
fileSystem
.directory(xcframeworkPath)
.childDirectory('ios-x86_64-simulator')
.childDirectory('ios-arm64_x86_64-simulator')
.childDirectory('Flutter.framework')
.createSync(recursive: true);
fileSystem
......@@ -98,7 +98,7 @@ void main() {
mode: BuildMode.release,
environmentType: EnvironmentType.simulator),
fileSystem.path
.join(xcframeworkPath, 'ios-x86_64-simulator', 'Flutter.framework'),
.join(xcframeworkPath, 'ios-arm64_x86_64-simulator', 'Flutter.framework'),
);
expect(
artifacts.getArtifactPath(Artifact.flutterFramework,
......@@ -249,7 +249,7 @@ void main() {
fileSystem
.directory(xcframeworkPath)
.childDirectory('ios-x86_64-simulator')
.childDirectory('ios-arm64_x86_64-simulator')
.childDirectory('Flutter.framework')
.createSync(recursive: true);
fileSystem
......@@ -265,7 +265,7 @@ void main() {
environmentType: EnvironmentType.simulator,
),
fileSystem.path
.join(xcframeworkPath, 'ios-x86_64-simulator', 'Flutter.framework'),
.join(xcframeworkPath, 'ios-arm64_x86_64-simulator', 'Flutter.framework'),
);
expect(
artifacts.getArtifactPath(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment