Skip to content

Commit 1f6de42

Browse files
Copilotrolfbjarne
andcommitted
Only check symlink path for macOS/MacCatalyst framework Info.plist
Co-authored-by: rolfbjarne <249268+rolfbjarne@users.noreply.github.com>
1 parent 4ef20a8 commit 1f6de42

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

msbuild/Xamarin.MacDev.Tasks/Tasks/FilterStaticFrameworks.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ static string [] GetFrameworkInfoPlistPaths (string frameworkPath, ApplePlatform
3131
case ApplePlatform.MacOSX:
3232
case ApplePlatform.MacCatalyst:
3333
return new string [] {
34-
Path.Combine (frameworkPath, "Resources", "Info.plist"), // Check symlink first
35-
Path.Combine (frameworkPath, "Versions", "A", "Resources", "Info.plist") // Fallback to actual location
34+
Path.Combine (frameworkPath, "Resources", "Info.plist")
3635
};
3736
default:
3837
throw new InvalidOperationException (string.Format (MSBStrings.InvalidPlatform, platform));

0 commit comments

Comments
 (0)