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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user