diff --git a/docs/website/mmp-errors.md b/docs/website/mmp-errors.md index 9441add90717..87080c325b2a 100644 --- a/docs/website/mmp-errors.md +++ b/docs/website/mmp-errors.md @@ -221,8 +221,6 @@ Consider updating your application and any dependencies to 64-bit. ### MM202x: Binding Optimizer failed processing `...`. -### MM2100: Xamarin.Mac Classic API does not support Platform Linking. - ### MM2103: Error processing assembly '\*': * An unexpected error occured when processing an assembly. @@ -268,6 +266,8 @@ This is in general safe, and will reduce application bundle size as an added ben Consider using `lipo` to remove the unnecessary archtectures permanently from the source library. If the application is not being published to the App Store, this removal can be disabled by passing --optimize=-trim-architectures as Additional MMP Arguments. +### MM2109: Xamarin.Mac Classic API does not support Platform Linking. + # MM3xxx: AOT diff --git a/tools/mmp/driver.cs b/tools/mmp/driver.cs index 0251194d9502..6d5e6d5750ec 100644 --- a/tools/mmp/driver.cs +++ b/tools/mmp/driver.cs @@ -462,7 +462,7 @@ static void Main2 (string [] args) throw new MonoMacException (1404, true, "Target framework '{0}' is invalid.", userTargetFramework); if (IsClassic && App.LinkMode == LinkMode.Platform) - throw new MonoMacException (2100, true, "Xamarin.Mac Classic API does not support Platform Linking."); + throw new MonoMacException (2109, true, "Xamarin.Mac Classic API does not support Platform Linking."); // sanity check as this should never happen: we start out by not setting any // Unified/Classic properties, and only IsUnifiedMobile if we are are on the