From 2e058142d234654672a551555fc798b7c00bb7e4 Mon Sep 17 00:00:00 2001 From: stuartmorgan Date: Mon, 2 Sep 2019 16:26:15 -0700 Subject: [PATCH] Fix macOS App.framework version symlink (#39702) The Current->A symlink in a framework shouldn't have a trailing slash; some versions of codesigning consider the version with a trailing slash unsignable. --- packages/flutter_tools/lib/src/build_system/targets/macos.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/build_system/targets/macos.dart b/packages/flutter_tools/lib/src/build_system/targets/macos.dart index 70e91c385b..19236379cd 100644 --- a/packages/flutter_tools/lib/src/build_system/targets/macos.dart +++ b/packages/flutter_tools/lib/src/build_system/targets/macos.dart @@ -415,7 +415,7 @@ abstract class MacOSBundleFlutterAssets extends Target { if (!currentVersion.existsSync()) { final String linkPath = fs.path.relative(outputDirectory.path, from: outputDirectory.parent.path); - currentVersion.createSync('$linkPath${fs.path.separator}'); + currentVersion.createSync(linkPath); } // Create symlink to current resources. final Link currentResources = frameworkRootDirectory