diff --git a/msbuild/Xamarin.Shared/Xamarin.Shared.props b/msbuild/Xamarin.Shared/Xamarin.Shared.props
index fcee4cf09aa7..4e4025996996 100644
--- a/msbuild/Xamarin.Shared/Xamarin.Shared.props
+++ b/msbuild/Xamarin.Shared/Xamarin.Shared.props
@@ -360,7 +360,6 @@ Copyright (C) 2020 Microsoft. All rights reserved.
<_IsMobileDefined>$([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants.Trim())', '(^|;)__MOBILE__($|;)'))
<_IsIOSDefined>$([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants.Trim())', '(^|;)__IOS__($|;)'))
<_IsTVOSDefined>$([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants.Trim())', '(^|;)__TVOS__($|;)'))
- <_IsWatchOSDefined>$([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants.Trim())', '(^|;)__WATCHOS__($|;)'))
<_IsMacOSDefined>$([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants.Trim())', '(^|;)__MACOS__($|;)'))
<_IsMacCatalystDefined>$([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants.Trim())', '(^|;)__MACCATALYST__($|;)'))
@@ -368,7 +367,6 @@ Copyright (C) 2020 Microsoft. All rights reserved.
__MOBILE__;$(DefineConstants)
__IOS__;$(DefineConstants)
__TVOS__;$(DefineConstants)
- __WATCHOS__;$(DefineConstants)
__MACOS__;$(DefineConstants)
__IOS__;$(DefineConstants)
__MACCATALYST__;$(DefineConstants)
diff --git a/src/ObjCRuntime/Registrar.cs b/src/ObjCRuntime/Registrar.cs
index 68a71f0d4ce2..9b61079877d1 100644
--- a/src/ObjCRuntime/Registrar.cs
+++ b/src/ObjCRuntime/Registrar.cs
@@ -1341,8 +1341,6 @@ internal string AssemblyName {
switch (App.Platform) {
case ApplePlatform.iOS:
return Driver.IsDotNet ? "Microsoft.iOS" : "Xamarin.iOS";
- case ApplePlatform.WatchOS:
- return Driver.IsDotNet ? "Microsoft.watchOS" : "Xamarin.WatchOS";
case ApplePlatform.TVOS:
return Driver.IsDotNet ? "Microsoft.tvOS" : "Xamarin.TVOS";
case ApplePlatform.MacOSX:
@@ -2694,7 +2692,6 @@ protected string ToSignature (TType type, ObjCMember member, ref bool success, b
#if MTOUCH || MMP || BUNDLER
switch (App.Platform) {
case ApplePlatform.iOS:
- case ApplePlatform.WatchOS:
case ApplePlatform.TVOS:
return Is64Bits ? "B" : "c";
case ApplePlatform.MacOSX:
diff --git a/src/ObjCRuntime/RuntimeOptions.cs b/src/ObjCRuntime/RuntimeOptions.cs
index 2801214c03d8..cf295238854c 100644
--- a/src/ObjCRuntime/RuntimeOptions.cs
+++ b/src/ObjCRuntime/RuntimeOptions.cs
@@ -48,7 +48,7 @@ static string ParseHttpMessageHandler (Application app, string? value)
#if NET && !LEGACY_TOOLS
return NSUrlSessionHandlerValue;
#else
- return (app.Platform == Utils.ApplePlatform.WatchOS) ? NSUrlSessionHandlerValue : HttpClientHandlerValue;
+ return HttpClientHandlerValue;
#endif
case CFNetworkHandlerValue:
#if NET && !LEGACY_TOOLS
@@ -56,16 +56,10 @@ static string ParseHttpMessageHandler (Application app, string? value)
#else
case HttpClientHandlerValue:
#endif
- if (app.Platform == Utils.ApplePlatform.WatchOS) {
- ErrorHelper.Warning (2015, Errors.MT2015, value);
- return NSUrlSessionHandlerValue;
- }
return value;
case NSUrlSessionHandlerValue:
return value;
default:
- if (app.Platform == Utils.ApplePlatform.WatchOS) // This is value we don't know about at all, show as error instead of warning.
- throw ErrorHelper.CreateError (2015, Errors.MT2015, value);
throw ErrorHelper.CreateError (2010, Errors.MT2010, value);
}
}
@@ -97,8 +91,6 @@ internal static TypeDefinition GetHttpMessageHandler (Application app, RuntimeOp
if (options is not null) {
handler = options.http_message_handler;
- } else if (app.Platform == Utils.ApplePlatform.WatchOS) {
- handler = NSUrlSessionHandlerValue;
} else {
#if NET && !LEGACY_TOOLS
handler = NSUrlSessionHandlerValue;
@@ -125,21 +117,11 @@ internal static TypeDefinition GetHttpMessageHandler (Application app, RuntimeOp
break;
#else
case HttpClientHandlerValue:
- if (app.Platform == Utils.ApplePlatform.WatchOS) {
- ErrorHelper.Warning (2015, Errors.MT2015, handler);
- type = platformModule!.GetType ("System.Net.Http", "NSUrlSessionHandler");
- } else {
- type = httpModule.GetType ("System.Net.Http", "HttpClientHandler");
- }
+ type = httpModule.GetType ("System.Net.Http", "HttpClientHandler");
break;
#endif
case CFNetworkHandlerValue:
- if (app.Platform == Utils.ApplePlatform.WatchOS) {
- ErrorHelper.Warning (2015, Errors.MT2015, handler);
- type = platformModule!.GetType ("System.Net.Http", "NSUrlSessionHandler");
- } else {
- type = platformModule!.GetType ("System.Net.Http", "CFNetworkHandler");
- }
+ type = platformModule!.GetType ("System.Net.Http", "CFNetworkHandler");
break;
case NSUrlSessionHandlerValue:
type = platformModule!.GetType ("System.Net.Http", "NSUrlSessionHandler");
diff --git a/src/SharedWithYouCore/SWCollaborationMetadata.cs b/src/SharedWithYouCore/SWCollaborationMetadata.cs
index 7de69ce14f6d..a561429855e1 100644
--- a/src/SharedWithYouCore/SWCollaborationMetadata.cs
+++ b/src/SharedWithYouCore/SWCollaborationMetadata.cs
@@ -17,7 +17,6 @@
namespace SharedWithYouCore {
#if NET
- [UnsupportedOSPlatform ("watchos")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("ios16.0")]
@@ -35,7 +34,6 @@ public SWCollaborationMetadata (string localIdentifier) : base (NSObjectFlag.Emp
InitializeHandle (_InitWithLocalIdentifier (localIdentifier), "initWithLocalIdentifier:");
#if NET
- [UnsupportedOSPlatform ("watchos")]
[UnsupportedOSPlatform ("tvos")]
[SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("ios16.1")]
diff --git a/src/Social/SLRequest.cs b/src/Social/SLRequest.cs
deleted file mode 100644
index e69de29bb2d1..000000000000
diff --git a/src/VideoToolbox/VTPixelRotationSession.cs b/src/VideoToolbox/VTPixelRotationSession.cs
index 426c9c9d8cae..12407b5affec 100644
--- a/src/VideoToolbox/VTPixelRotationSession.cs
+++ b/src/VideoToolbox/VTPixelRotationSession.cs
@@ -28,7 +28,6 @@ namespace VideoToolbox {
[SupportedOSPlatform ("macos13.0")]
[SupportedOSPlatform ("ios16.0")]
[SupportedOSPlatform ("maccatalyst16.0")]
- [SupportedOSPlatform ("watchos9.0")]
[SupportedOSPlatform ("tvos16.0")]
#else
[Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0), TV (16, 0)]
diff --git a/src/VideoToolbox/VTPixelTransferSession.cs b/src/VideoToolbox/VTPixelTransferSession.cs
index 855e8edd3363..096ab350c466 100644
--- a/src/VideoToolbox/VTPixelTransferSession.cs
+++ b/src/VideoToolbox/VTPixelTransferSession.cs
@@ -28,7 +28,6 @@ namespace VideoToolbox {
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios16.0")]
[SupportedOSPlatform ("maccatalyst16.0")]
- [SupportedOSPlatform ("watchos9.0")]
[SupportedOSPlatform ("tvos16.0")]
#else
[iOS (16, 0), MacCatalyst (16, 0), TV (16, 0)]
diff --git a/src/VideoToolbox/VTProfessionalVideoWorkflow.cs b/src/VideoToolbox/VTProfessionalVideoWorkflow.cs
index 333dadf5d06b..53820179e3c0 100644
--- a/src/VideoToolbox/VTProfessionalVideoWorkflow.cs
+++ b/src/VideoToolbox/VTProfessionalVideoWorkflow.cs
@@ -23,7 +23,6 @@ namespace VideoToolbox {
[SupportedOSPlatform ("macos")]
[UnsupportedOSPlatform ("ios")]
[UnsupportedOSPlatform ("maccatalyst")]
- [UnsupportedOSPlatform ("watchos")]
[UnsupportedOSPlatform ("tvos")]
#else
[NoiOS, NoMacCatalyst, NoTV]
diff --git a/src/bgen/Extensions/PlatformNameExtensionsBgen.cs b/src/bgen/Extensions/PlatformNameExtensionsBgen.cs
index 45e1a29ba443..f003ea26ad05 100644
--- a/src/bgen/Extensions/PlatformNameExtensionsBgen.cs
+++ b/src/bgen/Extensions/PlatformNameExtensionsBgen.cs
@@ -62,8 +62,6 @@ public static ApplePlatform AsApplePlatform (this PlatformName platform)
return ApplePlatform.MacCatalyst;
case PlatformName.MacOSX:
return ApplePlatform.MacOSX;
- case PlatformName.WatchOS:
- return ApplePlatform.WatchOS;
case PlatformName.None:
return ApplePlatform.None;
default:
diff --git a/src/bgen/Generator.cs b/src/bgen/Generator.cs
index 9fbd2e734558..e0e194c4621a 100644
--- a/src/bgen/Generator.cs
+++ b/src/bgen/Generator.cs
@@ -5607,8 +5607,6 @@ string GetAssemblyName ()
return BindingTouch.IsDotNet ? "Microsoft.macOS" : "Xamarin.Mac";
case ApplePlatform.TVOS:
return BindingTouch.IsDotNet ? "Microsoft.tvOS" : "Xamarin.TVOS";
- case ApplePlatform.WatchOS:
- return BindingTouch.IsDotNet ? "Microsoft.watchOS" : "Xamarin.WatchOS";
case ApplePlatform.MacCatalyst:
return "Microsoft.MacCatalyst";
default:
diff --git a/src/bgen/LibraryManager.cs b/src/bgen/LibraryManager.cs
index 951389a5723e..560aec6d3784 100644
--- a/src/bgen/LibraryManager.cs
+++ b/src/bgen/LibraryManager.cs
@@ -87,8 +87,6 @@ public static PlatformName DetermineCurrentPlatform (ApplePlatform applePlatform
return PlatformName.iOS;
case ApplePlatform.TVOS:
return PlatformName.TvOS;
- case ApplePlatform.WatchOS:
- return PlatformName.WatchOS;
case ApplePlatform.MacCatalyst:
return PlatformName.MacCatalyst;
case ApplePlatform.MacOSX:
diff --git a/src/bgen/Models/LibraryInfo.cs b/src/bgen/Models/LibraryInfo.cs
index c8d2c3402d1c..3a9a9796a4c4 100644
--- a/src/bgen/Models/LibraryInfo.cs
+++ b/src/bgen/Models/LibraryInfo.cs
@@ -51,7 +51,6 @@ static bool DetermineOmitStdLibrary (bool? omitStandardLibary, ApplePlatform cur
switch (currentPlatform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
case ApplePlatform.MacCatalyst:
case ApplePlatform.MacOSX:
return true;
@@ -105,12 +104,6 @@ static void AddAndFixReferences (LibraryInfo libraryInfo, List reference
ReferenceFixer.FixSDKReferences (currentPlatform, "lib/mono/Xamarin.TVOS", references);
}
break;
- case ApplePlatform.WatchOS:
- if (!libraryInfo.IsDotNet) {
- references.Add ("Facades/System.Drawing.Common");
- ReferenceFixer.FixSDKReferences (currentPlatform, "lib/mono/Xamarin.WatchOS", references);
- }
- break;
case ApplePlatform.MacCatalyst:
if (!libraryInfo.IsDotNet) {
ReferenceFixer.FixSDKReferences (currentPlatform, "lib/mono/Xamarin.MacCatalyst", references);
diff --git a/src/generate-frameworks-constants/Program.cs b/src/generate-frameworks-constants/Program.cs
index 0d0579d49fe2..8e44f3852f55 100644
--- a/src/generate-frameworks-constants/Program.cs
+++ b/src/generate-frameworks-constants/Program.cs
@@ -21,8 +21,6 @@ static ApplePlatform GetPlatform (string platform)
return ApplePlatform.iOS;
case "tvos":
return ApplePlatform.TVOS;
- case "watchos":
- return ApplePlatform.WatchOS;
case "macos":
return ApplePlatform.MacOSX;
case "maccatalyst":
diff --git a/tests/bindings-test/StructsAndEnums.cs b/tests/bindings-test/StructsAndEnums.cs
index 059c9ad270a1..e7977c652801 100644
--- a/tests/bindings-test/StructsAndEnums.cs
+++ b/tests/bindings-test/StructsAndEnums.cs
@@ -96,7 +96,6 @@ public static MatrixFloat4x3 GetMatrixFloat4x3 (NSObject obj, string selector)
r2c0, r2c1, r2c2, r2c3);
}
-#if !__WATCHOS__
[DllImport ("__Internal")]
public static extern void x_mdltransformcomponent_get_local_transform (IntPtr self, double time, out float r0c0, out float r0c1, out float r0c2, out float r0c3, out float r1c0, out float r1c1, out float r1c2, out float r1c3, out float r2c0, out float r2c1, out float r2c2, out float r2c3, out float r3c0, out float r3c1, out float r3c2, out float r3c3);
@@ -138,7 +137,6 @@ public static MatrixFloat4x4 MDLTransform_GetRotationMatrix (INativeObject obj,
r2c0, r2c1, r2c2, r2c3,
r3c0, r3c1, r3c2, r3c3);
}
-#endif
[DllImport ("__Internal")]
public static extern SCNMatrix4 x_SCNMatrix4MakeTranslation (pfloat tx, pfloat ty, pfloat tz);
diff --git a/tests/bindings-test/libtest.linkwith.cs b/tests/bindings-test/libtest.linkwith.cs
index dc8deb840497..46eb103cacdf 100644
--- a/tests/bindings-test/libtest.linkwith.cs
+++ b/tests/bindings-test/libtest.linkwith.cs
@@ -6,10 +6,6 @@
[assembly: LinkWith ("libtest.a", LinkTarget.Simulator | LinkTarget.ArmV6 | LinkTarget.ArmV7 | LinkTarget.ArmV7s | LinkTarget.Arm64 | LinkTarget.Simulator64, SmartLink = true, Frameworks = LinkWithConstants.Frameworks, LinkerFlags = "-lz")]
static class LinkWithConstants {
-#if __WATCHOS__
- public const string Frameworks = "Foundation CoreLocation";
-#else
public const string Frameworks = "Foundation ModelIO CoreLocation";
-#endif
}
#endif
diff --git a/tests/common/AppDelegate.cs b/tests/common/AppDelegate.cs
index 3d84edb4fc6b..ddff9ad2e707 100644
--- a/tests/common/AppDelegate.cs
+++ b/tests/common/AppDelegate.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.Collections.Generic;
using System.Reflection;
@@ -56,4 +55,3 @@ static void Main (string [] args)
#endif
}
}
-#endif // !__WATCHOS__
diff --git a/tests/common/ConditionalCompilation.cs b/tests/common/ConditionalCompilation.cs
index f60955733296..0b90022ce77c 100644
--- a/tests/common/ConditionalCompilation.cs
+++ b/tests/common/ConditionalCompilation.cs
@@ -5,10 +5,6 @@
#error __TVOS__ should not be defined when __IOS__ is defined
#endif
-#if __WATCHOS__
-#error __WATCHOS__ should not be defined when __IOS__ is defined
-#endif
-
#if __MACOS__
#error __MACOS__ should not be defined when __IOS__ is defined
#endif
@@ -23,35 +19,12 @@
#error __IOS__ should not be defined when __TVOS__ is defined
#endif
-#if __WATCHOS__
-#error __WATCHOS__ should not be defined when __TVOS__ is defined
-#endif
-
#if __MACOS__
#error __MACOS__ should not be defined when __TVOS__ is defined
#endif
#endif // __TVOS__
-
-// __WATCHOS__
-#if __WATCHOS__
-
-#if __IOS__
-#error __IOS__ should not be defined when __WATCHOS__ is defined
-#endif
-
-#if __TVOS__
-#error __TVOS__ should not be defined when __WATCHOS__ is defined
-#endif
-
-#if __MACOS__
-#error __MACOS__ should not be defined when __WATCHOS__ is defined
-#endif
-
-#endif // __WATCHOS__
-
-
// __MACOS__
#if __MACOS__
@@ -63,8 +36,4 @@
#error __TVOS__ should not be defined when __MACOS__ is defined
#endif
-#if __WATCHOS__
-#error __WATCHOS__ should not be defined when __MACOS__ is defined
-#endif
-
#endif // __MACOS__
diff --git a/tests/common/Configuration.cs b/tests/common/Configuration.cs
index f4d1f8058edc..8e7614233688 100644
--- a/tests/common/Configuration.cs
+++ b/tests/common/Configuration.cs
@@ -685,9 +685,6 @@ public static string GetTestLibraryDirectory (ApplePlatform platform, bool? simu
case ApplePlatform.MacOSX:
dir = "macos";
break;
- case ApplePlatform.WatchOS:
- dir = simulator.Value ? "watchsimulator" : "watchos";
- break;
case ApplePlatform.TVOS:
dir = simulator.Value ? "tvsimulator" : "tvos";
break;
diff --git a/tests/common/Profile.cs b/tests/common/Profile.cs
index 837f63350cc5..ea13ae87d505 100644
--- a/tests/common/Profile.cs
+++ b/tests/common/Profile.cs
@@ -22,8 +22,6 @@ public static ApplePlatform AsPlatform (this Profile profile)
return ApplePlatform.iOS;
case Profile.tvOS:
return ApplePlatform.TVOS;
- case Profile.watchOS:
- return ApplePlatform.WatchOS;
case Profile.macOSClassic:
case Profile.macOSFull:
case Profile.macOSMobile:
@@ -50,8 +48,6 @@ public static Profile AsProfile (this ApplePlatform platform)
return Profile.None;
case ApplePlatform.TVOS:
return Profile.tvOS;
- case ApplePlatform.WatchOS:
- return Profile.watchOS;
default:
throw new NotImplementedException (platform.ToString ());
}
diff --git a/tests/common/TestRuntime.RunAsync.cs b/tests/common/TestRuntime.RunAsync.cs
index 50a106f64702..8d47a831b767 100644
--- a/tests/common/TestRuntime.RunAsync.cs
+++ b/tests/common/TestRuntime.RunAsync.cs
@@ -1,4 +1,4 @@
-#if !__WATCHOS__ && !BINDINGS_TEST
+#if !BINDINGS_TEST
#define CAN_SHOW_ASYNC_UI
#endif
diff --git a/tests/common/TestRuntime.cs b/tests/common/TestRuntime.cs
index 9d578bc516c4..8bb43f274a70 100644
--- a/tests/common/TestRuntime.cs
+++ b/tests/common/TestRuntime.cs
@@ -28,12 +28,10 @@
#if MONOMAC
using AppKit;
#else
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using AddressBook;
#endif
-#if !__WATCHOS__
using MediaPlayer;
-#endif
using UIKit;
#endif
using ObjCRuntime;
@@ -78,9 +76,7 @@ partial class TestRuntime {
public static string GetiOSBuildVersion ()
{
-#if __WATCHOS__
- throw new Exception ("Can't get iOS Build version on watchOS.");
-#elif MONOMAC
+#if MONOMAC
throw new Exception ("Can't get iOS Build version on OSX.");
#else
return CFString.FromHandle (IntPtr_objc_msgSend (UIDevice.CurrentDevice.Handle, Selector.GetHandle ("buildVersion")))!;
@@ -128,8 +124,6 @@ public static ApplePlatform CurrentPlatform {
return ApplePlatform.TVOS;
#elif __MACOS__
return ApplePlatform.MacOSX;
-#elif __WATCHOS__
- return ApplePlatform.WatchOS;
#else
#error Unknown platform
#endif
@@ -357,35 +351,30 @@ public static bool CheckExactXcodeVersion (int major, int minor, int beta = 0)
iOS = new { Major = 11, Minor = 0, Build = "15A5278" },
tvOS = new { Major = 11, Minor = 0, Build = "?" },
macOS = new { Major = 10, Minor = 13, Build = "?" },
- watchOS = new { Major = 4, Minor = 0, Build = "?" },
};
var nineb2 = new {
Xcode = new { Major = 9, Minor = 0, Beta = 2 },
iOS = new { Major = 11, Minor = 0, Build = "15A5304" },
tvOS = new { Major = 11, Minor = 0, Build = "?" },
macOS = new { Major = 10, Minor = 13, Build = "?" },
- watchOS = new { Major = 4, Minor = 0, Build = "?" },
};
var nineb3 = new {
Xcode = new { Major = 9, Minor = 0, Beta = 3 },
iOS = new { Major = 11, Minor = 0, Build = "15A5318" },
tvOS = new { Major = 11, Minor = 0, Build = "?" },
macOS = new { Major = 10, Minor = 13, Build = "?" },
- watchOS = new { Major = 4, Minor = 0, Build = "?" },
};
var elevenb5 = new {
Xcode = new { Major = 11, Minor = 0, Beta = 5 },
iOS = new { Major = 13, Minor = 0, Build = "17A5547" },
tvOS = new { Major = 13, Minor = 0, Build = "?" },
macOS = new { Major = 10, Minor = 15, Build = "?" },
- watchOS = new { Major = 6, Minor = 0, Build = "?" },
};
var elevenb6 = new {
Xcode = new { Major = 11, Minor = 0, Beta = 6 },
iOS = new { Major = 13, Minor = 0, Build = "17A5565b" },
tvOS = new { Major = 13, Minor = 0, Build = "?" },
macOS = new { Major = 10, Minor = 15, Build = "?" },
- watchOS = new { Major = 6, Minor = 0, Build = "?" },
};
var twelvedot2b2 = new {
@@ -393,7 +382,6 @@ public static bool CheckExactXcodeVersion (int major, int minor, int beta = 0)
iOS = new { Major = 14, Minor = 2, Build = "18B5061" },
tvOS = new { Major = 14, Minor = 2, Build = "18K5036" },
macOS = new { Major = 11, Minor = 0, Build = "?" },
- watchOS = new { Major = 7, Minor = 1, Build = "18R5561" },
};
var twelvedot2b3 = new {
@@ -401,7 +389,6 @@ public static bool CheckExactXcodeVersion (int major, int minor, int beta = 0)
iOS = new { Major = 14, Minor = 2, Build = "18B5072" },
tvOS = new { Major = 14, Minor = 2, Build = "18K5047" },
macOS = new { Major = 11, Minor = 0, Build = "20A5395" },
- watchOS = new { Major = 7, Minor = 1, Build = "18R5572" },
};
var versions = new [] {
@@ -470,9 +457,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
case 16:
switch (minor) {
case 0:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (11, 0);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (18, 0);
#elif __IOS__
return CheckiOSSystemVersion (18, 0);
@@ -482,9 +467,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ($"Missing platform case for Xcode {major}.{minor}");
#endif
case 1:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (11, 1);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (18, 1);
#elif __IOS__
return CheckiOSSystemVersion (18, 1);
@@ -494,9 +477,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ($"Missing platform case for Xcode {major}.{minor}");
#endif
case 2:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (11, 2);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (18, 2);
#elif __IOS__
return CheckiOSSystemVersion (18, 2);
@@ -511,9 +492,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
case 15:
switch (minor) {
case 0:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (10, 0);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (17, 0);
#elif __IOS__
return CheckiOSSystemVersion (17, 0);
@@ -524,9 +503,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
#endif
case 1:
case 2:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (10, 2);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (17, 2);
#elif __IOS__
return CheckiOSSystemVersion (17, 2);
@@ -536,9 +513,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ($"Missing platform case for Xcode {major}.{minor}");
#endif
case 3:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (10, 4);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (17, 4);
#elif __IOS__
return CheckiOSSystemVersion (17, 4);
@@ -548,9 +523,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ($"Missing platform case for Xcode {major}.{minor}");
#endif
case 4:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (10, 5);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (17, 5);
#elif __IOS__
return CheckiOSSystemVersion (17, 5);
@@ -565,9 +538,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
case 14:
switch (minor) {
case 0:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (9, 0);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (16, 0);
#elif __IOS__
return CheckiOSSystemVersion (16, 0);
@@ -577,9 +548,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ($"Missing platform case for Xcode {major}.{minor}");
#endif
case 1:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (9, 1);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (16, 1);
#elif __IOS__
return CheckiOSSystemVersion (16, 1);
@@ -589,9 +558,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ($"Missing platform case for Xcode {major}.{minor}");
#endif
case 2:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (9, 1);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (16, 1);
#elif __IOS__
return CheckiOSSystemVersion (16, 2);
@@ -601,9 +568,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ($"Missing platform case for Xcode {major}.{minor}");
#endif
case 3:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (9, 4);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (16, 4);
#elif __IOS__
return CheckiOSSystemVersion (16, 4);
@@ -618,9 +583,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
case 13:
switch (minor) {
case 0:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (8, 0);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (15, 0);
#elif __IOS__
return CheckiOSSystemVersion (15, 0);
@@ -630,9 +593,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 1:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (8, 1);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (15, 1);
#elif __IOS__
return CheckiOSSystemVersion (15, 1);
@@ -642,9 +603,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 2:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (8, 3);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (15, 2);
#elif __IOS__
return CheckiOSSystemVersion (15, 2);
@@ -654,9 +613,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 3:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (8, 5);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (15, 4);
#elif __IOS__
return CheckiOSSystemVersion (15, 4);
@@ -671,9 +628,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
case 12:
switch (minor) {
case 0:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (7, 0);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (14, 0);
#elif __IOS__
return CheckiOSSystemVersion (14, 0);
@@ -683,9 +638,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 1:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (7, 0);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (14, 0);
#elif __IOS__
return CheckiOSSystemVersion (14, 1);
@@ -695,9 +648,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 2:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (7, 1);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (14, 2);
#elif __IOS__
return CheckiOSSystemVersion (14, 2);
@@ -707,9 +658,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 3:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (7, 2);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (14, 3);
#elif __IOS__
return CheckiOSSystemVersion (14, 3);
@@ -717,9 +666,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
return CheckMacSystemVersion (11, 1, 0);
#endif
case 5:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (7, 4);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (14, 5);
#elif __IOS__
return CheckiOSSystemVersion (14, 5);
@@ -734,9 +681,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
case 11:
switch (minor) {
case 0:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (6, 0);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (13, 0);
#elif __IOS__
return CheckiOSSystemVersion (13, 0);
@@ -746,9 +691,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 1:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (6, 0);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (13, 0);
#elif __IOS__
return CheckiOSSystemVersion (13, 1);
@@ -758,9 +701,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 2:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (6, 1);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (13, 2);
#elif MONOMAC
return CheckMacSystemVersion (10, 15, 1);
@@ -770,9 +711,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 3:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (6, 1, 1);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (13, 3);
#elif __IOS__
return CheckiOSSystemVersion (13, 3);
@@ -782,9 +721,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 4:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (6, 2);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (13, 4);
#elif __IOS__
return CheckiOSSystemVersion (13, 4);
@@ -794,9 +731,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 5:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (6, 2);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (13, 4);
#elif __IOS__
return CheckiOSSystemVersion (13, 5);
@@ -806,9 +741,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 6:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (6, 2);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (13, 4);
#elif __IOS__
return CheckiOSSystemVersion (13, 6);
@@ -823,9 +756,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
case 10:
switch (minor) {
case 0:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (5, 0);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (12, 0);
#elif __IOS__
return CheckiOSSystemVersion (12, 0);
@@ -835,9 +766,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 1:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (5, 1);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (12, 1);
#elif __IOS__
return CheckiOSSystemVersion (12, 1);
@@ -847,9 +776,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 2:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (5, 2);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (12, 2);
#elif __IOS__
return CheckiOSSystemVersion (12, 2);
@@ -864,9 +791,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
case 9:
switch (minor) {
case 0:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (4, 0);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (11, 0);
#elif __IOS__
return CheckiOSSystemVersion (11, 0);
@@ -876,9 +801,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 2:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (4, 2);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (11, 2);
#elif __IOS__
return CheckiOSSystemVersion (11, 2);
@@ -888,9 +811,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 3:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (4, 3);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (11, 3);
#elif __IOS__
return CheckiOSSystemVersion (11, 3);
@@ -905,9 +826,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
case 8:
switch (minor) {
case 0:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (3, 0);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (10, 0);
#elif __IOS__
return CheckiOSSystemVersion (10, 0);
@@ -917,9 +836,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 1:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (3, 1);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (10, 0);
#elif __IOS__
return CheckiOSSystemVersion (10, 1);
@@ -929,9 +846,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 2:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (3, 1);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (10, 1);
#elif __IOS__
return CheckiOSSystemVersion (10, 2);
@@ -941,9 +856,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 3:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (3, 2);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (10, 2);
#elif __IOS__
return CheckiOSSystemVersion (10, 3);
@@ -958,9 +871,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
case 7:
switch (minor) {
case 0:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (2, 0);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (9, 0);
#elif __IOS__
return CheckiOSSystemVersion (9, 0);
@@ -970,9 +881,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 1:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (2, 0);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (9, 0);
#elif __IOS__
return CheckiOSSystemVersion (9, 1);
@@ -982,9 +891,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 2:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (2, 1);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (9, 1);
#elif __IOS__
return CheckiOSSystemVersion (9, 2);
@@ -994,9 +901,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
throw new NotImplementedException ();
#endif
case 3:
-#if __WATCHOS__
- return CheckWatchOSSystemVersion (2, 2);
-#elif __TVOS__
+#if __TVOS__
return ChecktvOSSystemVersion (9, 2);
#elif __IOS__
return CheckiOSSystemVersion (9, 3);
@@ -1022,7 +927,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
default:
throw new NotImplementedException ();
}
-#elif __TVOS__ || __WATCHOS__
+#elif __TVOS__
return true;
#elif MONOMAC
switch (minor) {
@@ -1050,7 +955,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
default:
throw new NotImplementedException ();
}
-#elif __TVOS__ || __WATCHOS__
+#elif __TVOS__
return true;
#elif MONOMAC
switch (minor) {
@@ -1077,7 +982,7 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
default:
throw new NotImplementedException ();
}
-#elif __TVOS__ || __WATCHOS__
+#elif __TVOS__
return true;
#elif MONOMAC
switch (minor) {
@@ -1106,8 +1011,6 @@ public static bool CheckSystemVersion (ApplePlatform platform, int major, int mi
return CheckMacSystemVersion (major, minor, build, throwIfOtherPlatform);
case ApplePlatform.TVOS:
return ChecktvOSSystemVersion (major, minor, throwIfOtherPlatform);
- case ApplePlatform.WatchOS:
- return CheckWatchOSSystemVersion (major, minor, throwIfOtherPlatform);
case ApplePlatform.MacCatalyst:
return CheckMacCatalystSystemVersion (major, minor, throwIfOtherPlatform);
default:
@@ -1127,9 +1030,6 @@ public static void AssertSystemVersion (ApplePlatform platform, int major, int m
case ApplePlatform.TVOS:
AsserttvOSSystemVersion (major, minor, throwIfOtherPlatform);
break;
- case ApplePlatform.WatchOS:
- AssertWatchOSSystemVersion (major, minor, throwIfOtherPlatform);
- break;
case ApplePlatform.MacCatalyst:
AssertMacCatalystSystemVersion (major, minor, build, throwIfOtherPlatform);
break;
@@ -1213,46 +1113,6 @@ static void AsserttvOSSystemVersion (int major, int minor, bool throwIfOtherPlat
NUnit.Framework.Assert.Ignore ($"This test requires tvOS {major}.{minor}");
}
- // This method returns true if:
- // system version >= specified version
- // AND
- // sdk version >= specified version
- static bool CheckWatchOSSystemVersion (int major, int minor, bool throwIfOtherPlatform = true)
- {
-#if __WATCHOS__
- return WatchKit.WKInterfaceDevice.CurrentDevice.CheckSystemVersion (major, minor);
-#else
- if (throwIfOtherPlatform)
- throw new Exception ("Can't get watchOS System version on iOS/tvOS.");
- // This is both iOS and tvOS
- return true;
-#endif
- }
-
- // This method returns true if:
- // system version >= specified version
- // AND
- // sdk version >= specified version
- static bool CheckWatchOSSystemVersion (int major, int minor, int build, bool throwIfOtherPlatform = true)
- {
-#if __WATCHOS__
- return WatchKit.WKInterfaceDevice.CurrentDevice.CheckSystemVersion (major, minor, build);
-#else
- if (throwIfOtherPlatform)
- throw new Exception ("Can't get watchOS System version on iOS/tvOS.");
- // This is both iOS and tvOS
- return true;
-#endif
- }
-
- static void AssertWatchOSSystemVersion (int major, int minor, bool throwIfOtherPlatform = true)
- {
- if (CheckWatchOSSystemVersion (major, minor, throwIfOtherPlatform))
- return;
-
- NUnit.Framework.Assert.Ignore ($"This test requires watchOS {major}.{minor}");
- }
-
static bool CheckMacSystemVersion (int major, int minor, int build = 0, bool throwIfOtherPlatform = true)
{
#if MONOMAC
@@ -1289,9 +1149,7 @@ static void AssertMacCatalystSystemVersion (int major, int minor, int build = 0,
public static bool CheckSDKVersion (int major, int minor)
{
-#if __WATCHOS__
- throw new Exception ("Can't get iOS SDK version on WatchOS.");
-#elif !MONOMAC && !__MACCATALYST__
+#if !MONOMAC && !__MACCATALYST__
if (Runtime.Arch == Arch.SIMULATOR || !UIDevice.CurrentDevice.CheckSystemVersion (6, 0)) {
// dyld_get_program_sdk_version was introduced with iOS 6.0, so don't do the SDK check on older deviecs.
return true; // dyld_get_program_sdk_version doesn't return what we're looking for on the mac.
@@ -1381,7 +1239,7 @@ public static void CheckBluetoothPermission (bool assert_granted = false)
}
}
-#if !MONOMAC && !__TVOS__ && !__WATCHOS__
+#if !MONOMAC && !__TVOS__
public static void RequestCameraPermission (NSString mediaTypeToken, bool assert_granted = false)
{
#if __MACCATALYST__
@@ -1407,7 +1265,7 @@ public static void RequestCameraPermission (NSString mediaTypeToken, bool assert
break;
}
}
-#endif // !!MONOMAC && !__TVOS__ && !__WATCHOS__
+#endif // !!MONOMAC && !__TVOS__
#if !__TVOS__
public static void CheckContactsPermission (bool assert_granted = false)
@@ -1448,7 +1306,7 @@ public static void RequestContactsPermission (bool assert_granted = false)
#endif // !__TVOS__
-#if !MONOMAC && !__TVOS__ && !__WATCHOS__
+#if !MONOMAC && !__TVOS__
public static void CheckAddressBookPermission (bool assert_granted = false)
{
#if __MACCATALYST__
@@ -1470,9 +1328,8 @@ public static void CheckAddressBookPermission (bool assert_granted = false)
}
}
#pragma warning restore CA1422
-#endif // !MONOMAC && !__TVOS__ && !__WATCHOS__
+#endif // !MONOMAC && !__TVOS__
-#if !__WATCHOS__
public static void RequestMicrophonePermission (bool assert_granted = false)
{
#if MONOMAC
@@ -1528,9 +1385,8 @@ public static void RequestMicrophonePermission (bool assert_granted = false)
#endif // !MONOMAC && !__TVOS__
}
-#endif // !__WATCHOS__
-#if !MONOMAC && !__TVOS__ && !__WATCHOS__
+#if !MONOMAC && !__TVOS__
public static void RequestMediaLibraryPermission (bool assert_granted = false)
{
if (!CheckXcodeVersion (7, 3)) {
@@ -1778,11 +1634,7 @@ static void IgnoreNetworkError (NSError error, params CFNetworkErrors [] errors)
if (error is null)
return;
-#if __WATCHOS__
- if (error.Domain != NSError.NSUrlErrorDomain)
-#else
if (error.Domain != NSError.NSUrlErrorDomain && error.Domain != NSError.CFNetworkErrorDomain)
-#endif
return;
foreach (var e in errors) {
diff --git a/tests/common/Touch.Unit/Touch.Client/Runner/TouchOptions.cs b/tests/common/Touch.Unit/Touch.Client/Runner/TouchOptions.cs
index 9892ce878331..80e6fbb06fb4 100644
--- a/tests/common/Touch.Unit/Touch.Client/Runner/TouchOptions.cs
+++ b/tests/common/Touch.Unit/Touch.Client/Runner/TouchOptions.cs
@@ -26,7 +26,7 @@
using UIKit;
#endif
-#if !__WATCHOS__ && !__MACOS__
+#if !__MACOS__
using MonoTouch.Dialog;
#endif
@@ -163,7 +163,7 @@ public bool ShowUseNetworkLogger {
public string TestName { get; set; }
-#if !__WATCHOS__ && !__MACOS__
+#if !__MACOS__
public UIViewController GetViewController ()
{
#if TVOS
@@ -217,6 +217,6 @@ public UIViewController GetViewController ()
return dv;
}
-#endif // !__WATCHOS__
+#endif // !__MACOS__
}
}
diff --git a/tests/common/Touch.Unit/Touch.Client/Runner/TouchRunner.cs b/tests/common/Touch.Unit/Touch.Client/Runner/TouchRunner.cs
index be6d6803de4e..9cac660298f7 100644
--- a/tests/common/Touch.Unit/Touch.Client/Runner/TouchRunner.cs
+++ b/tests/common/Touch.Unit/Touch.Client/Runner/TouchRunner.cs
@@ -40,7 +40,7 @@
#endif
using Constants = global::ObjCRuntime.Constants;
-#if !__WATCHOS__ && !__MACOS__
+#if !__MACOS__
using MonoTouch.Dialog;
#endif
@@ -136,7 +136,6 @@ protected void FlushConsole ()
static extern void exit (int code);
protected virtual void TerminateWithSuccess ()
{
- // For WatchOS we're terminating the extension, not the watchos app itself.
Console.WriteLine ("Exiting test run with success");
FlushConsole ();
exit (0);
@@ -437,7 +436,7 @@ public bool OpenWriter (string message)
// returns true if test run should still start
bool ShowConnectionErrorAlert (string hostname, int port, Exception ex)
{
-#if __TVOS__ || __WATCHOS__ || __MACOS__
+#if __TVOS__ || __MACOS__
return true;
#else
// Don't show any alerts if we're running automated.
@@ -698,18 +697,7 @@ public void SendMessage (TestMessage message)
#endif
}
-#if __WATCHOS__
- public class WatchOSRunner : BaseTouchRunner {
- protected override void WriteDeviceInformation (TextWriter writer)
- {
- var device = WatchKit.WKInterfaceDevice.CurrentDevice;
- writer.WriteLine ("[{0}:\t{1} v{2}]", device.Model, device.SystemName, device.SystemVersion);
- writer.WriteLine ("[Device Name:\t{0}]", device.Name);
- }
- }
-#endif
-
-#if !__WATCHOS__ && !__MACOS__
+#if !__MACOS__
public class ConsoleRunner : BaseTouchRunner {
protected override void WriteDeviceInformation (TextWriter writer)
{
diff --git a/tests/dotnet/UnitTests/BundleStructureTest.cs b/tests/dotnet/UnitTests/BundleStructureTest.cs
index 30409b760d20..acdd5010829a 100644
--- a/tests/dotnet/UnitTests/BundleStructureTest.cs
+++ b/tests/dotnet/UnitTests/BundleStructureTest.cs
@@ -9,8 +9,12 @@ static bool IsPlatformAssembly (string assemblyName)
if (assemblyName.EndsWith (".dll", StringComparison.Ordinal) || assemblyName.EndsWith (".pdb", StringComparison.Ordinal))
assemblyName = Path.GetFileNameWithoutExtension (assemblyName);
foreach (var platform in Enum.GetValues ()) {
- if (platform == ApplePlatform.None || platform == ApplePlatform.WatchOS)
+ if (platform == ApplePlatform.None)
continue;
+#pragma warning disable CS0618
+ if (platform == ApplePlatform.WatchOS)
+ continue;
+#pragma warning restore CS0618
var platformAssembly = Path.GetFileNameWithoutExtension (Configuration.GetBaseLibraryName (platform));
if (platformAssembly == assemblyName)
return true;
diff --git a/tests/dotnet/UnitTests/ProjectTest.cs b/tests/dotnet/UnitTests/ProjectTest.cs
index 829d85786080..9e7a9a5a4ee1 100644
--- a/tests/dotnet/UnitTests/ProjectTest.cs
+++ b/tests/dotnet/UnitTests/ProjectTest.cs
@@ -1778,7 +1778,6 @@ public void CustomizedCodeSigning (ApplePlatform platform, string runtimeIdentif
switch (platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
sharedSupportDir = "SharedSupport";
break;
case ApplePlatform.MacOSX:
diff --git a/tests/dotnet/UnitTests/TestBaseClass.cs b/tests/dotnet/UnitTests/TestBaseClass.cs
index 7179b235c38f..2390ac9a232f 100644
--- a/tests/dotnet/UnitTests/TestBaseClass.cs
+++ b/tests/dotnet/UnitTests/TestBaseClass.cs
@@ -201,7 +201,6 @@ protected static bool CanExecute (ApplePlatform platform, string runtimeIdentifi
switch (platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
return false;
case ApplePlatform.MacOSX:
case ApplePlatform.MacCatalyst:
@@ -225,7 +224,6 @@ protected string GetRelativeResourcesDirectory (ApplePlatform platform)
switch (platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
return "Resources";
case ApplePlatform.MacOSX:
case ApplePlatform.MacCatalyst:
@@ -240,7 +238,6 @@ protected string GetRelativeAssemblyDirectory (ApplePlatform platform)
switch (platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
return string.Empty;
case ApplePlatform.MacOSX:
case ApplePlatform.MacCatalyst:
@@ -260,7 +257,6 @@ protected string GetInfoPListPath (ApplePlatform platform, string app_directory)
switch (platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
return Path.Combine (app_directory, "Info.plist");
case ApplePlatform.MacOSX:
case ApplePlatform.MacCatalyst:
@@ -305,7 +301,6 @@ protected static string GetRelativeExecutableDirectory (ApplePlatform platform)
switch (platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
return string.Empty;
case ApplePlatform.MacOSX:
case ApplePlatform.MacCatalyst:
@@ -320,7 +315,6 @@ protected string GetRelativeCodesignDirectory (ApplePlatform platform)
switch (platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
return string.Empty;
case ApplePlatform.MacOSX:
case ApplePlatform.MacCatalyst:
@@ -335,7 +329,6 @@ protected string GetResourcesDirectory (ApplePlatform platform, string app_direc
switch (platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
return app_directory;
case ApplePlatform.MacOSX:
case ApplePlatform.MacCatalyst:
diff --git a/tests/fsharp/AppDelegate.fs b/tests/fsharp/AppDelegate.fs
index 9b56290f8ce4..01d88f6f4405 100644
--- a/tests/fsharp/AppDelegate.fs
+++ b/tests/fsharp/AppDelegate.fs
@@ -1,6 +1,5 @@
namespace fsharp
-#if !__WATCHOS__
open System
open System.Reflection
@@ -27,4 +26,3 @@ type AppDelegate () =
window.MakeKeyAndVisible ()
true
-#endif // !__WATCHOS__
diff --git a/tests/fsharp/Main.fs b/tests/fsharp/Main.fs
index 5a40f608db49..c24de7305842 100644
--- a/tests/fsharp/Main.fs
+++ b/tests/fsharp/Main.fs
@@ -2,7 +2,7 @@ namespace fsharp
open UIKit
-#if !__WATCHOS__ && !TODAY_EXTENSION
+#if !TODAY_EXTENSION
module Main =
[]
diff --git a/tests/generator/BGenTool.cs b/tests/generator/BGenTool.cs
index 644dc404703d..add3f1e62722 100644
--- a/tests/generator/BGenTool.cs
+++ b/tests/generator/BGenTool.cs
@@ -90,8 +90,6 @@ public static string GetTargetFramework (Profile profile)
return TargetFramework.DotNet_iOS_String;
case Profile.tvOS:
return TargetFramework.DotNet_tvOS_String;
- case Profile.watchOS:
- return TargetFramework.DotNet_watchOS_String;
case Profile.MacCatalyst:
return TargetFramework.DotNet_MacCatalyst_String;
case Profile.macOSMobile:
diff --git a/tests/generator/PlatformNameExtensionsTests.cs b/tests/generator/PlatformNameExtensionsTests.cs
index 6daef60a5042..37f3a8c571e5 100644
--- a/tests/generator/PlatformNameExtensionsTests.cs
+++ b/tests/generator/PlatformNameExtensionsTests.cs
@@ -59,7 +59,6 @@ public void GetPDFKitMapTest (PlatformName platformName, string expected)
[TestCase (PlatformName.TvOS, ApplePlatform.TVOS)]
[TestCase (PlatformName.MacCatalyst, ApplePlatform.MacCatalyst)]
[TestCase (PlatformName.MacOSX, ApplePlatform.MacOSX)]
- [TestCase (PlatformName.WatchOS, ApplePlatform.WatchOS)]
[TestCase (PlatformName.None, ApplePlatform.None)]
public void AsApplePlatformTest (PlatformName platformName, ApplePlatform expected)
=> Assert.AreEqual (expected, platformName.AsApplePlatform ());
diff --git a/tests/linker/BaseOptimizeGeneratedCodeTest.cs b/tests/linker/BaseOptimizeGeneratedCodeTest.cs
index ce3846706f13..a659b8c448be 100644
--- a/tests/linker/BaseOptimizeGeneratedCodeTest.cs
+++ b/tests/linker/BaseOptimizeGeneratedCodeTest.cs
@@ -516,10 +516,6 @@ void SetupBlockOptimized_LoadLocalVariable (Action callback)
public void IsARM64CallingConvention ()
{
IgnoreIfNotLinkAll ();
-#if __WATCHOS__
- if (!Runtime.IsARM64CallingConvention && Runtime.Arch == Arch.DEVICE)
- Assert.Ignore ("Can't inline when running on armv7k.");
-#endif
#if DEBUG // Release builds will strip IL, so any IL checking has to be done in debug builds.
MethodInfo method;
diff --git a/tests/linker/CommonLinkAnyTest.cs b/tests/linker/CommonLinkAnyTest.cs
index 83b2f6a9e05a..829b4d43752f 100644
--- a/tests/linker/CommonLinkAnyTest.cs
+++ b/tests/linker/CommonLinkAnyTest.cs
@@ -56,7 +56,6 @@ public void AppContextGetData ()
}
#endif
-#if !__WATCHOS__
[Test]
public void BackingFieldInGenericType ()
{
@@ -68,7 +67,6 @@ public void BackingFieldInGenericType ()
#endif
GC.KeepAlive (view.HeightAnchor);
}
-#endif // !__WATCHOS__
#if NET
[Test]
diff --git a/tests/linker/ios/dont link/DontLinkRegressionTests.cs b/tests/linker/ios/dont link/DontLinkRegressionTests.cs
index caed92c8335b..20fc1dd391bc 100644
--- a/tests/linker/ios/dont link/DontLinkRegressionTests.cs
+++ b/tests/linker/ios/dont link/DontLinkRegressionTests.cs
@@ -110,7 +110,7 @@ public void DefaultEncoding ()
Assert.True (de.IsReadOnly, "IsReadOnly");
}
-#if __TVOS__ || __WATCHOS__
+#if __TVOS__
void AssertThrowsWrappedNotSupportedException (Action action, string message)
{
try {
@@ -167,7 +167,7 @@ public void ProcessStart_NotSupported ()
}
}
-#endif // __TVOS__ || __WATCHOS__
+#endif // __TVOS__
#if __IOS__ && !__MACCATALYST__
diff --git a/tests/linker/ios/dont link/TableViewSourceTest.cs b/tests/linker/ios/dont link/TableViewSourceTest.cs
index f42a35030e06..73cfa7e7d63c 100644
--- a/tests/linker/ios/dont link/TableViewSourceTest.cs
+++ b/tests/linker/ios/dont link/TableViewSourceTest.cs
@@ -7,7 +7,7 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !__MACOS__
+#if !__MACOS__
using System;
using System.Collections.Generic;
@@ -53,4 +53,4 @@ public void ValidateMembers ()
}
}
-#endif // !__WATCHOS__
+#endif // !__MACOS__
diff --git a/tests/linker/ios/link all/LinkAllTest.cs b/tests/linker/ios/link all/LinkAllTest.cs
index 51c6353333c7..8179b5c5bbd2 100644
--- a/tests/linker/ios/link all/LinkAllTest.cs
+++ b/tests/linker/ios/link all/LinkAllTest.cs
@@ -24,9 +24,7 @@
using CoreGraphics;
using Foundation;
using ObjCRuntime;
-#if !__WATCHOS__
using StoreKit;
-#endif
#if __MACOS__ || __IOS__
using PdfKit;
#endif
@@ -87,13 +85,6 @@ public class LinkAllRegressionTest {
#else
public const string AssemblyName = "Xamarin.TVOS";
#endif
-#elif __WATCHOS__
- public const string NamespacePrefix = "";
-#if NET
- public const string AssemblyName = "Microsoft.watchOS";
-#else
- public const string AssemblyName = "Xamarin.WatchOS";
-#endif
#elif __MACOS__
public const string NamespacePrefix = "";
#if NET
@@ -236,9 +227,6 @@ string GetProblemMessage (CertificateProblem problem)
[Test]
public void TrustUsingOldPolicy ()
{
-#if __WATCHOS__
- Assert.Ignore ("WatchOS doesn't support BSD sockets, which our network stack currently requires.");
-#endif
// Three similar tests exists in dontlink, linkall and linksdk to test 3 different cases
// untrusted, custom ICertificatePolicy and ServerCertificateValidationCallback without
// having caching issues (in S.Net or the SSL handshake cache)
@@ -263,11 +251,9 @@ public void TrustUsingOldPolicy ()
[Test]
public void DetectPlatform ()
{
-#if !__WATCHOS__
// for (future) nunit[lite] platform detection - if this test fails then platform detection won't work
var typename = NamespacePrefix + "UIKit.UIApplicationDelegate, " + AssemblyName;
Assert.NotNull (Helper.GetType (typename), typename);
-#endif
#if NET
Assert.Null (Helper.GetType ("Mono.Runtime"), "Mono.Runtime");
#else
@@ -379,20 +365,16 @@ public void Assembly_ReflectionOnlyLoadFrom ()
[Test]
public void SystemDataSqlClient ()
{
-#if __WATCHOS__
- Assert.Throws (() => new System.Data.SqlClient.SqlConnection ());
-#else
// notes:
// * this test is mean to fail when building the application using a Community or Indie licenses
// * linksdk.app references System.Data (assembly) but not types in SqlClient namespace
using (var sc = new System.Data.SqlClient.SqlConnection ()) {
Assert.NotNull (sc);
}
-#endif
}
#endif
-#if !__TVOS__ && !__WATCHOS__ && !__MACOS__
+#if !__TVOS__ && !__MACOS__
[Test]
public void Pasteboard_ImagesTest ()
{
@@ -510,7 +492,7 @@ public void AssemblyReferences_16213 ()
}
}
-#if !__WATCHOS__ && !__MACCATALYST__
+#if !__MACCATALYST__
#if !NET // OpenTK-1.0.dll isn't supported in .NET yet
[Test]
public void OpenTk10_Preserved ()
@@ -531,7 +513,7 @@ public void OpenTk10_Preserved ()
Assert.NotNull (core, "ES20/Core");
}
#endif // !NET
-#endif // !__WATCHOS__ && !__MACCATALYST__
+#endif // !__MACCATALYST__
[Test]
public void NestedNSObject ()
@@ -590,7 +572,6 @@ public void AnonymousType ()
Assert.Null (result, result);
}
-#if !__WATCHOS__
[Test]
public void Events ()
{
@@ -614,7 +595,6 @@ public void Events ()
Assert.NotNull (fi, "receivedResponse/SKRequest");
}
}
-#endif // !__WATCHOS__
[Test]
public void Aot_27116 ()
@@ -628,7 +608,7 @@ where nic.Id.StartsWith ("en") || nic.Id.StartsWith ("pdp_ip")
[Test]
public void AppleTls ()
{
- // make test work for classic (monotouch) and unified (iOS, tvOS and watchOS)
+ // make test work for classic (monotouch) and unified (iOS, tvOS)
var fqn = typeof (NSObject).AssemblyQualifiedName.Replace ("Foundation.NSObject", "Security.Tls.AppleTlsProvider");
Assert.Null (Helper.GetType (fqn), "Should NOT be included (no SslStream or Socket support)");
}
@@ -739,7 +719,6 @@ public void CGPdfPage ()
[Introduced (PlatformName.MacOSX, 1, 0, PlatformArchitecture.Arch64)]
[Introduced (PlatformName.iOS, 1, 0)]
[Introduced (PlatformName.TvOS, 1, 0)]
- [Introduced (PlatformName.WatchOS, 1, 0)]
#endif
[Preserve]
public class ClassFromThePast : NSObject {
diff --git a/tests/linker/ios/link sdk/AotBugs.cs b/tests/linker/ios/link sdk/AotBugs.cs
index d0a7329c00c4..aafe675229f3 100644
--- a/tests/linker/ios/link sdk/AotBugs.cs
+++ b/tests/linker/ios/link sdk/AotBugs.cs
@@ -2,9 +2,7 @@
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.ObjectModel;
-#if !__WATCHOS__
using System.Drawing;
-#endif
using System.Linq;
using System.Threading.Tasks;
using System.Runtime.CompilerServices;
diff --git a/tests/linker/ios/link sdk/AsyncTest.cs b/tests/linker/ios/link sdk/AsyncTest.cs
index 8ae3155d9d4f..45cdcd2f13c6 100644
--- a/tests/linker/ios/link sdk/AsyncTest.cs
+++ b/tests/linker/ios/link sdk/AsyncTest.cs
@@ -20,9 +20,6 @@ public Task LoadCategories ()
[Test]
public void Bug12221 ()
{
-#if __WATCHOS__
- Assert.Ignore ("WatchOS doesn't support BSD sockets, which our network stack currently requires.");
-#endif
try {
LoadCategories ().GetAwaiter ().GetResult ();
} catch (TaskCanceledException) {
diff --git a/tests/linker/ios/link sdk/BitcodeTest.cs b/tests/linker/ios/link sdk/BitcodeTest.cs
index 8c3f40241182..62c00825e04e 100644
--- a/tests/linker/ios/link sdk/BitcodeTest.cs
+++ b/tests/linker/ios/link sdk/BitcodeTest.cs
@@ -14,10 +14,6 @@ public class BitcodeTest {
public void FilterClauseTest ()
{
var supported = true;
-#if __WATCHOS__
- if (Runtime.Arch == Arch.DEVICE)
- supported = false;
-#endif
if (supported) {
Assert.AreEqual (0, FilterClause (), "Filter me");
Assert.AreEqual (10, FilterClauseProperty, "Filter me getter");
@@ -30,7 +26,6 @@ public void FilterClauseTest ()
}
// A method with a filter clause
- // mtouch will show a warning for this method (MT2105) when building for watchOS device. This is expected.
static int FilterClause ()
{
try {
@@ -43,7 +38,6 @@ static int FilterClause ()
}
// A property with a filter clause
- // mtouch will show a warning for this property (MT2105) when building for watchOS device. This is expected.
static int FilterClauseProperty {
get {
try {
diff --git a/tests/linker/ios/link sdk/CryptoTest.cs b/tests/linker/ios/link sdk/CryptoTest.cs
index 765252a5ba49..d079de3e6f6f 100644
--- a/tests/linker/ios/link sdk/CryptoTest.cs
+++ b/tests/linker/ios/link sdk/CryptoTest.cs
@@ -46,9 +46,6 @@ public void AesCreate ()
[Test]
public void TrustUsingNewCallback ()
{
-#if __WATCHOS__
- Assert.Ignore ("WatchOS doesn't support BSD sockets, which our network stack currently requires.");
-#endif
// Three similar tests exists in dontlink, linkall and linksdk to test 3 different cases
// untrusted, custom ICertificatePolicy and ServerCertificateValidationCallback without
// having caching issues (in S.Net or the SSL handshake cache)
@@ -83,9 +80,6 @@ public void TrustUsingNewCallback ()
[Test]
public void SSL_IP_5706 ()
{
-#if __WATCHOS__
- Assert.Ignore ("WatchOS doesn't support BSD sockets, which our network stack currently requires.");
-#endif
WebClient wc = new WebClient ();
// IP are (generally) not allowed
@@ -106,9 +100,6 @@ public void SSL_IP_5706 ()
[Test]
public void TLS1_ServerNameExtension ()
{
-#if __WATCHOS__
- Assert.Ignore ("WatchOS doesn't support BSD sockets, which our network stack currently requires.");
-#endif
// without support for the "server_name" TLS extension (RFC3546) we receive the "general"
// certificate of a server, which might not be the right one if a single server instance
// is used for many hosts (without a common name)
diff --git a/tests/linker/ios/link sdk/DllImportTest.cs b/tests/linker/ios/link sdk/DllImportTest.cs
index 9bcc017af27d..09cec272c11e 100644
--- a/tests/linker/ios/link sdk/DllImportTest.cs
+++ b/tests/linker/ios/link sdk/DllImportTest.cs
@@ -84,19 +84,9 @@ public void Sqlite3 ()
public void PingSend ()
{
var p = new Ping ();
-#if __WATCHOS__
- // no socket support
- Assert.Throws (delegate { p.Send ("localhost"); });
-#elif NET
// support was implemented with https://github.com/dotnet/runtime/pull/52240
var reply = p.Send ("localhost");
Assert.That (reply.Status, Is.EqualTo (IPStatus.Success), "Pong");
-#else
- // OSX/iOS libc (libSystem.dylib) does not have a capget - which breaks dlsym=false (required for tvOS)
- // iOS (tvOS/watchOS) does not support Process to run ping either so it ends up with a InvalidOperationException
- // which is now "optimized" to reduce code size (and remove DllImport) until we implement ping (see: #964)
- Assert.Throws (delegate { p.Send ("localhost"); });
-#endif
}
}
}
diff --git a/tests/linker/ios/link sdk/HttpClientHandlerTest.cs b/tests/linker/ios/link sdk/HttpClientHandlerTest.cs
index 23ae143fb4b5..5dfa7c206c0f 100644
--- a/tests/linker/ios/link sdk/HttpClientHandlerTest.cs
+++ b/tests/linker/ios/link sdk/HttpClientHandlerTest.cs
@@ -14,7 +14,6 @@ namespace LinkSdk.Net.Http {
[Preserve (AllMembers = true)]
public class HttpClientHandlerTest {
-#if !__WATCHOS__
[Test]
public void HttpClient ()
{
@@ -46,7 +45,6 @@ public void CFNetwork ()
Assert.False (handler.UseSystemProxy, "UseSystemProxy");
}
}
-#endif
[Test]
public void NSUrlSession ()
diff --git a/tests/linker/ios/link sdk/HttpClientTest.cs b/tests/linker/ios/link sdk/HttpClientTest.cs
index c1731490cfa5..629349f0fde8 100644
--- a/tests/linker/ios/link sdk/HttpClientTest.cs
+++ b/tests/linker/ios/link sdk/HttpClientTest.cs
@@ -125,7 +125,6 @@ public void NS302_Disallowed ()
Get302 (client, allowRedirect: handler.AllowAutoRedirect);
}
-#if !__WATCHOS__
//[Test]
public void CFSimple ()
{
@@ -149,6 +148,5 @@ public void CF302_Disallowed ()
var client = new HttpClient (handler);
Get302 (client, allowRedirect: handler.AllowAutoRedirect);
}
-#endif
}
}
diff --git a/tests/linker/ios/link sdk/LinkExtraDefsTest.cs b/tests/linker/ios/link sdk/LinkExtraDefsTest.cs
index 7c61c8e88a7c..ebee58795af7 100644
--- a/tests/linker/ios/link sdk/LinkExtraDefsTest.cs
+++ b/tests/linker/ios/link sdk/LinkExtraDefsTest.cs
@@ -46,7 +46,7 @@ public void System ()
Assert.NotNull (t.GetMethod ("ParseValue", BindingFlags.Instance | BindingFlags.NonPublic), "Parse");
}
-#if !__WATCHOS__ && !__MACOS__
+#if !__MACOS__
[Test]
public void MonoTouch ()
{
diff --git a/tests/linker/ios/link sdk/LinkSdkRegressionTest.cs b/tests/linker/ios/link sdk/LinkSdkRegressionTest.cs
index e0fd32564025..ea23fc9055b1 100644
--- a/tests/linker/ios/link sdk/LinkSdkRegressionTest.cs
+++ b/tests/linker/ios/link sdk/LinkSdkRegressionTest.cs
@@ -32,9 +32,7 @@
#if HAS_ADDRESSBOOKUI
using AddressBookUI;
#endif
-#if !__WATCHOS__
using CoreAnimation;
-#endif
using CoreData;
using CoreFoundation;
using Foundation;
@@ -47,7 +45,7 @@
#else
using UIKit;
#endif
-#if !__WATCHOS__ && !__MACCATALYST__ && !__MACOS__
+#if !__MACCATALYST__ && !__MACOS__
using OpenGLES;
#endif
#if !(__TVOS__ && NET)
@@ -130,7 +128,6 @@ public void Bug300_Linker_PredicateOf ()
Assert.NotNull (valuePair);
}
-#if !__WATCHOS__
[Test]
// http://bugzilla.xamarin.com/show_bug.cgi?id=328
public void Bug328_CompletionBlock ()
@@ -140,9 +137,8 @@ public void Bug328_CompletionBlock ()
// the above should not crash with a MonoTouchException
CATransaction.Commit ();
}
-#endif // !__WATCHOS__
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
[Test]
// http://bugzilla.xamarin.com/show_bug.cgi?id=769
public void Bug769_UnregistredDelegate ()
@@ -156,9 +152,9 @@ public void Bug769_UnregistredDelegate ()
Class.ThrowOnInitFailure = tmp;
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__
-#if !__WATCHOS__ && !__MACOS__
+#if !__MACOS__
[Test]
// http://bugzilla.xamarin.com/show_bug.cgi?id=865
public void Bug865_CanOpenUrl ()
@@ -174,7 +170,7 @@ public void Bug865_CanOpenUrl ()
// we now throw if `init*` fails
Assert.Throws (() => new NSUrl (bad_tel), "ctor, bad url");
}
-#endif // !__WATCHOS__
+#endif // !__MACOS__
[Test]
// issue indirectly found when trying: http://bugzilla.xamarin.com/show_bug.cgi?id=928
@@ -310,11 +306,9 @@ public void Bug1415_Linker_XmlAttribute ()
// type is decorated with both [XmlSchemaProvider] and [XmlRoot]
Assert.NotNull (ed, "EndpointAddress10");
-#if !__WATCHOS__ // FIXME: this needs to use a different type than OpenTK.Quaternion, so that the test can run on WatchOS as wells
var q = new OpenTK.Quaternion ();
Assert.Null (q.GetType ().GetProperty ("XYZ"), "XmlIgnore");
// should be null if application is linked (won't be if "Don't link" is used)
-#endif // !__WATCHOS__
}
#endif // !NET
@@ -328,7 +322,7 @@ public void Bug1443_Linq_Aot ()
// should not throw an ExecutionEngineException on devices
}
-#if !__TVOS__ && !__WATCHOS__ && !__MACOS__
+#if !__TVOS__ && !__MACOS__
[Test]
// http://bugzilla.xamarin.com/show_bug.cgi?id=1516
public void Bug1516_Appearance_Linker ()
@@ -445,7 +439,7 @@ public void AsQueryable_3028 ()
Assert.That (f, Is.EqualTo ("hi"), "f");
}
-#if !__WATCHOS__ && !__MACCATALYST__
+#if !__MACCATALYST__
#if !NET // OpenTK-1.0.dll is not supported yet
[Test]
public void OpenTk_3049 ()
@@ -473,7 +467,7 @@ public void OpenTk_Preserved ()
Assert.NotNull (core, "ES20/Core");
}
#endif // !NET
-#endif // !__WATCHOS__ && !__MACCATALYST__
+#endif // !__MACCATALYST__
[Test]
public void XElement_3137 ()
@@ -495,7 +489,7 @@ public void XElement_3137 ()
}
}
-#if !__TVOS__ && !__WATCHOS__ && !__MACOS__
+#if !__TVOS__ && !__MACOS__
[Test]
public void Modal_3489 ()
{
@@ -509,7 +503,7 @@ public void Modal_3489 ()
a.DismissModalViewController (true); //error
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !__MACOS__
[Test]
public void Parse_3677 ()
@@ -589,7 +583,7 @@ public static HardwareVersion Version {
else if (hardwareStr == "iPod4,1")
ret = HardwareVersion.iPod3G;
else if (hardwareStr == "i386" || hardwareStr == "x86_64") {
-#if __WATCHOS__ || __MACOS__
+#if __MACOS__
ret = HardwareVersion.Unknown;
#else
if (UIDevice.CurrentDevice.Model.Contains ("iPhone"))
@@ -667,9 +661,6 @@ public void NetworkInterface_4631 ()
[Test]
public void WebClient_SSL_Leak ()
{
-#if __WATCHOS__
- Assert.Ignore ("WatchOS doesn't support BSD sockets, which our network stack currently requires.");
-#endif
var exceptions = new List ();
WebClient wc = new WebClient ();
foreach (var url in NetworkResources.HttpsUrls) {
@@ -687,7 +678,7 @@ public void WebClient_SSL_Leak ()
Assert.That (exceptions, Is.Empty, "At least one url should work");
}
-#if !__TVOS__ && !__WATCHOS__ && !__MACOS__
+#if !__TVOS__ && !__MACOS__
[Test]
public void WebProxy_Leak ()
{
@@ -698,17 +689,10 @@ public void WebProxy_Leak ()
Assert.NotNull (CFNetwork.GetSystemProxySettings (), "should not leak");
#endif
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !__MACOS__
[Test]
// https://bugzilla.novell.com/show_bug.cgi?id=650402
-#if __WATCHOS__
- // Fails with:
- // System.ExecutionEngineException : Attempting to JIT compile method 'System.Data.DataColumn:set_Expression (string)' while running in aot-only mode.
- // because DataColumn.set_Expression uses filter clauses, which we don't support with bitcode:
- // LLVM failed for 'DataColumn.set_Expression': non-finally/catch/fault clause.
- [Ignore ("https://bugzilla.xamarin.com/show_bug.cgi?id=59987")]
-#endif
public void ForeignKey_650402 ()
{
DataSet data = new DataSet ();
@@ -1040,16 +1024,14 @@ void SpecialFolderImpl ()
if (TestRuntime.IsDevice) {
if (isExtension)
Assert.That (path, Does.StartWith ("/private/var/mobile/Containers/Data/PluginKitPlugin/"), "Containers-ios8");
-#if !__WATCHOS__
else if (UIDevice.CurrentDevice.CheckSystemVersion (8, 0))
Assert.That (path, Does.StartWith ("/private/var/mobile/Containers/Data/Application/"), "Containers-ios8");
-#endif
else
Assert.That (path, Does.StartWith ("/private/var/mobile/Applications/"), "pre-Containers");
}
#endif // __MACOS__
-#if !__WATCHOS__ && !__MACOS__
+#if !__MACOS__
// tvOS (device sandbox) is more restrictive than iOS as it limit access to more
// directories, mostly because they are not guaranteed to be preserved between executions
bool tvos = UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.TV;
@@ -1115,7 +1097,7 @@ void SpecialFolderImpl ()
#endif
}
-#if !__WATCHOS__ && !__MACOS__
+#if !__MACOS__
[Test]
public void Events ()
{
@@ -1139,7 +1121,7 @@ public void Events ()
Assert.NotNull (fi, "editingEnded/scrollview");
}
}
-#endif // !__WATCHOS__ && !__MACOS__
+#endif // !__MACOS__
#if !NET
[Test]
@@ -1154,7 +1136,7 @@ public void SecurityDeclaration ()
}
#endif
-#if !__WATCHOS__ && !__MACOS__
+#if !__MACOS__
[Test]
public void UIButtonSubclass ()
{
@@ -1176,7 +1158,7 @@ public void UIButtonSubclass ()
}
}
-#endif // !__WATCHOS__ && !__MACOS__
+#endif // !__MACOS__
#if NET
static void CheckILLinkStubbedMethod (MethodInfo m)
@@ -1242,7 +1224,6 @@ public void TraceListeners36255 ()
Assert.NotNull (Trace.Listeners, "C6 had a SecurityPermission call");
}
-#if !__WATCHOS__
#if !NET // This test requires Mono.Security.dll, which .NET 5+ doesn't have
[Test]
public void TlsProvider_Apple ()
@@ -1270,12 +1251,11 @@ public void Github5024 ()
}
}
#endif // !__MACOS__
-#endif // !__WATCHOS__
[Test]
public void OldTlsProvider_LinkedOut ()
{
- // make test work for classic (monotouch) and unified (iOS, tvOS and watchOS)
+ // make test work for classic (monotouch) and unified (iOS, tvOS)
var fqn = typeof (NSObject).AssemblyQualifiedName.Replace ("Foundation.NSObject", "Security.Tls.OldTlsProvider");
Assert.Null (GetTypeHelper (fqn), "Should not be included");
}
@@ -1283,12 +1263,12 @@ public void OldTlsProvider_LinkedOut ()
[Test]
public void AppleTls_Default ()
{
- // make test work for classic (monotouch) and unified (iOS, tvOS and watchOS)
+ // make test work for classic (monotouch) and unified (iOS, tvOS)
var fqn = typeof (NSObject).AssemblyQualifiedName.Replace ("Foundation.NSObject", "Security.Tls.AppleTlsProvider");
Assert.Null (GetTypeHelper (fqn), "Should be included");
}
-#if !__WATCHOS__ && !__TVOS__ // WebKit isn't available in tvOS or watchOS
+#if !__TVOS__ // WebKit isn't available in tvOS
[Test]
// https://bugzilla.xamarin.com/show_bug.cgi?id=59247
public void WebKit_NSProxy ()
@@ -1299,7 +1279,7 @@ public void WebKit_NSProxy ()
var fqn = typeof (NSObject).AssemblyQualifiedName.Replace ("Foundation.NSObject", "Foundation.NSProxy");
Assert.NotNull (GetTypeHelper (fqn), fqn);
}
-#endif // !__WATCHOS__ && !__TVOS__
+#endif // !__TVOS__
// Fools linker not to keep the type by using it in test check
static Type GetTypeHelper (string name)
@@ -1312,7 +1292,6 @@ static Type GetTypeHelper (string name, bool throwOnError)
return Type.GetType (name, throwOnError);
}
-#if !__WATCHOS__
[Test]
// https://github.com/xamarin/xamarin-macios/issues/6711
public void PreserveINativeObject ()
@@ -1322,7 +1301,6 @@ public void PreserveINativeObject ()
// and we check that it still implement INativeObject
Assert.IsNotNull (mta.GetInterface ("ObjCRuntime.INativeObject"), "INativeObject");
}
-#endif
[Test]
// https://github.com/xamarin/xamarin-macios/issues/6346
diff --git a/tests/linker/ios/link sdk/OptimizeGeneratedCodeTest.cs b/tests/linker/ios/link sdk/OptimizeGeneratedCodeTest.cs
index cbfc9d9d79be..12856dd8953f 100644
--- a/tests/linker/ios/link sdk/OptimizeGeneratedCodeTest.cs
+++ b/tests/linker/ios/link sdk/OptimizeGeneratedCodeTest.cs
@@ -26,7 +26,7 @@ namespace Linker.Shared {
partial class NotPreserved {
-#if !__WATCHOS__ && !__MACOS__
+#if !__MACOS__
public void Bug11452 ()
{
var button = new UIButton ();
@@ -37,11 +37,11 @@ public void Bug11452 ()
}
};
}
-#endif // !__WATCHOS__
+#endif // !__MACOS__
}
class NSNotPreserved : NSObject {
-#if !__WATCHOS__ && !__MACOS__
+#if !__MACOS__
public void Bug11452 ()
{
var button = new UIButton ();
@@ -52,7 +52,7 @@ public void Bug11452 ()
}
};
}
-#endif // !__WATCHOS__
+#endif // !__MACOS__
}
[TestFixture]
@@ -67,7 +67,7 @@ public class OptimizeGeneratedCodeTest : BaseOptimizeGeneratedCodeTest {
// it's pretty likely to crash if the IL was badly rewritten so running
// them makes me feel better ;-)
-#if !__TVOS__ && !__WATCHOS__ && !__MACCATALYST__ && !__MACOS__
+#if !__TVOS__ && !__MACCATALYST__ && !__MACOS__
[Test]
public void IsNewRefcountEnabled ()
{
@@ -107,7 +107,7 @@ public void SingleRuntimeArchDevice ()
// by "if (IsDirectBinding)" so modifying IL is a bit more tricky - so
// testing this, linked on both the simulator and on device is important
-#if !__WATCHOS__ && !__MACOS__
+#if !__MACOS__
[Test]
public void DoubleRuntimeArchDevice ()
{
@@ -116,7 +116,7 @@ public void DoubleRuntimeArchDevice ()
Assert.True (v.SizeThatFits (empty).IsEmpty, "Empty");
}
}
-#endif // !__WATCHOS__
+#endif // !__MACOS__
#if !__MACOS__
// some UIImage bindings are now decorated with [Autorelease] and that
@@ -137,7 +137,7 @@ public void Autorelease ()
}
#endif // !__MACOS__
-#if !__WATCHOS__ && !__MACOS__
+#if !__MACOS__
[Test]
public void AnonymousDelegate ()
{
@@ -149,7 +149,7 @@ public void AnonymousDelegate ()
ns.Bug11452 ();
}
}
-#endif // !__WATCHOS__
+#endif // !__MACOS__
[Test]
public void FinallyTest ()
diff --git a/tests/linker/ios/link sdk/PclTest.cs b/tests/linker/ios/link sdk/PclTest.cs
index 16e2f92a780e..f694c22f687a 100644
--- a/tests/linker/ios/link sdk/PclTest.cs
+++ b/tests/linker/ios/link sdk/PclTest.cs
@@ -27,9 +27,6 @@ public void Corlib ()
[Test]
public void System ()
{
-#if __WATCHOS__
- Assert.Ignore ("WatchOS doesn't support BSD sockets, which our network stack currently requires.");
-#endif
const string url = "http://www.google.com";
Uri uri = new Uri (url);
diff --git a/tests/monotouch-test/AVFoundation/AVAssetDownloadUrlSessionTests.cs b/tests/monotouch-test/AVFoundation/AVAssetDownloadUrlSessionTests.cs
index 0a352033a288..31060fb87273 100644
--- a/tests/monotouch-test/AVFoundation/AVAssetDownloadUrlSessionTests.cs
+++ b/tests/monotouch-test/AVFoundation/AVAssetDownloadUrlSessionTests.cs
@@ -8,7 +8,7 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !__TVOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using ObjCRuntime;
@@ -75,5 +75,4 @@ public void CreateSessionTest ()
// }
}
}
-
-#endif // !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/AVFoundation/AVAssetImageGeneratorTest.cs b/tests/monotouch-test/AVFoundation/AVAssetImageGeneratorTest.cs
index 16f7fa4e0022..b091166aee6b 100644
--- a/tests/monotouch-test/AVFoundation/AVAssetImageGeneratorTest.cs
+++ b/tests/monotouch-test/AVFoundation/AVAssetImageGeneratorTest.cs
@@ -7,8 +7,6 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.IO;
using System.Threading;
@@ -124,5 +122,3 @@ void handler (CMTime requestedTime, IntPtr imageRef, CMTime actualTime, AVAssetI
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/AVFoundation/AVAudioSinkNodeTest.cs b/tests/monotouch-test/AVFoundation/AVAudioSinkNodeTest.cs
index 6aa8606fb992..d79c726d69c9 100644
--- a/tests/monotouch-test/AVFoundation/AVAudioSinkNodeTest.cs
+++ b/tests/monotouch-test/AVFoundation/AVAudioSinkNodeTest.cs
@@ -15,15 +15,6 @@ namespace MonoTouchFixtures.AVFoundation {
[TestFixture]
[Preserve (AllMembers = true)]
public class AVAudioSinkNodeTest {
-#if __WATCHOS__
- [SetUp]
- public void SetUp ()
- {
- // Looks like this test broke in the watchOS simulator, so just skip it there.
- TestRuntime.AssertNotSimulator ();
- }
-#endif
-
[Test]
public void SinkNodeCallback ()
{
@@ -76,14 +67,12 @@ void SinkNodeCallbackTest (ManualResetEvent callbackEvent, Func
session.SetCategory (AVAudioSessionCategory.PlayAndRecord, AVAudioSessionCategoryOptions.DefaultToSpeaker, out var categoryError);
Assert.IsNull (categoryError, "Category Error");
-#if !__WATCHOS__
session.SetPreferredSampleRate (48000, out var sampleRateError);
Assert.IsNull (sampleRateError, "Sample Rate Error");
if (session.MaximumInputNumberOfChannels == 0)
Assert.Ignore ("The current system doesn't support any input channels");
session.SetPreferredInputNumberOfChannels (1, out var inputChannelCountError);
Assert.IsNull (inputChannelCountError, "Input Channel Count Error");
-#endif // !__WATCHOS__
session.SetActive (true);
#endif // __MACOS__
diff --git a/tests/monotouch-test/AVFoundation/AVAudioSourceNodeTest.cs b/tests/monotouch-test/AVFoundation/AVAudioSourceNodeTest.cs
index ad200ed45fe4..66ce311399f3 100644
--- a/tests/monotouch-test/AVFoundation/AVAudioSourceNodeTest.cs
+++ b/tests/monotouch-test/AVFoundation/AVAudioSourceNodeTest.cs
@@ -16,15 +16,6 @@ namespace MonoTouchFixtures.AVFoundation {
[TestFixture]
[Preserve (AllMembers = true)]
public class AVAudioSourceNodeTest {
-#if __WATCHOS__
- [SetUp]
- public void SetUp ()
- {
- // Looks like this test broke in the watchOS simulator, so just skip it there.
- TestRuntime.AssertNotSimulator ();
- }
-#endif
-
[Test]
public void SourceNodeCallback ()
{
@@ -80,14 +71,12 @@ void SourceNodeCallbackTest (TaskCompletionSource callbackEvent, Func Assert.IsNotNull (CAFrameRateRange.Default, "Default");
}
}
-#endif
diff --git a/tests/monotouch-test/CoreAnimation/CATextLayerTests.cs b/tests/monotouch-test/CoreAnimation/CATextLayerTests.cs
index 9e26ca91eff4..f6d96235ef86 100644
--- a/tests/monotouch-test/CoreAnimation/CATextLayerTests.cs
+++ b/tests/monotouch-test/CoreAnimation/CATextLayerTests.cs
@@ -8,8 +8,6 @@
// Copyright 2017 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using NUnit.Framework;
@@ -72,4 +70,3 @@ public void CATextLayerAlignmentModeTest ()
}
}
}
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreAnimation/EmitterBehaviorTest.cs b/tests/monotouch-test/CoreAnimation/EmitterBehaviorTest.cs
deleted file mode 100644
index 9f73759fce36..000000000000
--- a/tests/monotouch-test/CoreAnimation/EmitterBehaviorTest.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-//
-// Unit tests for CAEmitterBehavior
-//
-// Authors:
-// Sebastien Pouliot
-//
-// Copyright 2013 Xamarin Inc. All rights reserved.
-//
-
-#if !__WATCHOS__ && !NET
-
-using Foundation;
-using CoreAnimation;
-using ObjCRuntime;
-using NUnit.Framework;
-using Xamarin.Utils;
-
-namespace MonoTouchFixtures.CoreAnimation {
-
- [Ignore ("CAEmitterBehavior is now being rejected by Apple")]
- // kept around in case it gets ressurected since the radar is not closed
- // https://trello.com/c/J8BDDUV9/86-33590997-coreanimation-quartzcore-api-removals
- [TestFixture]
- [Preserve (AllMembers = true)]
- public class EmitterBehaviorTest {
-
- [Test]
- public void AllBehaviorTypes ()
- {
- TestRuntime.AssertSystemVersion (ApplePlatform.iOS, 7, 0, throwIfOtherPlatform: false);
- TestRuntime.AssertSystemVersion (ApplePlatform.MacOSX, 10, 9, throwIfOtherPlatform: false);
-
- // turns out there's 2 undocumented behaviors: colorOverDistance and valueOverDistance
- foreach (var type in CAEmitterBehavior.BehaviorTypes) {
- using (var eb = CAEmitterBehavior.Create (type)) {
- Assert.True (eb.Enabled, type + ".Enabled");
- Assert.Null (eb.Name, type + ".Name");
- Assert.That (eb.Type, Is.EqualTo ((string) type), type + ".Type");
- }
- }
- }
-
- [Test]
- public void ColorOverDistance ()
- {
- TestRuntime.AssertSystemVersion (ApplePlatform.iOS, 7, 0, throwIfOtherPlatform: false);
- TestRuntime.AssertSystemVersion (ApplePlatform.MacOSX, 10, 9, throwIfOtherPlatform: false);
-
- // undocumented - we'll track it over the betas :)
- using (var eb = CAEmitterBehavior.Create ((NSString) "colorOverDistance")) {
- Assert.True (eb.Enabled, "Enabled.1");
- eb.Enabled = false;
- Assert.False (eb.Enabled, "Enabled.2");
-
- Assert.Null (eb.Name, "Name.1");
- eb.Name = "Xamarin";
- Assert.That (eb.Name, Is.EqualTo ("Xamarin"), "Name.2");
-
- Assert.That (eb.Type, Is.EqualTo ("colorOverDistance"), "Type");
- }
- }
-
- [Test]
- public void ValueOverDistance ()
- {
- TestRuntime.AssertSystemVersion (ApplePlatform.iOS, 7, 0, throwIfOtherPlatform: false);
- TestRuntime.AssertSystemVersion (ApplePlatform.MacOSX, 10, 9, throwIfOtherPlatform: false);
-
- // undocumented - we'll track it over the betas :)
- using (var eb = CAEmitterBehavior.Create ((NSString) "valueOverDistance")) {
- Assert.True (eb.Enabled, "Enabled.1");
- eb.Enabled = false;
- Assert.False (eb.Enabled, "Enabled.2");
-
- Assert.Null (eb.Name, "Name.1");
- eb.Name = "Xamarin";
- Assert.That (eb.Name, Is.EqualTo ("Xamarin"), "Name.2");
-
- Assert.That (eb.Type, Is.EqualTo ("valueOverDistance"), "Type");
- }
- }
- }
-}
-
-#endif // !__WATCHOS__ && !NET
diff --git a/tests/monotouch-test/CoreAnimation/EmitterCellTest.cs b/tests/monotouch-test/CoreAnimation/EmitterCellTest.cs
index cde23fb24463..326e6812147e 100644
--- a/tests/monotouch-test/CoreAnimation/EmitterCellTest.cs
+++ b/tests/monotouch-test/CoreAnimation/EmitterCellTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using CoreAnimation;
@@ -37,5 +35,3 @@ public void XEmitterCellTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreAnimation/LayerTest.cs b/tests/monotouch-test/CoreAnimation/LayerTest.cs
index ff5171a1fd12..84ae35283251 100644
--- a/tests/monotouch-test/CoreAnimation/LayerTest.cs
+++ b/tests/monotouch-test/CoreAnimation/LayerTest.cs
@@ -7,8 +7,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Diagnostics;
using System.Linq;
@@ -196,5 +194,3 @@ public void TestCALayerDelegateDispose ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreAnimation/MediaTimingFunctionTest.cs b/tests/monotouch-test/CoreAnimation/MediaTimingFunctionTest.cs
index 82f977ffde39..e1fa6340d0e2 100644
--- a/tests/monotouch-test/CoreAnimation/MediaTimingFunctionTest.cs
+++ b/tests/monotouch-test/CoreAnimation/MediaTimingFunctionTest.cs
@@ -7,8 +7,6 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using CoreGraphics;
using Foundation;
@@ -95,5 +93,3 @@ public void Linear ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreAnimation/ShapeLayerTest.cs b/tests/monotouch-test/CoreAnimation/ShapeLayerTest.cs
index 09d388c4177e..59462c9afbf0 100644
--- a/tests/monotouch-test/CoreAnimation/ShapeLayerTest.cs
+++ b/tests/monotouch-test/CoreAnimation/ShapeLayerTest.cs
@@ -7,8 +7,6 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using Foundation;
using CoreAnimation;
using CoreGraphics;
@@ -49,5 +47,3 @@ public void NullableProperties ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreAnimation/TransactionTest.cs b/tests/monotouch-test/CoreAnimation/TransactionTest.cs
index 947b2076e49e..5375f542727c 100644
--- a/tests/monotouch-test/CoreAnimation/TransactionTest.cs
+++ b/tests/monotouch-test/CoreAnimation/TransactionTest.cs
@@ -7,8 +7,6 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using CoreAnimation;
using Foundation;
using NUnit.Framework;
@@ -36,5 +34,3 @@ public void AnimationTimingFunction_Null ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreAudioKit/AUViewController.cs b/tests/monotouch-test/CoreAudioKit/AUViewController.cs
index 3d9194dae42f..6462dac7123b 100644
--- a/tests/monotouch-test/CoreAudioKit/AUViewController.cs
+++ b/tests/monotouch-test/CoreAudioKit/AUViewController.cs
@@ -7,7 +7,7 @@
// Copyright 2016 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !__TVOS__
+#if !__TVOS__
using Foundation;
using CoreAudioKit;
@@ -38,4 +38,4 @@ public void Ctor ()
}
}
-#endif // !__WATCHOS__ && !__TVOS__
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/CoreBluetooth/CentralManagerTest.cs b/tests/monotouch-test/CoreBluetooth/CentralManagerTest.cs
index 283fac00a4ae..ca7bafbe8a83 100644
--- a/tests/monotouch-test/CoreBluetooth/CentralManagerTest.cs
+++ b/tests/monotouch-test/CoreBluetooth/CentralManagerTest.cs
@@ -7,7 +7,7 @@
// Copyright 2012-2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !__MACCATALYST__
+#if !__MACCATALYST__
using System;
using System.Threading;
@@ -114,4 +114,4 @@ public void RetrievePeripherals ()
}
}
-#endif // !__WATCHOS__ && !__MACCATALYST__
+#endif // !__MACCATALYST__
diff --git a/tests/monotouch-test/CoreBluetooth/ErrorTest.cs b/tests/monotouch-test/CoreBluetooth/ErrorTest.cs
index 62cc797048d5..0914642e8065 100644
--- a/tests/monotouch-test/CoreBluetooth/ErrorTest.cs
+++ b/tests/monotouch-test/CoreBluetooth/ErrorTest.cs
@@ -7,8 +7,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using Foundation;
using CoreBluetooth;
using NUnit.Framework;
@@ -32,5 +30,3 @@ public void AttErrorDomain ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreBluetooth/PeerTest.cs b/tests/monotouch-test/CoreBluetooth/PeerTest.cs
index a15b195706a8..d610910fc585 100644
--- a/tests/monotouch-test/CoreBluetooth/PeerTest.cs
+++ b/tests/monotouch-test/CoreBluetooth/PeerTest.cs
@@ -7,8 +7,6 @@
// Copyright 2014 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using Foundation;
using CoreBluetooth;
using ObjCRuntime;
@@ -34,5 +32,3 @@ public void Constructor ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreBluetooth/PeripheralScanningOptionsTest.cs b/tests/monotouch-test/CoreBluetooth/PeripheralScanningOptionsTest.cs
index 7702b104c296..4d658d1aec7e 100644
--- a/tests/monotouch-test/CoreBluetooth/PeripheralScanningOptionsTest.cs
+++ b/tests/monotouch-test/CoreBluetooth/PeripheralScanningOptionsTest.cs
@@ -7,8 +7,6 @@
// Copyright 2014 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using CoreBluetooth;
@@ -50,5 +48,3 @@ public void AllowDuplicatesKey_False ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreBluetooth/UuidTest.cs b/tests/monotouch-test/CoreBluetooth/UuidTest.cs
index f349e2874024..11039c015f57 100644
--- a/tests/monotouch-test/CoreBluetooth/UuidTest.cs
+++ b/tests/monotouch-test/CoreBluetooth/UuidTest.cs
@@ -8,8 +8,6 @@
// Copyright 2012-2014 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using CoreBluetooth;
@@ -184,5 +182,3 @@ public void Equality_PartialsOfDifferentSizeNotEqual ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreFoundation/DispatchTests.cs b/tests/monotouch-test/CoreFoundation/DispatchTests.cs
index 59dafcd24d41..f4ce978fc9ef 100644
--- a/tests/monotouch-test/CoreFoundation/DispatchTests.cs
+++ b/tests/monotouch-test/CoreFoundation/DispatchTests.cs
@@ -156,7 +156,7 @@ public void Default ()
#if __IOS__
if (TestRuntime.CheckSystemVersion (ApplePlatform.iOS, 8, 0))
qname = "com.apple.root.default-qos";
-#elif __WATCHOS__ || __TVOS__
+#elif __TVOS__
qname = "com.apple.root.default-qos";
#elif __MACOS__
if (TestRuntime.CheckSystemVersion (ApplePlatform.MacOSX, 10, 10))
diff --git a/tests/monotouch-test/CoreFoundation/NetworkTest.cs b/tests/monotouch-test/CoreFoundation/NetworkTest.cs
index 2bb86721fbce..7acc0de149a7 100644
--- a/tests/monotouch-test/CoreFoundation/NetworkTest.cs
+++ b/tests/monotouch-test/CoreFoundation/NetworkTest.cs
@@ -15,9 +15,7 @@
using CoreFoundation;
using NUnit.Framework;
// Mac tries to use CFNetwork Namespace instead of Class for calls without this:
-#if !__WATCHOS__
using PlatformCFNetwork = CoreFoundation.CFNetwork;
-#endif
using MonoTests.System.Net.Http;
@@ -28,12 +26,12 @@ namespace MonoTouchFixtures.CoreFoundation {
public class NetworkTest {
const string bug4715_url = "http://192.168.1.94:8080/telehealth/Services/External/Recipient.svc/List?OrgId={FDB521B6-1ADA-40D3-8AE9-0F59B9F2DB11}&Ticket=84DDB35C66B7EEF59C8B31D072A71C01E2F81158E98827C983FAF18C8B9D261A2D75680BFD6050B975E9F77EEEF1E9B235E631B957BC31D6C84CBDA6219DB11B2BC9F6BD39546158683F67A86947B034326A48B6E9F50C77D9A1578F50F26C861E514D1CE4721D011F037A1D2B0C91B7D60736B1021B7AC1A387BE28256794C7CF907B57CF2CA30F5D5D26CDAB55A986EDD8D00B9A6BD25FBADA1C583D6A13326851A92137F35DC69D4C565519E95365E6CA37FB60A8480B2297B106CE6DF9AC2A082B90D2755C2F4D73074CAFE1030512FC3A35";
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
CFProxySettings settings = PlatformCFNetwork.GetSystemProxySettings ();
#endif
Uri uri = new Uri (bug4715_url);
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
[Test]
public void WebProxy ()
{
diff --git a/tests/monotouch-test/CoreFoundation/ProxyTest.cs b/tests/monotouch-test/CoreFoundation/ProxyTest.cs
index d3dc852811fa..8d40043d0c19 100644
--- a/tests/monotouch-test/CoreFoundation/ProxyTest.cs
+++ b/tests/monotouch-test/CoreFoundation/ProxyTest.cs
@@ -41,7 +41,7 @@ public void Fields ()
}
}
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
HttpListener listener;
int port;
Thread listener_thread;
diff --git a/tests/monotouch-test/CoreFoundation/UrlTest.cs b/tests/monotouch-test/CoreFoundation/UrlTest.cs
index 0d8007bad504..a1a8080e966a 100644
--- a/tests/monotouch-test/CoreFoundation/UrlTest.cs
+++ b/tests/monotouch-test/CoreFoundation/UrlTest.cs
@@ -60,7 +60,7 @@ public void ToString_ ()
#if __IOS__
if (TestRuntime.CheckSystemVersion (ApplePlatform.iOS, 7, 0))
value = "file:///";
-#elif __WATCHOS__ || __TVOS__
+#elif __TVOS__
value = "file:///";
#elif __MACOS__
if (TestRuntime.CheckSystemVersion (ApplePlatform.MacOSX, 10, 9))
diff --git a/tests/monotouch-test/CoreGraphics/CGImagePropertiesGPSTest.cs b/tests/monotouch-test/CoreGraphics/CGImagePropertiesGPSTest.cs
index bbae02683610..ecdbf28fc7f2 100644
--- a/tests/monotouch-test/CoreGraphics/CGImagePropertiesGPSTest.cs
+++ b/tests/monotouch-test/CoreGraphics/CGImagePropertiesGPSTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
#if MONOMAC
@@ -36,5 +34,3 @@ public void LongitudeRefAndLatitudeRefTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreGraphics/FunctionTest.cs b/tests/monotouch-test/CoreGraphics/FunctionTest.cs
index b16a7726935d..7dfbe854e88a 100644
--- a/tests/monotouch-test/CoreGraphics/FunctionTest.cs
+++ b/tests/monotouch-test/CoreGraphics/FunctionTest.cs
@@ -20,7 +20,6 @@ namespace MonoTouchFixtures.CoreGraphics {
[TestFixture]
[Preserve (AllMembers = true)]
public class FunctionTest {
-#if !__WATCHOS__ // FIXME: It doesn't look like this test needs to use UIKit, so it might be possible to rewrite it to run on WatchOS as well.
[Test]
public void Test ()
{
@@ -112,8 +111,6 @@ public CGPoint? Point {
set { SetCGPointValue (PointKey, value); }
}
}
-
-#endif // !__WATCHOS__
}
}
#endif
diff --git a/tests/monotouch-test/CoreImage/CIKernelTests.cs b/tests/monotouch-test/CoreImage/CIKernelTests.cs
index de3e9a057889..1f1445cf550d 100644
--- a/tests/monotouch-test/CoreImage/CIKernelTests.cs
+++ b/tests/monotouch-test/CoreImage/CIKernelTests.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using System.Threading;
@@ -186,5 +184,3 @@ public void CIKernel_TestFromPrograms ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreImage/CoreContextTest.cs b/tests/monotouch-test/CoreImage/CoreContextTest.cs
index 52a89d02b206..6a8490215c6b 100644
--- a/tests/monotouch-test/CoreImage/CoreContextTest.cs
+++ b/tests/monotouch-test/CoreImage/CoreContextTest.cs
@@ -7,8 +7,6 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Drawing;
@@ -93,5 +91,3 @@ public void Render_Colorspace ()
#endif // HAS_OPENGLES
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreImage/CoreVectorTest.cs b/tests/monotouch-test/CoreImage/CoreVectorTest.cs
index 0c918f809a26..a140b24b5f9d 100644
--- a/tests/monotouch-test/CoreImage/CoreVectorTest.cs
+++ b/tests/monotouch-test/CoreImage/CoreVectorTest.cs
@@ -7,8 +7,6 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -66,5 +64,3 @@ public void FromValues ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreImage/DetectorTest.cs b/tests/monotouch-test/CoreImage/DetectorTest.cs
index aee5d09aca14..474d39009450 100644
--- a/tests/monotouch-test/CoreImage/DetectorTest.cs
+++ b/tests/monotouch-test/CoreImage/DetectorTest.cs
@@ -8,8 +8,6 @@
// Copyright 2012-2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using Foundation;
using CoreImage;
using CoreGraphics;
@@ -52,5 +50,3 @@ public void EmptyOptions ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreImage/FilterTest.cs b/tests/monotouch-test/CoreImage/FilterTest.cs
index ab543855b967..8f328f289b21 100644
--- a/tests/monotouch-test/CoreImage/FilterTest.cs
+++ b/tests/monotouch-test/CoreImage/FilterTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013-2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.IO;
using System.Runtime.InteropServices;
@@ -154,5 +152,3 @@ public void CIVectorArray ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreImage/ImageInitializationOptionsTest.cs b/tests/monotouch-test/CoreImage/ImageInitializationOptionsTest.cs
index a86ff2394b6e..9e1915204c3f 100644
--- a/tests/monotouch-test/CoreImage/ImageInitializationOptionsTest.cs
+++ b/tests/monotouch-test/CoreImage/ImageInitializationOptionsTest.cs
@@ -7,8 +7,6 @@
// Copyright 2014 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using CoreGraphics;
using CoreImage;
@@ -73,5 +71,3 @@ public void WithMetadataProperties ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreImage/ImageTest.cs b/tests/monotouch-test/CoreImage/ImageTest.cs
index f4806321d6ed..522201ffa67e 100644
--- a/tests/monotouch-test/CoreImage/ImageTest.cs
+++ b/tests/monotouch-test/CoreImage/ImageTest.cs
@@ -7,8 +7,6 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.IO;
@@ -108,5 +106,3 @@ public void CIImageColorSpaceTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreLocation/BeaconRegionTest.cs b/tests/monotouch-test/CoreLocation/BeaconRegionTest.cs
index 0428bd23a14c..680df1f3d464 100644
--- a/tests/monotouch-test/CoreLocation/BeaconRegionTest.cs
+++ b/tests/monotouch-test/CoreLocation/BeaconRegionTest.cs
@@ -7,7 +7,7 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using Foundation;
using UIKit;
@@ -79,4 +79,4 @@ public void Ctor4 ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/CoreMedia/CMTimeTests.cs b/tests/monotouch-test/CoreMedia/CMTimeTests.cs
index 26ec65851e51..b5aa73a5b473 100644
--- a/tests/monotouch-test/CoreMedia/CMTimeTests.cs
+++ b/tests/monotouch-test/CoreMedia/CMTimeTests.cs
@@ -155,7 +155,6 @@ void CompareCMTimeRange (CMTimeRange first, CMTimeRange second, string descripti
Assert.AreEqual (first.Start, second.Start, "CompareCMTimeRange - start - " + description);
}
-#if !__WATCHOS__
[Test]
public void CMTimeStrongDictionary ()
{
@@ -174,6 +173,5 @@ public CMTime? Time {
set { SetCMTimeValue (TimeKey, value); }
}
}
-#endif // !__WATCHOS__
}
}
diff --git a/tests/monotouch-test/CoreMedia/CMTimebaseTest.cs b/tests/monotouch-test/CoreMedia/CMTimebaseTest.cs
index 6f575d55a135..8e9c12e9768c 100644
--- a/tests/monotouch-test/CoreMedia/CMTimebaseTest.cs
+++ b/tests/monotouch-test/CoreMedia/CMTimebaseTest.cs
@@ -18,7 +18,6 @@ namespace MonoTouchFixtures.CoreMedia {
[TestFixture]
[Preserve (AllMembers = true)]
public class CMTimebaseTest {
-#if !__WATCHOS__
[Test]
public void DefaultValues ()
{
@@ -38,7 +37,6 @@ public void DefaultValues ()
Assert.Null (tb.GetMasterTimebase (), "GetMasterTimebase");
}
}
-#endif
[Test]
public void SetAnchorTime ()
@@ -67,7 +65,6 @@ public void AddTimer ()
}
}
-#if !__WATCHOS__
[Test]
public void GetMasterTests ()
{
@@ -87,7 +84,6 @@ public void GetMasterTests ()
AssertNullOrValidHandle (masterUlt, "GetUltimateMasterClock");
}
}
-#endif
[Test]
public void CopyMasterTests ()
diff --git a/tests/monotouch-test/CoreMedia/SampleBufferTest.cs b/tests/monotouch-test/CoreMedia/SampleBufferTest.cs
index 92be5db5737c..fb2cb1d268d4 100644
--- a/tests/monotouch-test/CoreMedia/SampleBufferTest.cs
+++ b/tests/monotouch-test/CoreMedia/SampleBufferTest.cs
@@ -74,25 +74,6 @@ public void CreateReady ()
}
}
-#if !NET && !__WATCHOS__
- [Test]
- public void CreateReadyWithImageBuffer_ArrayValidations ()
- {
- TestRuntime.AssertSystemVersion (ApplePlatform.iOS, 8, 0, throwIfOtherPlatform: false);
- TestRuntime.AssertSystemVersion (ApplePlatform.MacOSX, 10, 10, throwIfOtherPlatform: false);
-
- CMFormatDescriptionError fde;
- using (var pixelBuffer = new CVPixelBuffer (20, 10, CVPixelFormatType.CV24RGB))
- using (var desc = CMVideoFormatDescription.CreateForImageBuffer (pixelBuffer, out fde)) {
- CMSampleBufferError sbe;
- Assert.Throws (() => CMSampleBuffer.CreateReadyWithImageBuffer (pixelBuffer, desc, null, out sbe), "null");
-
- var stia = new CMSampleTimingInfo [0];
- Assert.Throws (() => CMSampleBuffer.CreateReadyWithImageBuffer (pixelBuffer, desc, stia, out sbe), "empty");
- }
- }
-#endif
-
[Test]
public void CreateReadyWithImageBuffer ()
{
diff --git a/tests/monotouch-test/CoreMidi/Midi2DeviceManufacturerTest.cs b/tests/monotouch-test/CoreMidi/Midi2DeviceManufacturerTest.cs
index 2c0fc4a208e0..99965d2215b4 100644
--- a/tests/monotouch-test/CoreMidi/Midi2DeviceManufacturerTest.cs
+++ b/tests/monotouch-test/CoreMidi/Midi2DeviceManufacturerTest.cs
@@ -2,7 +2,7 @@
// Unit tests for Midi2DeviceManufacturer
//
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using Foundation;
using CoreMidi;
diff --git a/tests/monotouch-test/CoreMidi/Midi2DeviceRevisionLevelTest.cs b/tests/monotouch-test/CoreMidi/Midi2DeviceRevisionLevelTest.cs
index b3e1bb4905d0..fd8e2f3b1cc1 100644
--- a/tests/monotouch-test/CoreMidi/Midi2DeviceRevisionLevelTest.cs
+++ b/tests/monotouch-test/CoreMidi/Midi2DeviceRevisionLevelTest.cs
@@ -2,7 +2,7 @@
// Unit tests for Midi2DeviceRevisionLevel
//
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using Foundation;
using CoreMidi;
diff --git a/tests/monotouch-test/CoreMidi/MidiCIProfileIdTest.cs b/tests/monotouch-test/CoreMidi/MidiCIProfileIdTest.cs
index 120a30721c3b..b99c08ee70cd 100644
--- a/tests/monotouch-test/CoreMidi/MidiCIProfileIdTest.cs
+++ b/tests/monotouch-test/CoreMidi/MidiCIProfileIdTest.cs
@@ -2,7 +2,7 @@
// Unit tests for MidiCIProfileId
//
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using Foundation;
using CoreMidi;
diff --git a/tests/monotouch-test/CoreMidi/MidiClientTest.cs b/tests/monotouch-test/CoreMidi/MidiClientTest.cs
index 4f6c096e5581..c6bb161b2781 100644
--- a/tests/monotouch-test/CoreMidi/MidiClientTest.cs
+++ b/tests/monotouch-test/CoreMidi/MidiClientTest.cs
@@ -7,7 +7,7 @@
// Copyright 2023 Microsoft Corp. All rights reserved.
//
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using System.Diagnostics;
diff --git a/tests/monotouch-test/CoreMidi/MidiEndpointTest.cs b/tests/monotouch-test/CoreMidi/MidiEndpointTest.cs
index aa6b61c24f3f..179cce057b57 100644
--- a/tests/monotouch-test/CoreMidi/MidiEndpointTest.cs
+++ b/tests/monotouch-test/CoreMidi/MidiEndpointTest.cs
@@ -8,7 +8,7 @@
// Copyright 2016 Xamarin Inc. All rights reserved.
//
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using Foundation;
using CoreMidi;
diff --git a/tests/monotouch-test/CoreMidi/MidiThruConnectionParamsTest.cs b/tests/monotouch-test/CoreMidi/MidiThruConnectionParamsTest.cs
index 550a01d38838..032f657440da 100644
--- a/tests/monotouch-test/CoreMidi/MidiThruConnectionParamsTest.cs
+++ b/tests/monotouch-test/CoreMidi/MidiThruConnectionParamsTest.cs
@@ -7,7 +7,7 @@
// Copyright 2024 Microsoft Corp. All rights reserved.
//
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using System.Diagnostics;
using System.Linq;
@@ -1039,4 +1039,4 @@ public void MidiValueMapTest ()
}
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/CoreMidi/MidiThruConnectionTests.cs b/tests/monotouch-test/CoreMidi/MidiThruConnectionTests.cs
index 8a3aa1051c38..76869fc32f74 100644
--- a/tests/monotouch-test/CoreMidi/MidiThruConnectionTests.cs
+++ b/tests/monotouch-test/CoreMidi/MidiThruConnectionTests.cs
@@ -8,7 +8,7 @@
// Copyright 2016 Xamarin Inc. All rights reserved.
//
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using Foundation;
@@ -147,4 +147,4 @@ public void FindTest ()
}
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/CoreServices/HttpMessageTest.cs b/tests/monotouch-test/CoreServices/HttpMessageTest.cs
index 8b308a44367c..ae770a47962f 100644
--- a/tests/monotouch-test/CoreServices/HttpMessageTest.cs
+++ b/tests/monotouch-test/CoreServices/HttpMessageTest.cs
@@ -7,8 +7,6 @@
// Copyright 2014 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Net;
#if NET
@@ -109,5 +107,3 @@ public void CreateResponseAuth ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreText/FontDescriptorTest.cs b/tests/monotouch-test/CoreText/FontDescriptorTest.cs
index 8aa2d6327300..738507f8e822 100644
--- a/tests/monotouch-test/CoreText/FontDescriptorTest.cs
+++ b/tests/monotouch-test/CoreText/FontDescriptorTest.cs
@@ -48,7 +48,7 @@ public void FromAttributes ()
}
}
-#if __TVOS__ || __WATCHOS__
+#if __TVOS__
[Ignore ("No font with ligatures are available on the platform")] // more details in https://bugzilla.xamarin.com/show_bug.cgi?id=58929
#endif
[Test]
diff --git a/tests/monotouch-test/CoreText/FontTest.cs b/tests/monotouch-test/CoreText/FontTest.cs
index 3bfa4e33506f..a94a58dd3184 100644
--- a/tests/monotouch-test/CoreText/FontTest.cs
+++ b/tests/monotouch-test/CoreText/FontTest.cs
@@ -145,7 +145,6 @@ public void DrawImage ()
Assert.AreEqual (1, provider.Count, "#Count");
}
-#if !__WATCHOS__
[Test]
public void GetTypographicBoundsForAdaptiveImageProvider ()
{
@@ -157,7 +156,6 @@ public void GetTypographicBoundsForAdaptiveImageProvider ()
Assert.AreEqual (new CGRect (0, -3.90625, 13, 16.40625), bounds, "Bounds");
Assert.AreEqual (0, provider.Count, "#Count");
}
-#endif // !__WATCHOS__
class AdaptiveImageProvider : NSObject, ICTAdaptiveImageProviding {
public int Count;
diff --git a/tests/monotouch-test/CoreText/RunTest.cs b/tests/monotouch-test/CoreText/RunTest.cs
index 31bf2082ce04..d0d240f6b24c 100644
--- a/tests/monotouch-test/CoreText/RunTest.cs
+++ b/tests/monotouch-test/CoreText/RunTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using CoreGraphics;
@@ -103,5 +101,3 @@ public void GetBaseAdvancesAndOrigins ()
}
}
}
-
-#endif
diff --git a/tests/monotouch-test/CoreVideo/CVMetalBufferCacheTest.cs b/tests/monotouch-test/CoreVideo/CVMetalBufferCacheTest.cs
index d1bbb2e8ee57..9577d1562a2f 100644
--- a/tests/monotouch-test/CoreVideo/CVMetalBufferCacheTest.cs
+++ b/tests/monotouch-test/CoreVideo/CVMetalBufferCacheTest.cs
@@ -2,8 +2,6 @@
// Unit tests for CVMetalBufferCache
//
-#if !__WATCHOS__
-
using System;
using CoreVideo;
@@ -144,4 +142,3 @@ public void FlushTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/CoreVideo/CVMetalBufferTest.cs b/tests/monotouch-test/CoreVideo/CVMetalBufferTest.cs
index aaa4694729be..46d62e8c1bc2 100644
--- a/tests/monotouch-test/CoreVideo/CVMetalBufferTest.cs
+++ b/tests/monotouch-test/CoreVideo/CVMetalBufferTest.cs
@@ -2,8 +2,6 @@
// Unit tests for CVMetalBuffer
//
-#if !__WATCHOS__
-
using System;
using System.Collections.Generic;
@@ -51,4 +49,3 @@ public void GetMetalBufferTest (CVPixelFormatType pft)
#endif // !MONOMAC
}
}
-#endif
diff --git a/tests/monotouch-test/CoreVideo/CVMetalTextureCacheTests.cs b/tests/monotouch-test/CoreVideo/CVMetalTextureCacheTests.cs
index 5bb04b09ce95..8fce9ff6dce9 100644
--- a/tests/monotouch-test/CoreVideo/CVMetalTextureCacheTests.cs
+++ b/tests/monotouch-test/CoreVideo/CVMetalTextureCacheTests.cs
@@ -7,7 +7,7 @@
// Copyright 2017 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using Foundation;
diff --git a/tests/monotouch-test/CoreVideo/CoreVideoEnumsTest.cs b/tests/monotouch-test/CoreVideo/CoreVideoEnumsTest.cs
index 94fa28dd4611..aa6036b900f9 100644
--- a/tests/monotouch-test/CoreVideo/CoreVideoEnumsTest.cs
+++ b/tests/monotouch-test/CoreVideo/CoreVideoEnumsTest.cs
@@ -7,8 +7,6 @@
// Copyright 2014 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using CoreVideo;
using Foundation;
@@ -80,5 +78,3 @@ public void PixelFormatType ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreVideo/PixelBufferAttributesTest.cs b/tests/monotouch-test/CoreVideo/PixelBufferAttributesTest.cs
index 6193c63e921d..ba64286cb629 100644
--- a/tests/monotouch-test/CoreVideo/PixelBufferAttributesTest.cs
+++ b/tests/monotouch-test/CoreVideo/PixelBufferAttributesTest.cs
@@ -6,8 +6,6 @@
// Copyright 2014 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using CoreFoundation;
using Foundation;
@@ -40,5 +38,3 @@ public void MemoryAllocator ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreVideo/PixelBufferPoolTest.cs b/tests/monotouch-test/CoreVideo/PixelBufferPoolTest.cs
index d9a87bc9d587..e3ac50ab11c6 100644
--- a/tests/monotouch-test/CoreVideo/PixelBufferPoolTest.cs
+++ b/tests/monotouch-test/CoreVideo/PixelBufferPoolTest.cs
@@ -7,8 +7,6 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Drawing;
using Foundation;
@@ -41,5 +39,3 @@ public void AllocationSettings_Threshold ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreVideo/PixelBufferTest.cs b/tests/monotouch-test/CoreVideo/PixelBufferTest.cs
index ebbde2cce9eb..7649b0709bdc 100644
--- a/tests/monotouch-test/CoreVideo/PixelBufferTest.cs
+++ b/tests/monotouch-test/CoreVideo/PixelBufferTest.cs
@@ -7,8 +7,6 @@
// Copyright 2016 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Drawing;
using System.Runtime.InteropServices;
@@ -103,5 +101,3 @@ public void CheckInvalidPtr ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/CoreVideo/PixelFormatDescriptionTest.cs b/tests/monotouch-test/CoreVideo/PixelFormatDescriptionTest.cs
index 1426de2be924..6f884c89747e 100644
--- a/tests/monotouch-test/CoreVideo/PixelFormatDescriptionTest.cs
+++ b/tests/monotouch-test/CoreVideo/PixelFormatDescriptionTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.IO;
using System.Text;
@@ -114,5 +112,3 @@ public void CV32ARGB ()
#endif // NET
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/EventKit/CalendarTest.cs b/tests/monotouch-test/EventKit/CalendarTest.cs
index 7c7340dc1f40..f160818a681b 100644
--- a/tests/monotouch-test/EventKit/CalendarTest.cs
+++ b/tests/monotouch-test/EventKit/CalendarTest.cs
@@ -50,11 +50,7 @@ public void FromEventStore ()
var c = EKCalendar.FromEventStore (store);
#endif
// defaults
-#if __WATCHOS__
- Assert.False (c.AllowsContentModifications, "AllowsContentModifications");
-#else
Assert.True (c.AllowsContentModifications, "AllowsContentModifications");
-#endif
Assert.NotNull (c.CalendarIdentifier, "CalendarIdentifier");
#if MONOMAC
Assert.Null (c.Color, "Color");
@@ -94,11 +90,7 @@ public void FromEventStoreWithReminder ()
var c = EKCalendar.Create (EKEntityType.Reminder, new EKEventStore ());
// defaults
-#if __WATCHOS__
- Assert.False (c.AllowsContentModifications, "AllowsContentModifications");
-#else
Assert.True (c.AllowsContentModifications, "AllowsContentModifications");
-#endif
Assert.NotNull (c.CalendarIdentifier, "CalendarIdentifier");
#if MONOMAC
Assert.Null (c.Color, "Color");
@@ -106,11 +98,7 @@ public void FromEventStoreWithReminder ()
Assert.Null (c.CGColor, "CGColor");
#endif
-#if __WATCHOS__
- Assert.True (c.Immutable, "Immutable");
-#else
Assert.False (c.Immutable, "Immutable");
-#endif
Assert.Null (c.Source, "Source");
Assert.False (c.Subscribed, "Subscribed");
#if MONOMAC || __MACCATALYST__
diff --git a/tests/monotouch-test/ExternalAccessory/AccessoryManagerTest.cs b/tests/monotouch-test/ExternalAccessory/AccessoryManagerTest.cs
index 3e149c6e6ad1..3332e7361d43 100644
--- a/tests/monotouch-test/ExternalAccessory/AccessoryManagerTest.cs
+++ b/tests/monotouch-test/ExternalAccessory/AccessoryManagerTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013 Xamarin Inc.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using ExternalAccessory;
@@ -50,5 +48,3 @@ public void ShowBluetoothAccessoryPicker ()
#endif
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Foundation/AttributedStringTest.cs b/tests/monotouch-test/Foundation/AttributedStringTest.cs
index 27ca7132334b..66677e82f593 100644
--- a/tests/monotouch-test/Foundation/AttributedStringTest.cs
+++ b/tests/monotouch-test/Foundation/AttributedStringTest.cs
@@ -11,9 +11,7 @@
#endif
using CoreGraphics;
using ObjCRuntime;
-#if !__WATCHOS__
using CoreText;
-#endif
using Xamarin.Utils;
namespace MonoTouchFixtures.Foundation {
@@ -25,7 +23,6 @@ public class AttributedStringTest {
CGColor red, yellow;
bool failEnum, t1, t2, tFont1, tFont2;
-#if !__WATCHOS__
[Test]
public void Attributes ()
{
@@ -41,7 +38,6 @@ public void Attributes ()
Assert.True (tFont1);
Assert.True (tFont2);
}
-#endif // !__WATCHOS__
void cb (NSDictionary attrs, NSRange range, ref bool stop)
{
@@ -82,7 +78,6 @@ public void Fields ()
}
}
-#if !__WATCHOS__
[Test]
public void UIKitAttachmentConveniences_New ()
{
@@ -96,7 +91,6 @@ public void UIKitAttachmentConveniences_New ()
Assert.That (as2.Value [0], Is.EqualTo ((char) 0xFFFC), "NSAttachmentCharacter");
}
}
-#endif // !__WATCHOS__
[Test]
public void InitWith ()
@@ -251,7 +245,6 @@ public void Create_Markdown_String ()
Assert.IsNull (e, "Error");
}
-#if !__WATCHOS__
[Test]
public void IndirectNullDictionary ()
{
@@ -260,7 +253,6 @@ public void IndirectNullDictionary ()
Assert.That (s.Handle, Is.Not.EqualTo (IntPtr.Zero));
}
}
-#endif // !__WATCHOS__
#if NET // this test crashes in legacy Xamarin
[Test]
diff --git a/tests/monotouch-test/Foundation/BundleTest.cs b/tests/monotouch-test/Foundation/BundleTest.cs
index de1db7629cf9..c717512fc061 100644
--- a/tests/monotouch-test/Foundation/BundleTest.cs
+++ b/tests/monotouch-test/Foundation/BundleTest.cs
@@ -88,7 +88,6 @@ public void LocalizedString4 ()
// http://developer.apple.com/library/ios/#documentation/uikit/reference/NSBundle_UIKitAdditions/Introduction/Introduction.html
#if false // Disabling for now due to Xcode 9 does not support nibs if deployment target == 6.0
-#if !__WATCHOS__
[Test]
public void LoadNibWithOptions ()
{
@@ -99,7 +98,6 @@ public void LoadNibWithOptions ()
Assert.NotNull (main.LoadNib ("EmptyNib", main, null));
#endif
}
-#endif // !__WATCHOS__
#endif
#if false
diff --git a/tests/monotouch-test/Foundation/MutableAttributedStringTest.cs b/tests/monotouch-test/Foundation/MutableAttributedStringTest.cs
index ca3cd4dc33dd..60b475f2e88f 100644
--- a/tests/monotouch-test/Foundation/MutableAttributedStringTest.cs
+++ b/tests/monotouch-test/Foundation/MutableAttributedStringTest.cs
@@ -45,7 +45,7 @@ public void NullDictionary ()
}
}
-#if !__WATCHOS__ && !MONOMAC // No foregroundColor parameter for mac
+#if !MONOMAC // No foregroundColor parameter for mac
[Test]
public void IndirectNullDictionary ()
{
@@ -54,6 +54,6 @@ public void IndirectNullDictionary ()
Assert.That (s.Handle, Is.Not.EqualTo (IntPtr.Zero));
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
}
}
diff --git a/tests/monotouch-test/Foundation/NSDataTest.cs b/tests/monotouch-test/Foundation/NSDataTest.cs
index 1985c53e98f1..1912eaade4c8 100644
--- a/tests/monotouch-test/Foundation/NSDataTest.cs
+++ b/tests/monotouch-test/Foundation/NSDataTest.cs
@@ -136,12 +136,6 @@ public void BytesLength ()
[Test]
public void Https ()
{
-#if __WATCHOS__
- if (global::ObjCRuntime.Runtime.Arch == global::ObjCRuntime.Arch.DEVICE) {
- // This error is returned: Error: The file “robots.txt” couldn’t be opened. The file “robots.txt” couldn’t be opened.
- Assert.Ignore ("NSData.FromUrl doesn't seem to work in watchOS");
- }
-#endif
// Https seems broken on our macOS 10.9 bot, so skip this test.
TestRuntime.AssertSystemVersion (ApplePlatform.MacOSX, 10, 10, throwIfOtherPlatform: false);
diff --git a/tests/monotouch-test/Foundation/NSLayoutConstraintTest.cs b/tests/monotouch-test/Foundation/NSLayoutConstraintTest.cs
index 484b849235b0..fca374782830 100644
--- a/tests/monotouch-test/Foundation/NSLayoutConstraintTest.cs
+++ b/tests/monotouch-test/Foundation/NSLayoutConstraintTest.cs
@@ -19,7 +19,6 @@ namespace MonoTouchFixtures.Foundation {
[Preserve (AllMembers = true)]
public class NSLayoutConstraintTest {
-#if !__WATCHOS__ // FIXME: it looks like this test can be rewritten to not use UIViewController, so that it can run on WatchOS as well.
[Test]
public void FromVisualFormat ()
{
@@ -86,7 +85,6 @@ public TestViewController ()
View.Add (SecondLabel);
}
}
-#endif // !__WATCHOS__
}
}
#endif
diff --git a/tests/monotouch-test/Foundation/NSStreamTest.cs b/tests/monotouch-test/Foundation/NSStreamTest.cs
index 27ae8df26407..ff976c509ae1 100644
--- a/tests/monotouch-test/Foundation/NSStreamTest.cs
+++ b/tests/monotouch-test/Foundation/NSStreamTest.cs
@@ -34,7 +34,6 @@ public void BoundPairTest ()
}
-#if !__WATCHOS__
TcpListener FindPort (out int port)
{
// This does not work well on watchOS:
@@ -128,6 +127,5 @@ void DebugListener (object data)
}
client.Close ();
}
-#endif // !__WATCHOS__
}
}
diff --git a/tests/monotouch-test/Foundation/NSTextListTest.cs b/tests/monotouch-test/Foundation/NSTextListTest.cs
index ad9ff71c6ec1..a360aa5e64a1 100644
--- a/tests/monotouch-test/Foundation/NSTextListTest.cs
+++ b/tests/monotouch-test/Foundation/NSTextListTest.cs
@@ -7,8 +7,6 @@
using ObjCRuntime;
using Xamarin.Utils;
-#if !__WATCHOS__
-
#if HAS_UIKIT
using UIKit;
#else
@@ -79,5 +77,3 @@ public void Constructor_TypedFormat (NSTextListMarkerFormats format)
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Foundation/NetServiceTest.cs b/tests/monotouch-test/Foundation/NetServiceTest.cs
index 0d0581de305a..72b126df890e 100644
--- a/tests/monotouch-test/Foundation/NetServiceTest.cs
+++ b/tests/monotouch-test/Foundation/NetServiceTest.cs
@@ -7,8 +7,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
#if MONOMAC
@@ -47,5 +45,3 @@ public void DefaultCtor ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Foundation/ObjectTest.cs b/tests/monotouch-test/Foundation/ObjectTest.cs
index 00563b9cdd6e..20118fcd9d4d 100644
--- a/tests/monotouch-test/Foundation/ObjectTest.cs
+++ b/tests/monotouch-test/Foundation/ObjectTest.cs
@@ -270,7 +270,6 @@ public void SubclassEquality ()
}
}
-#if !__WATCHOS__ // FIXME: this test can probably be fixed to run on WatchOS by testing something other than UIView
[Test]
public void ObserverTest ()
{
@@ -293,7 +292,6 @@ public void ObserverTest ()
}
Assert.IsTrue (observed, "observed");
}
-#endif // !__WATCHOS__
[Test]
[Timeout (5000)]
diff --git a/tests/monotouch-test/Foundation/StringTest.cs b/tests/monotouch-test/Foundation/StringTest.cs
index 3f08b661f74d..84d52ebfffa7 100644
--- a/tests/monotouch-test/Foundation/StringTest.cs
+++ b/tests/monotouch-test/Foundation/StringTest.cs
@@ -10,9 +10,7 @@
using System;
using System.IO;
using CoreGraphics;
-#if !__WATCHOS__
using System.Drawing;
-#endif
using Foundation;
using ObjCRuntime;
#if MONOMAC
@@ -100,7 +98,7 @@ public void Replace_Range ()
}
//No Mac version of DrawString with those parameters
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC && !__MACCATALYST__
+#if !__TVOS__ && !MONOMAC && !__MACCATALYST__
[Test]
[Culture ("en")] // fails for some cultures, e.g. ar-AE
public void DrawString_7 ()
@@ -151,7 +149,7 @@ public void StringSize_5 ()
throw;
}
}
-#endif // !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#endif // !__TVOS__ && !MONOMAC && !__MACCATALYST__
[Test]
public void PathExtensions ()
diff --git a/tests/monotouch-test/Foundation/ThreadTest.cs b/tests/monotouch-test/Foundation/ThreadTest.cs
index c56dfebfcebf..ab5e010baf6f 100644
--- a/tests/monotouch-test/Foundation/ThreadTest.cs
+++ b/tests/monotouch-test/Foundation/ThreadTest.cs
@@ -30,9 +30,6 @@ public void MainThread ()
[Test]
public void GetEntryAssemblyReturnsOk ()
{
-#if __WATCHOS__
- Assert.IsNull (Assembly.GetEntryAssembly ());
-#else
Assert.IsNotNull (Assembly.GetEntryAssembly ());
Assert.IsTrue (NSThread.IsMain);
int rv = -1;
@@ -49,7 +46,6 @@ public void GetEntryAssemblyReturnsOk ()
t.Start ();
t.Join ();
Assert.AreEqual (0, rv);
-#endif
}
[Test]
diff --git a/tests/monotouch-test/Foundation/UbiquitousKeyValueStoreTest.cs b/tests/monotouch-test/Foundation/UbiquitousKeyValueStoreTest.cs
index bd1d728e031d..d40ae8e0fa53 100644
--- a/tests/monotouch-test/Foundation/UbiquitousKeyValueStoreTest.cs
+++ b/tests/monotouch-test/Foundation/UbiquitousKeyValueStoreTest.cs
@@ -16,7 +16,6 @@ namespace MonoTouchFixtures.Foundation {
[TestFixture]
[Preserve (AllMembers = true)]
public class NSUbiquitousKeyValueStoreTest {
-#if !__WATCHOS__
// Looks like NSUbiquitousKeyValueStore doesn't work on watchOS:
// http://stackoverflow.com/questions/37412775/nsubiquitouskeyvaluestore-is-unavailable-watchos-2
// https://forums.developer.apple.com/thread/47564
@@ -56,6 +55,5 @@ public void Indexer ()
}
}
}
-#endif
}
}
diff --git a/tests/monotouch-test/Foundation/UrlConnectionTest.cs b/tests/monotouch-test/Foundation/UrlConnectionTest.cs
index 592b6049f06b..b585402ca396 100644
--- a/tests/monotouch-test/Foundation/UrlConnectionTest.cs
+++ b/tests/monotouch-test/Foundation/UrlConnectionTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Threading;
@@ -76,5 +74,3 @@ public void SendSynchronousRequest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Foundation/UrlProtocolTest.cs b/tests/monotouch-test/Foundation/UrlProtocolTest.cs
index d9ac177d4f07..ecf44476f84d 100644
--- a/tests/monotouch-test/Foundation/UrlProtocolTest.cs
+++ b/tests/monotouch-test/Foundation/UrlProtocolTest.cs
@@ -66,7 +66,6 @@ public void Task ()
}
#endif
-#if !__WATCHOS__
[Test]
public void RegistrarTest ()
{
@@ -194,6 +193,5 @@ public virtual void DidCompleteWithError (NSUrlSession session, NSUrlSessionTask
}
}
}
-#endif // !__WATCHOS__
}
}
diff --git a/tests/monotouch-test/Foundation/UrlSessionTest.cs b/tests/monotouch-test/Foundation/UrlSessionTest.cs
index 028bbbd145bd..fa1931d4d146 100644
--- a/tests/monotouch-test/Foundation/UrlSessionTest.cs
+++ b/tests/monotouch-test/Foundation/UrlSessionTest.cs
@@ -42,10 +42,7 @@ void AssertTrueOrIgnoreInCI (Task task, string message)
Assert.Fail (message);
}
- // FIXME all test cases are failing on bots with Xcode 8 / watchOS 3
-#if !__WATCHOS__
[Test]
-#endif
public void CreateDataTaskAsync ()
{
TestRuntime.AssertXcodeVersion (5, 0);
diff --git a/tests/monotouch-test/GameController/ExtendedGamepadSnapshotTest.cs b/tests/monotouch-test/GameController/ExtendedGamepadSnapshotTest.cs
index f45d25a78a35..026128cc94f7 100644
--- a/tests/monotouch-test/GameController/ExtendedGamepadSnapshotTest.cs
+++ b/tests/monotouch-test/GameController/ExtendedGamepadSnapshotTest.cs
@@ -7,8 +7,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
#if !MONOMAC
@@ -46,5 +44,3 @@ public void Nullability ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/GameController/GamepadSnapshotTest.cs b/tests/monotouch-test/GameController/GamepadSnapshotTest.cs
index fa4f6927956c..2c65100ba044 100644
--- a/tests/monotouch-test/GameController/GamepadSnapshotTest.cs
+++ b/tests/monotouch-test/GameController/GamepadSnapshotTest.cs
@@ -7,8 +7,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
#if !MONOMAC
@@ -46,5 +44,3 @@ public void Nullability ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/GameKit/GKGameCenterViewControllerTest.cs b/tests/monotouch-test/GameKit/GKGameCenterViewControllerTest.cs
index c289e5e8b417..6253680d2513 100644
--- a/tests/monotouch-test/GameKit/GKGameCenterViewControllerTest.cs
+++ b/tests/monotouch-test/GameKit/GKGameCenterViewControllerTest.cs
@@ -2,8 +2,6 @@
// Unit tests for GKGameCenterViewControllerTest
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using ObjCRuntime;
@@ -46,5 +44,3 @@ public void StringOptionCtor_LeaderboardSetId ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/GameKit/LeaderboardTest.cs b/tests/monotouch-test/GameKit/LeaderboardTest.cs
index be4e7a9794f9..2954945a1a3a 100644
--- a/tests/monotouch-test/GameKit/LeaderboardTest.cs
+++ b/tests/monotouch-test/GameKit/LeaderboardTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using ObjCRuntime;
@@ -46,10 +44,6 @@ void Check (GKLeaderboard lb)
var hasGroupIdentifier = true;
var hasIdentifier = true;
var hasRange = true;
-#elif __WATCHOS__
- var hasGroupIdentifier = true;
- var hasIdentifier = true;
- var hasRange = TestRuntime.CheckSystemVersion (ApplePlatform.WatchOS, 3, 0);
#endif
if (hasGroupIdentifier) {
Assert.Null (lb.GroupIdentifier, "GroupIdentifier");
@@ -91,5 +85,3 @@ public void PlayersCtor ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/GameKit/LeaderboardViewControllerTest.cs b/tests/monotouch-test/GameKit/LeaderboardViewControllerTest.cs
index 88932bc3ced2..5ca4f3d40a4a 100644
--- a/tests/monotouch-test/GameKit/LeaderboardViewControllerTest.cs
+++ b/tests/monotouch-test/GameKit/LeaderboardViewControllerTest.cs
@@ -7,7 +7,7 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__TVOS__ && !__WATCHOS__ && !__MACCATALYST__
+#if !__TVOS__ && !__MACCATALYST__
using System;
using System.IO;
@@ -47,4 +47,4 @@ public void DefaultCtor ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__ && !__MACCATALYST__
+#endif // !__TVOS__ && !__MACCATALYST__
diff --git a/tests/monotouch-test/GameKit/NotificationBannerTest.cs b/tests/monotouch-test/GameKit/NotificationBannerTest.cs
index f76cc29ae286..584217d49e09 100644
--- a/tests/monotouch-test/GameKit/NotificationBannerTest.cs
+++ b/tests/monotouch-test/GameKit/NotificationBannerTest.cs
@@ -7,8 +7,6 @@
// Copyright 2012,2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using GameKit;
@@ -29,5 +27,3 @@ public void Show_NSAction_Null ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/GameKit/ScoreTest.cs b/tests/monotouch-test/GameKit/ScoreTest.cs
index 899ecffa0453..96c0094da1fd 100644
--- a/tests/monotouch-test/GameKit/ScoreTest.cs
+++ b/tests/monotouch-test/GameKit/ScoreTest.cs
@@ -7,7 +7,7 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.IO;
@@ -59,4 +59,4 @@ public void Ctor_String ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/GameKit/SessionTest.cs b/tests/monotouch-test/GameKit/SessionTest.cs
index a1386ab5493c..1d3c55b1d623 100644
--- a/tests/monotouch-test/GameKit/SessionTest.cs
+++ b/tests/monotouch-test/GameKit/SessionTest.cs
@@ -7,7 +7,7 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.IO;
@@ -34,4 +34,4 @@ public void NullAllowed ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/GameplayKit/GKAgent3DTest.cs b/tests/monotouch-test/GameplayKit/GKAgent3DTest.cs
index 74a92d103b6e..212404e4bbaa 100644
--- a/tests/monotouch-test/GameplayKit/GKAgent3DTest.cs
+++ b/tests/monotouch-test/GameplayKit/GKAgent3DTest.cs
@@ -8,8 +8,6 @@
// Copyright 2017 Microsoft Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -93,5 +91,3 @@ public void RotationTest ()
#endif // !NET
}
}
-
-#endif // __WATCHOS__
diff --git a/tests/monotouch-test/GameplayKit/GKBehaviorTests.cs b/tests/monotouch-test/GameplayKit/GKBehaviorTests.cs
index 472ff364c424..84318b03dfa6 100644
--- a/tests/monotouch-test/GameplayKit/GKBehaviorTests.cs
+++ b/tests/monotouch-test/GameplayKit/GKBehaviorTests.cs
@@ -8,8 +8,6 @@
// Copyright 2022 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using NUnit.Framework;
@@ -39,4 +37,3 @@ public void ObjectForKeyedSubscriptTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/GameplayKit/GKComponentSystemTests.cs b/tests/monotouch-test/GameplayKit/GKComponentSystemTests.cs
index 4801dffed74d..de429fd66085 100644
--- a/tests/monotouch-test/GameplayKit/GKComponentSystemTests.cs
+++ b/tests/monotouch-test/GameplayKit/GKComponentSystemTests.cs
@@ -8,8 +8,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -67,5 +65,3 @@ public MySubcomponent (int id)
public MySubcomponent (IntPtr handle) : base (handle) { }
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/GameplayKit/GKEntityTests.cs b/tests/monotouch-test/GameplayKit/GKEntityTests.cs
index dcc308129232..f11b5ede5bb8 100644
--- a/tests/monotouch-test/GameplayKit/GKEntityTests.cs
+++ b/tests/monotouch-test/GameplayKit/GKEntityTests.cs
@@ -8,8 +8,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -89,5 +87,3 @@ public NumberComponent (int id)
public NumberComponent (IntPtr handle) : base (handle) { }
}
}
-
-#endif // __WATCHOS__
diff --git a/tests/monotouch-test/GameplayKit/GKGridGraphTests.cs b/tests/monotouch-test/GameplayKit/GKGridGraphTests.cs
index 06e3450e3220..f04afaa4e113 100644
--- a/tests/monotouch-test/GameplayKit/GKGridGraphTests.cs
+++ b/tests/monotouch-test/GameplayKit/GKGridGraphTests.cs
@@ -8,8 +8,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Collections.Generic;
@@ -160,5 +158,3 @@ public void InitFromGridStartingAtTest ()
}
}
}
-
-#endif // __WATCHOS__
diff --git a/tests/monotouch-test/GameplayKit/GKNoiseMapTests.cs b/tests/monotouch-test/GameplayKit/GKNoiseMapTests.cs
index 2f1860c6a99c..95315bff4a4a 100644
--- a/tests/monotouch-test/GameplayKit/GKNoiseMapTests.cs
+++ b/tests/monotouch-test/GameplayKit/GKNoiseMapTests.cs
@@ -8,8 +8,6 @@
// Copyright 2016 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using NUnit.Framework;
@@ -54,4 +52,3 @@ public void Vector2dTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/GameplayKit/GKNoiseTests.cs b/tests/monotouch-test/GameplayKit/GKNoiseTests.cs
index 2c7aead8ae11..f2c28a842637 100644
--- a/tests/monotouch-test/GameplayKit/GKNoiseTests.cs
+++ b/tests/monotouch-test/GameplayKit/GKNoiseTests.cs
@@ -8,8 +8,6 @@
// Copyright 2016 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using NUnit.Framework;
@@ -46,4 +44,3 @@ public void Vector3dTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/GameplayKit/GKOctreeTests.cs b/tests/monotouch-test/GameplayKit/GKOctreeTests.cs
index 439802ffa351..76c91d5e7cbd 100644
--- a/tests/monotouch-test/GameplayKit/GKOctreeTests.cs
+++ b/tests/monotouch-test/GameplayKit/GKOctreeTests.cs
@@ -8,8 +8,6 @@
// Copyright 2016 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using NUnit.Framework;
@@ -49,4 +47,3 @@ public void GKBoxTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/GameplayKit/GKPathTests.cs b/tests/monotouch-test/GameplayKit/GKPathTests.cs
index 9346f7683838..8f53f74f5126 100644
--- a/tests/monotouch-test/GameplayKit/GKPathTests.cs
+++ b/tests/monotouch-test/GameplayKit/GKPathTests.cs
@@ -8,8 +8,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -88,5 +86,3 @@ public void InitWithPointsVector3Test ()
}
}
}
-
-#endif // __WATCHOS__
diff --git a/tests/monotouch-test/GameplayKit/GKPolygonObstacleTests.cs b/tests/monotouch-test/GameplayKit/GKPolygonObstacleTests.cs
index 2a53b380b8b7..b903f8061f86 100644
--- a/tests/monotouch-test/GameplayKit/GKPolygonObstacleTests.cs
+++ b/tests/monotouch-test/GameplayKit/GKPolygonObstacleTests.cs
@@ -8,8 +8,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -64,5 +62,3 @@ public void InitWithPointsTest ()
}
}
}
-
-#endif // __WATCHOS__
diff --git a/tests/monotouch-test/GameplayKit/GKQuadTreeTests.cs b/tests/monotouch-test/GameplayKit/GKQuadTreeTests.cs
index 8850f2ecbd6b..75841e86e629 100644
--- a/tests/monotouch-test/GameplayKit/GKQuadTreeTests.cs
+++ b/tests/monotouch-test/GameplayKit/GKQuadTreeTests.cs
@@ -8,8 +8,6 @@
// Copyright 2016 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using NUnit.Framework;
@@ -54,4 +52,3 @@ public void GKQuadTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/GameplayKit/GKStateMachineTests.cs b/tests/monotouch-test/GameplayKit/GKStateMachineTests.cs
index 99d19a8c03d7..2f80a7cb4c02 100644
--- a/tests/monotouch-test/GameplayKit/GKStateMachineTests.cs
+++ b/tests/monotouch-test/GameplayKit/GKStateMachineTests.cs
@@ -8,8 +8,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -62,5 +60,3 @@ class FleeState : GKState { }
class UndefinedState : GKState { }
}
-
-#endif // __WATCHOS__
diff --git a/tests/monotouch-test/GameplayKit/GKStateTests.cs b/tests/monotouch-test/GameplayKit/GKStateTests.cs
index 6aa33080ecf1..0799486aef01 100644
--- a/tests/monotouch-test/GameplayKit/GKStateTests.cs
+++ b/tests/monotouch-test/GameplayKit/GKStateTests.cs
@@ -8,8 +8,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -76,5 +74,3 @@ public override bool IsValidNextState (Class stateClass)
class InvalidState : GKState { }
}
-
-#endif // __WATCHOS__
diff --git a/tests/monotouch-test/HealthKit/AnchoredObjectQueryTest.cs b/tests/monotouch-test/HealthKit/AnchoredObjectQueryTest.cs
index 07af939c276e..1eaf60ccac20 100644
--- a/tests/monotouch-test/HealthKit/AnchoredObjectQueryTest.cs
+++ b/tests/monotouch-test/HealthKit/AnchoredObjectQueryTest.cs
@@ -36,12 +36,8 @@ public void NoAnchor ()
#endif
using (var t = HKCategoryType.Create (HKCategoryTypeIdentifier.SleepAnalysis))
-#if __WATCHOS__
- using (var aoq = new HKAnchoredObjectQuery (t, null, HKQueryAnchor.Create (HKAnchoredObjectQuery.NoAnchor), 0, delegate (HKAnchoredObjectQuery query, HKSample [] addedObjects, HKDeletedObject [] deletedObjects, HKQueryAnchor newAnchor, NSError error) {
-#else
using (var aoq = new HKAnchoredObjectQuery (t, null, HKAnchoredObjectQuery.NoAnchor, 0, delegate (HKAnchoredObjectQuery query, HKSample [] results, nuint newAnchor, NSError error)
{
-#endif
})) {
Assert.That (aoq.Handle, Is.Not.EqualTo (IntPtr.Zero), "handle");
}
diff --git a/tests/monotouch-test/HttpClient/HttpClientTest.cs b/tests/monotouch-test/HttpClient/HttpClientTest.cs
index 3316473990d9..e8dde134cc94 100644
--- a/tests/monotouch-test/HttpClient/HttpClientTest.cs
+++ b/tests/monotouch-test/HttpClient/HttpClientTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.Net.Http;
using System.Reflection;
@@ -113,4 +112,3 @@ public void EnsureModifiabilityPostSend (Type handlerType, int macOSMinVersion)
}
}
}
-#endif
diff --git a/tests/monotouch-test/Intents/INIntentResolutionResultTests.cs b/tests/monotouch-test/Intents/INIntentResolutionResultTests.cs
index e7eb3c9381ef..f1ba1d9e5f2d 100644
--- a/tests/monotouch-test/Intents/INIntentResolutionResultTests.cs
+++ b/tests/monotouch-test/Intents/INIntentResolutionResultTests.cs
@@ -25,11 +25,7 @@ public class INIntentResolutionResultTests {
[SetUp]
public void Setup ()
{
-#if !__WATCHOS__
TestRuntime.AssertXcodeVersion (8, 0);
-#else
- TestRuntime.AssertXcodeVersion (8, 3);
-#endif
}
[Test]
@@ -188,11 +184,6 @@ public void INBooleanResolutionResultPropertyTest ()
[Test]
public void INCarAirCirculationModeResolutionResultPropertyTest ()
{
-#if __WATCHOS__
- Assert.Throws (() => { var v = INCarAirCirculationModeResolutionResult.NeedsValue; });
- Assert.Throws (() => { var v = INCarAirCirculationModeResolutionResult.NotRequired; });
- Assert.Throws (() => { var v = INCarAirCirculationModeResolutionResult.Unsupported; });
-#else
using (var needsValue = INCarAirCirculationModeResolutionResult.NeedsValue)
using (var notRequired = INCarAirCirculationModeResolutionResult.NotRequired)
using (var unsupported = INCarAirCirculationModeResolutionResult.Unsupported) {
@@ -204,17 +195,11 @@ public void INCarAirCirculationModeResolutionResultPropertyTest ()
Assert.IsInstanceOf (typeof (INCarAirCirculationModeResolutionResult), notRequired, "NotRequired");
Assert.IsInstanceOf (typeof (INCarAirCirculationModeResolutionResult), unsupported, "Unsupported");
}
-#endif
}
[Test]
public void INCarAudioSourceResolutionResultPropertyTest ()
{
-#if __WATCHOS__
- Assert.Throws (() => { var v = INCarAudioSourceResolutionResult.NeedsValue; });
- Assert.Throws (() => { var v = INCarAudioSourceResolutionResult.NotRequired; });
- Assert.Throws (() => { var v = INCarAudioSourceResolutionResult.Unsupported; });
-#else
using (var needsValue = INCarAudioSourceResolutionResult.NeedsValue)
using (var notRequired = INCarAudioSourceResolutionResult.NotRequired)
using (var unsupported = INCarAudioSourceResolutionResult.Unsupported) {
@@ -226,17 +211,11 @@ public void INCarAudioSourceResolutionResultPropertyTest ()
Assert.IsInstanceOf (typeof (INCarAudioSourceResolutionResult), notRequired, "NotRequired");
Assert.IsInstanceOf (typeof (INCarAudioSourceResolutionResult), unsupported, "Unsupported");
}
-#endif
}
[Test]
public void INCarDefrosterResolutionResultPropertyTest ()
{
-#if __WATCHOS__
- Assert.Throws (() => { var v = INCarDefrosterResolutionResult.NeedsValue; });
- Assert.Throws (() => { var v = INCarDefrosterResolutionResult.NotRequired; });
- Assert.Throws (() => { var v = INCarDefrosterResolutionResult.Unsupported; });
-#else
using (var needsValue = INCarDefrosterResolutionResult.NeedsValue)
using (var notRequired = INCarDefrosterResolutionResult.NotRequired)
using (var unsupported = INCarDefrosterResolutionResult.Unsupported) {
@@ -248,17 +227,11 @@ public void INCarDefrosterResolutionResultPropertyTest ()
Assert.IsInstanceOf (typeof (INCarDefrosterResolutionResult), notRequired, "NotRequired");
Assert.IsInstanceOf (typeof (INCarDefrosterResolutionResult), unsupported, "Unsupported");
}
-#endif
}
[Test]
public void INCarSeatResolutionResultPropertyTest ()
{
-#if __WATCHOS__
- Assert.Throws (() => { var v = INCarSeatResolutionResult.NeedsValue; });
- Assert.Throws (() => { var v = INCarSeatResolutionResult.NotRequired; });
- Assert.Throws (() => { var v = INCarSeatResolutionResult.Unsupported; });
-#else
using (var needsValue = INCarSeatResolutionResult.NeedsValue)
using (var notRequired = INCarSeatResolutionResult.NotRequired)
using (var unsupported = INCarSeatResolutionResult.Unsupported) {
@@ -270,7 +243,6 @@ public void INCarSeatResolutionResultPropertyTest ()
Assert.IsInstanceOf (typeof (INCarSeatResolutionResult), notRequired, "NotRequired");
Assert.IsInstanceOf (typeof (INCarSeatResolutionResult), unsupported, "Unsupported");
}
-#endif
}
[Test]
@@ -340,11 +312,6 @@ public void INIntegerResolutionResultPropertyTest ()
[Test]
public void INRadioTypeResolutionResultPropertyTest ()
{
-#if __WATCHOS__
- Assert.Throws (() => { var v = INRadioTypeResolutionResult.NeedsValue; });
- Assert.Throws (() => { var v = INRadioTypeResolutionResult.NotRequired; });
- Assert.Throws (() => { var v = INRadioTypeResolutionResult.Unsupported; });
-#else
using (var needsValue = INRadioTypeResolutionResult.NeedsValue)
using (var notRequired = INRadioTypeResolutionResult.NotRequired)
using (var unsupported = INRadioTypeResolutionResult.Unsupported) {
@@ -356,17 +323,11 @@ public void INRadioTypeResolutionResultPropertyTest ()
Assert.IsInstanceOf (typeof (INRadioTypeResolutionResult), notRequired, "NotRequired");
Assert.IsInstanceOf (typeof (INRadioTypeResolutionResult), unsupported, "Unsupported");
}
-#endif
}
[Test]
public void INRelativeReferenceResolutionResultPropertyTest ()
{
-#if __WATCHOS__
- Assert.Throws (() => { var v = INRelativeReferenceResolutionResult.NeedsValue; });
- Assert.Throws (() => { var v = INRelativeReferenceResolutionResult.NotRequired; });
- Assert.Throws (() => { var v = INRelativeReferenceResolutionResult.Unsupported; });
-#else
using (var needsValue = INRelativeReferenceResolutionResult.NeedsValue)
using (var notRequired = INRelativeReferenceResolutionResult.NotRequired)
using (var unsupported = INRelativeReferenceResolutionResult.Unsupported) {
@@ -378,17 +339,11 @@ public void INRelativeReferenceResolutionResultPropertyTest ()
Assert.IsInstanceOf (typeof (INRelativeReferenceResolutionResult), notRequired, "NotRequired");
Assert.IsInstanceOf (typeof (INRelativeReferenceResolutionResult), unsupported, "Unsupported");
}
-#endif
}
[Test]
public void INRelativeSettingResolutionResultPropertyTest ()
{
-#if __WATCHOS__
- Assert.Throws (() => { var v = INRelativeSettingResolutionResult.NeedsValue; });
- Assert.Throws (() => { var v = INRelativeSettingResolutionResult.NotRequired; });
- Assert.Throws (() => { var v = INRelativeSettingResolutionResult.Unsupported; });
-#else
using (var needsValue = INRelativeSettingResolutionResult.NeedsValue)
using (var notRequired = INRelativeSettingResolutionResult.NotRequired)
using (var unsupported = INRelativeSettingResolutionResult.Unsupported) {
@@ -400,10 +355,8 @@ public void INRelativeSettingResolutionResultPropertyTest ()
Assert.IsInstanceOf (typeof (INRelativeSettingResolutionResult), notRequired, "NotRequired");
Assert.IsInstanceOf (typeof (INRelativeSettingResolutionResult), unsupported, "Unsupported");
}
-#endif
}
-#if !__WATCHOS__
[Test]
public void INRestaurantGuestResolutionResultPropertyTest ()
{
@@ -435,7 +388,6 @@ public void INRestaurantResolutionResultPropertyTest ()
Assert.IsInstanceOf (typeof (INRestaurantResolutionResult), unsupported, "Unsupported");
}
}
-#endif // !__WATCHOS__
[Test]
public void INTemperatureResolutionResultPropertyTest ()
diff --git a/tests/monotouch-test/JavascriptCore/ContextTest.cs b/tests/monotouch-test/JavascriptCore/ContextTest.cs
index c5db028bdc0a..df5f3a649bc4 100644
--- a/tests/monotouch-test/JavascriptCore/ContextTest.cs
+++ b/tests/monotouch-test/JavascriptCore/ContextTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013, 2015 Xamarin Inc.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using JavaScriptCore;
@@ -62,5 +60,3 @@ public void EvaluateScript_Context ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/JavascriptCore/JSExportTest.cs b/tests/monotouch-test/JavascriptCore/JSExportTest.cs
index ec490d733cdd..c8d34c949e4c 100644
--- a/tests/monotouch-test/JavascriptCore/JSExportTest.cs
+++ b/tests/monotouch-test/JavascriptCore/JSExportTest.cs
@@ -2,8 +2,6 @@
// Copyright 2014 Xamarin Inc.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using JavaScriptCore;
@@ -79,5 +77,3 @@ public void CallMeBack (JSValue callbackFunc)
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/JavascriptCore/ValueTest.cs b/tests/monotouch-test/JavascriptCore/ValueTest.cs
index 4d25ad7bd3a3..30ca100b67c4 100644
--- a/tests/monotouch-test/JavascriptCore/ValueTest.cs
+++ b/tests/monotouch-test/JavascriptCore/ValueTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013 Xamarin Inc.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using JavaScriptCore;
@@ -109,5 +107,3 @@ public void ToArray ()
#endif
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/MLCompute/MLEnumsTest.cs b/tests/monotouch-test/MLCompute/MLEnumsTest.cs
index 154ca92a08a3..5318becb71a0 100644
--- a/tests/monotouch-test/MLCompute/MLEnumsTest.cs
+++ b/tests/monotouch-test/MLCompute/MLEnumsTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -37,5 +35,3 @@ public void GetDebugDescription ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Main.cs b/tests/monotouch-test/Main.cs
index c901338e0b6f..9087bd616a50 100644
--- a/tests/monotouch-test/Main.cs
+++ b/tests/monotouch-test/Main.cs
@@ -12,8 +12,4 @@
#nullable enable
// This prevents the need for putting lots of #ifdefs inside the list of usings.
-#if __WATCHOS__
-namespace System.Drawing {}
-namespace OpenTK {}
-#endif
#endif
diff --git a/tests/monotouch-test/MapKit/AnnotationViewTest.cs b/tests/monotouch-test/MapKit/AnnotationViewTest.cs
index 83b28940a0ae..7d2e40fc24df 100644
--- a/tests/monotouch-test/MapKit/AnnotationViewTest.cs
+++ b/tests/monotouch-test/MapKit/AnnotationViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2012 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using System.Drawing;
@@ -104,4 +104,4 @@ public void Null ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/MapKit/CircleViewTest.cs b/tests/monotouch-test/MapKit/CircleViewTest.cs
index b637ad579164..1fd691dc9be2 100644
--- a/tests/monotouch-test/MapKit/CircleViewTest.cs
+++ b/tests/monotouch-test/MapKit/CircleViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2012 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.Drawing;
@@ -26,4 +26,4 @@ public void InitWithFrame ()
}
}
-#endif // !__TVOS_ && !__WATCHOS__
+#endif // !__TVOS_ && !MONOMAC
diff --git a/tests/monotouch-test/MapKit/LocalSearchRequestTest.cs b/tests/monotouch-test/MapKit/LocalSearchRequestTest.cs
index e345299d044a..87385cec30fd 100644
--- a/tests/monotouch-test/MapKit/LocalSearchRequestTest.cs
+++ b/tests/monotouch-test/MapKit/LocalSearchRequestTest.cs
@@ -7,8 +7,6 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using CoreLocation;
@@ -46,5 +44,3 @@ public void Default ()
}
}
}
-
-#endif // !__TVOS__ && !__WATCHOS__
diff --git a/tests/monotouch-test/MapKit/LocalSearchTest.cs b/tests/monotouch-test/MapKit/LocalSearchTest.cs
index 74c82a2ec140..5ac942fe646b 100644
--- a/tests/monotouch-test/MapKit/LocalSearchTest.cs
+++ b/tests/monotouch-test/MapKit/LocalSearchTest.cs
@@ -7,8 +7,6 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using CoreLocation;
@@ -55,5 +53,3 @@ public void EmptyRequest ()
}
}
}
-
-#endif // !__TVOS__ && !__WATCHOS__
diff --git a/tests/monotouch-test/MapKit/MapViewTest.cs b/tests/monotouch-test/MapKit/MapViewTest.cs
index c638943c8921..827a7957c536 100644
--- a/tests/monotouch-test/MapKit/MapViewTest.cs
+++ b/tests/monotouch-test/MapKit/MapViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2012 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using System.Collections.Generic;
@@ -84,4 +84,4 @@ public void Overlays7 ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/MapKit/OverlayPathRendererTest.cs b/tests/monotouch-test/MapKit/OverlayPathRendererTest.cs
index f4873ce646cb..09ae65130413 100644
--- a/tests/monotouch-test/MapKit/OverlayPathRendererTest.cs
+++ b/tests/monotouch-test/MapKit/OverlayPathRendererTest.cs
@@ -7,7 +7,7 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using Foundation;
@@ -52,4 +52,4 @@ public void CtorOverlay ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/MapKit/OverlayPathViewTest.cs b/tests/monotouch-test/MapKit/OverlayPathViewTest.cs
index 333f4d115c82..c5f922e6e9e4 100644
--- a/tests/monotouch-test/MapKit/OverlayPathViewTest.cs
+++ b/tests/monotouch-test/MapKit/OverlayPathViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.Drawing;
@@ -26,4 +26,4 @@ public void InitWithFrame ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/MapKit/OverlayViewTest.cs b/tests/monotouch-test/MapKit/OverlayViewTest.cs
index 6cde522c62c6..22d096d30442 100644
--- a/tests/monotouch-test/MapKit/OverlayViewTest.cs
+++ b/tests/monotouch-test/MapKit/OverlayViewTest.cs
@@ -1,11 +1,9 @@
// Copyright 2011-2012 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
-#if !__WATCHOS__
using System.Drawing;
-#endif
using System.Reflection;
using CoreGraphics;
using Foundation;
@@ -29,4 +27,4 @@ public void InitWithFrame ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/MapKit/PinAnnotationViewTest.cs b/tests/monotouch-test/MapKit/PinAnnotationViewTest.cs
index 5f400f7ebee2..035eb6a84c58 100644
--- a/tests/monotouch-test/MapKit/PinAnnotationViewTest.cs
+++ b/tests/monotouch-test/MapKit/PinAnnotationViewTest.cs
@@ -7,7 +7,7 @@
// Copyright 2012, 2015 Xamarin Inc. All rights reserved.
//
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using System.Drawing;
@@ -92,4 +92,4 @@ public void InitWithFrame ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/MapKit/PolygonTest.cs b/tests/monotouch-test/MapKit/PolygonTest.cs
index b74e1f374397..d4a52e234314 100644
--- a/tests/monotouch-test/MapKit/PolygonTest.cs
+++ b/tests/monotouch-test/MapKit/PolygonTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using System.Drawing;
@@ -121,4 +121,4 @@ public void setCoordinate_Selector ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/MapKit/PolygonViewTest.cs b/tests/monotouch-test/MapKit/PolygonViewTest.cs
index d719cb0bfa8f..d506b26f9a45 100644
--- a/tests/monotouch-test/MapKit/PolygonViewTest.cs
+++ b/tests/monotouch-test/MapKit/PolygonViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2012 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.Drawing;
@@ -26,4 +26,4 @@ public void InitWithFrame ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/MapKit/PolylineTest.cs b/tests/monotouch-test/MapKit/PolylineTest.cs
index 09fb40186b92..ebf37d2c09bb 100644
--- a/tests/monotouch-test/MapKit/PolylineTest.cs
+++ b/tests/monotouch-test/MapKit/PolylineTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011, 2013 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using System.Drawing;
@@ -101,4 +101,4 @@ public void setCoordinate_Selector ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/MapKit/PolylineViewTest.cs b/tests/monotouch-test/MapKit/PolylineViewTest.cs
index 53dd8d80e0e3..c6d81b2f5f77 100644
--- a/tests/monotouch-test/MapKit/PolylineViewTest.cs
+++ b/tests/monotouch-test/MapKit/PolylineViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2012 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.Drawing;
@@ -26,4 +26,4 @@ public void InitWithFrame ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/MapKit/ShapeTest.cs b/tests/monotouch-test/MapKit/ShapeTest.cs
index 652e6c79af97..e1b18b722327 100644
--- a/tests/monotouch-test/MapKit/ShapeTest.cs
+++ b/tests/monotouch-test/MapKit/ShapeTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using System.Drawing;
@@ -36,4 +36,4 @@ static public void CheckShape (MKShape shape)
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/MediaAccessibility/AudibleMediaTest.cs b/tests/monotouch-test/MediaAccessibility/AudibleMediaTest.cs
index 318b3f018852..cc39a1000ce7 100644
--- a/tests/monotouch-test/MediaAccessibility/AudibleMediaTest.cs
+++ b/tests/monotouch-test/MediaAccessibility/AudibleMediaTest.cs
@@ -7,8 +7,6 @@
// Copyright 2015 Xamarin Inc.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using MediaAccessibility;
@@ -37,5 +35,3 @@ public void PreferredCharacteristics ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/MediaAccessibility/CaptionAppearanceTest.cs b/tests/monotouch-test/MediaAccessibility/CaptionAppearanceTest.cs
index 15ab7a6f9ddd..593a523f73f2 100644
--- a/tests/monotouch-test/MediaAccessibility/CaptionAppearanceTest.cs
+++ b/tests/monotouch-test/MediaAccessibility/CaptionAppearanceTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013 Xamarin Inc.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using MediaAccessibility;
@@ -63,5 +61,3 @@ public void IsCustomized ()
#endif // NET
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/MediaAccessibility/ImageCaptioningTest.cs b/tests/monotouch-test/MediaAccessibility/ImageCaptioningTest.cs
index 5795d3457a5f..0d9819aa88da 100644
--- a/tests/monotouch-test/MediaAccessibility/ImageCaptioningTest.cs
+++ b/tests/monotouch-test/MediaAccessibility/ImageCaptioningTest.cs
@@ -7,8 +7,6 @@
// Copyright 2019 Microsoft Corporation
//
-#if !__WATCHOS__
-
using System;
using System.Diagnostics;
using System.IO;
@@ -148,5 +146,3 @@ public void SetCaption ()
}
}
}
-
-#endif
diff --git a/tests/monotouch-test/MediaPlayer/MediaItemArtworkTest.cs b/tests/monotouch-test/MediaPlayer/MediaItemArtworkTest.cs
index 6c5955f8398c..5b91ae3a33ea 100644
--- a/tests/monotouch-test/MediaPlayer/MediaItemArtworkTest.cs
+++ b/tests/monotouch-test/MediaPlayer/MediaItemArtworkTest.cs
@@ -1,6 +1,6 @@
// Copyright 2014 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.IO;
@@ -39,4 +39,4 @@ public void ImageWithSize ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/MediaPlayer/MediaItemTest.cs b/tests/monotouch-test/MediaPlayer/MediaItemTest.cs
index cd8bd2f526d4..30776c8b070b 100644
--- a/tests/monotouch-test/MediaPlayer/MediaItemTest.cs
+++ b/tests/monotouch-test/MediaPlayer/MediaItemTest.cs
@@ -1,6 +1,6 @@
// Copyright 2014 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.Drawing;
@@ -86,4 +86,4 @@ public void DefaultValues ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/MediaPlayer/NowPlayingInfoCenterTest.cs b/tests/monotouch-test/MediaPlayer/NowPlayingInfoCenterTest.cs
index 979f67c7afb2..759092dc499c 100644
--- a/tests/monotouch-test/MediaPlayer/NowPlayingInfoCenterTest.cs
+++ b/tests/monotouch-test/MediaPlayer/NowPlayingInfoCenterTest.cs
@@ -1,6 +1,6 @@
// Copyright 2016 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.Drawing;
@@ -120,4 +120,4 @@ public void NowPlaying ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/MediaPlayer/PlayableContentManagerTest.cs b/tests/monotouch-test/MediaPlayer/PlayableContentManagerTest.cs
deleted file mode 100644
index c659c13184d1..000000000000
--- a/tests/monotouch-test/MediaPlayer/PlayableContentManagerTest.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-//
-// Unit tests for MPPlayableContentManager
-//
-// Authors:
-// Sebastien Pouliot
-//
-// Copyright 2013 Xamarin Inc. All rights reserved.
-//
-
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC && !NET
-
-using System;
-using Foundation;
-using MediaPlayer;
-using UIKit;
-using ObjCRuntime;
-using NUnit.Framework;
-using Xamarin.Utils;
-
-namespace MonoTouchFixtures.MediaPlayer {
-
- [TestFixture]
- [Preserve (AllMembers = true)]
- public class PlayableContentManagerTest {
-
- class DataSource : MPPlayableContentDataSource {
- #region implemented abstract members of MPPlayableContentDataSource
- public override MPContentItem ContentItem (NSIndexPath indexPath)
- {
- throw new NotImplementedException ();
- }
- public override nint NumberOfChildItems (NSIndexPath indexPath)
- {
- throw new NotImplementedException ();
- }
- #endregion
- }
-
- class Delegate : MPPlayableContentDelegate {
- }
-
- [Test]
- public void Shared ()
- {
- TestRuntime.AssertSystemVersion (ApplePlatform.iOS, 7, 1, throwIfOtherPlatform: false);
-
- MPPlayableContentManager shared = MPPlayableContentManager.Shared;
- Assert.Null (shared.DataSource, "DataSource");
- Assert.Null (shared.Delegate, "Delegate");
-
- try {
- using (var ds = new DataSource ())
- using (var dg = new Delegate ()) {
- shared.DataSource = ds;
- shared.Delegate = dg;
- }
- } finally {
- shared.DataSource = null;
- shared.Delegate = null;
- }
- }
- }
-}
-
-#endif // !__TVOS__ && !__WATCHOS__
diff --git a/tests/monotouch-test/MediaPlayer/RemoteCommandCenterTest.cs b/tests/monotouch-test/MediaPlayer/RemoteCommandCenterTest.cs
index 12a7c9b7a01a..8df797c16c2e 100644
--- a/tests/monotouch-test/MediaPlayer/RemoteCommandCenterTest.cs
+++ b/tests/monotouch-test/MediaPlayer/RemoteCommandCenterTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using MediaPlayer;
@@ -70,5 +68,3 @@ public void Shared_9 ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/MediaPlayer/SkipIntervalCommandTest.cs b/tests/monotouch-test/MediaPlayer/SkipIntervalCommandTest.cs
index 00ec9e4f7c69..5c3d04b5a048 100644
--- a/tests/monotouch-test/MediaPlayer/SkipIntervalCommandTest.cs
+++ b/tests/monotouch-test/MediaPlayer/SkipIntervalCommandTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using MediaPlayer;
@@ -50,5 +48,3 @@ public void ManualBinding ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/MediaPlayer/VolumeViewTest.cs b/tests/monotouch-test/MediaPlayer/VolumeViewTest.cs
index fa9bf922e3fc..1fdb281eb623 100644
--- a/tests/monotouch-test/MediaPlayer/VolumeViewTest.cs
+++ b/tests/monotouch-test/MediaPlayer/VolumeViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.Drawing;
@@ -26,4 +26,4 @@ public void InitWithFrame ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/MediaToolbox/AudioProcessingTapTest.cs b/tests/monotouch-test/MediaToolbox/AudioProcessingTapTest.cs
index cac171c4bafc..d28e508b5e98 100644
--- a/tests/monotouch-test/MediaToolbox/AudioProcessingTapTest.cs
+++ b/tests/monotouch-test/MediaToolbox/AudioProcessingTapTest.cs
@@ -7,8 +7,6 @@
// Copyright 2012 Xamarin Inc, All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Runtime.InteropServices;
using Foundation;
@@ -51,5 +49,3 @@ public unsafe void Initialization ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/MediaToolbox/FormatNamesTest.cs b/tests/monotouch-test/MediaToolbox/FormatNamesTest.cs
index 7a7f977440ed..375e761518e0 100644
--- a/tests/monotouch-test/MediaToolbox/FormatNamesTest.cs
+++ b/tests/monotouch-test/MediaToolbox/FormatNamesTest.cs
@@ -1,6 +1,3 @@
-
-#if !__WATCHOS__
-
using System;
using CoreMedia;
using Foundation;
@@ -56,5 +53,3 @@ public void LocalizedNameForMediaSubType ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/ClearValueTest.cs b/tests/monotouch-test/Metal/ClearValueTest.cs
index 246958146c7a..f18a1f5bdf4f 100644
--- a/tests/monotouch-test/Metal/ClearValueTest.cs
+++ b/tests/monotouch-test/Metal/ClearValueTest.cs
@@ -1,6 +1,3 @@
-
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -47,5 +44,3 @@ public void Constructor ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/DeviceTest.cs b/tests/monotouch-test/Metal/DeviceTest.cs
index 6622ffd35f2c..51dd41d0355a 100644
--- a/tests/monotouch-test/Metal/DeviceTest.cs
+++ b/tests/monotouch-test/Metal/DeviceTest.cs
@@ -1,6 +1,3 @@
-
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -41,5 +38,3 @@ public void System ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/HeapDescriptorTest.cs b/tests/monotouch-test/Metal/HeapDescriptorTest.cs
index 3ac60eebe4bf..1c5fe8b88923 100644
--- a/tests/monotouch-test/Metal/HeapDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/HeapDescriptorTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -140,5 +138,3 @@ public void TypeTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLArgumentDescriptorTest.cs b/tests/monotouch-test/Metal/MTLArgumentDescriptorTest.cs
index a54e43a46770..a7e3752efde1 100644
--- a/tests/monotouch-test/Metal/MTLArgumentDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLArgumentDescriptorTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -72,5 +70,3 @@ public void GetSetTextureTypeTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLArgumentEncoderTest.cs b/tests/monotouch-test/Metal/MTLArgumentEncoderTest.cs
index d0291c6c3716..879098e9c339 100644
--- a/tests/monotouch-test/Metal/MTLArgumentEncoderTest.cs
+++ b/tests/monotouch-test/Metal/MTLArgumentEncoderTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
using Metal;
@@ -72,4 +70,3 @@ public void SetBuffers ()
#endif
}
}
-#endif
diff --git a/tests/monotouch-test/Metal/MTLAttributeDescriptorTest.cs b/tests/monotouch-test/Metal/MTLAttributeDescriptorTest.cs
index d728731e02b8..6f6587ea6196 100644
--- a/tests/monotouch-test/Metal/MTLAttributeDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLAttributeDescriptorTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -53,5 +51,3 @@ public void GetSetBufferIndexTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLAttributeTest.cs b/tests/monotouch-test/Metal/MTLAttributeTest.cs
index 2c973cc879ad..cf59230ce8fc 100644
--- a/tests/monotouch-test/Metal/MTLAttributeTest.cs
+++ b/tests/monotouch-test/Metal/MTLAttributeTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -66,5 +64,3 @@ public void GetIsPatchControlPointDataTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLBlitPassDescriptorTest.cs b/tests/monotouch-test/Metal/MTLBlitPassDescriptorTest.cs
index 6b7e0c50eb33..24282861ca3f 100644
--- a/tests/monotouch-test/Metal/MTLBlitPassDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLBlitPassDescriptorTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
#nullable enable
using System;
@@ -34,5 +33,3 @@ public void TestSampleBufferAttachments ()
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLBlitPassSampleBufferAttachmentDescriptorArrayTest.cs b/tests/monotouch-test/Metal/MTLBlitPassSampleBufferAttachmentDescriptorArrayTest.cs
index d606428c465d..88824a3d78c3 100644
--- a/tests/monotouch-test/Metal/MTLBlitPassSampleBufferAttachmentDescriptorArrayTest.cs
+++ b/tests/monotouch-test/Metal/MTLBlitPassSampleBufferAttachmentDescriptorArrayTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
#nullable enable
using System;
@@ -46,4 +45,3 @@ public void IndexerTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Metal/MTLBlitPassSampleBufferAttachmentDescriptorTest.cs b/tests/monotouch-test/Metal/MTLBlitPassSampleBufferAttachmentDescriptorTest.cs
index 6d00f274214d..9f051fed282a 100644
--- a/tests/monotouch-test/Metal/MTLBlitPassSampleBufferAttachmentDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLBlitPassSampleBufferAttachmentDescriptorTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
#nullable enable
using System;
@@ -74,5 +73,3 @@ public void EndOfEncoderSampleIndexTest ()
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLBufferLayoutDescriptorTest.cs b/tests/monotouch-test/Metal/MTLBufferLayoutDescriptorTest.cs
index a7b7c968fa8b..d9db606dfce8 100644
--- a/tests/monotouch-test/Metal/MTLBufferLayoutDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLBufferLayoutDescriptorTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -47,5 +45,3 @@ public void GetSetStepRate ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLCommandBufferTests.cs b/tests/monotouch-test/Metal/MTLCommandBufferTests.cs
index 250144224e94..1e04b63be9b6 100644
--- a/tests/monotouch-test/Metal/MTLCommandBufferTests.cs
+++ b/tests/monotouch-test/Metal/MTLCommandBufferTests.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.IO;
using System.Runtime.InteropServices;
@@ -49,4 +48,3 @@ public void UseResidencySets ()
}
}
}
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLCommandQueueTests.cs b/tests/monotouch-test/Metal/MTLCommandQueueTests.cs
index b1f66a0f9f02..7a0b88342089 100644
--- a/tests/monotouch-test/Metal/MTLCommandQueueTests.cs
+++ b/tests/monotouch-test/Metal/MTLCommandQueueTests.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.IO;
using System.Runtime.InteropServices;
@@ -48,4 +47,3 @@ public void AddOrRemoveResidencySets ()
}
}
}
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLComputeCommandEncoderTest.cs b/tests/monotouch-test/Metal/MTLComputeCommandEncoderTest.cs
index bef33f2672b9..ca16b6b616f7 100644
--- a/tests/monotouch-test/Metal/MTLComputeCommandEncoderTest.cs
+++ b/tests/monotouch-test/Metal/MTLComputeCommandEncoderTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
using Metal;
@@ -68,4 +66,3 @@ public void SetBuffers ()
#endif
}
}
-#endif
diff --git a/tests/monotouch-test/Metal/MTLComputePassDescriptorTest.cs b/tests/monotouch-test/Metal/MTLComputePassDescriptorTest.cs
index 7bc8f2fc2d21..e51ff4e94a1d 100644
--- a/tests/monotouch-test/Metal/MTLComputePassDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLComputePassDescriptorTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
#nullable enable
using System;
@@ -55,5 +54,3 @@ public void SampleBufferAttachments ()
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLComputePassSampleBufferAttachmentDescriptorArrayTest.cs b/tests/monotouch-test/Metal/MTLComputePassSampleBufferAttachmentDescriptorArrayTest.cs
index ce3b1e6cf540..844338f2b377 100644
--- a/tests/monotouch-test/Metal/MTLComputePassSampleBufferAttachmentDescriptorArrayTest.cs
+++ b/tests/monotouch-test/Metal/MTLComputePassSampleBufferAttachmentDescriptorArrayTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
#nullable enable
using System;
@@ -46,4 +45,3 @@ public void IndexerTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Metal/MTLComputePassSampleBufferAttachmentDescriptorTest.cs b/tests/monotouch-test/Metal/MTLComputePassSampleBufferAttachmentDescriptorTest.cs
index 22fd378928a4..2f7fa5ab753c 100644
--- a/tests/monotouch-test/Metal/MTLComputePassSampleBufferAttachmentDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLComputePassSampleBufferAttachmentDescriptorTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
#nullable enable
using System;
@@ -73,5 +72,3 @@ public void EndOfEncoderSampleIndexTest ()
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLCounterSampleBufferDescriptorTest.cs b/tests/monotouch-test/Metal/MTLCounterSampleBufferDescriptorTest.cs
index 1bf9f01abe6f..5785c9ae1a7b 100644
--- a/tests/monotouch-test/Metal/MTLCounterSampleBufferDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLCounterSampleBufferDescriptorTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
#nullable enable
using System;
@@ -85,5 +84,3 @@ public void SampleCountTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLFunctionConstantTest.cs b/tests/monotouch-test/Metal/MTLFunctionConstantTest.cs
index 477de53db407..9cd1e6bcb78e 100644
--- a/tests/monotouch-test/Metal/MTLFunctionConstantTest.cs
+++ b/tests/monotouch-test/Metal/MTLFunctionConstantTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -48,5 +46,3 @@ public void GetIsRequiredTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLIOCompressionContextTest.cs b/tests/monotouch-test/Metal/MTLIOCompressionContextTest.cs
index 1792c3a64e78..4dc6a42b4bb4 100644
--- a/tests/monotouch-test/Metal/MTLIOCompressionContextTest.cs
+++ b/tests/monotouch-test/Metal/MTLIOCompressionContextTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.IO;
using System.Diagnostics;
@@ -48,4 +47,3 @@ public void CreateAndFlushTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Metal/MTLIndirectCommandBufferDescriptorTest.cs b/tests/monotouch-test/Metal/MTLIndirectCommandBufferDescriptorTest.cs
index 3136afb03c14..4e371c1d24f2 100644
--- a/tests/monotouch-test/Metal/MTLIndirectCommandBufferDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLIndirectCommandBufferDescriptorTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -67,5 +65,3 @@ public void GetSetMaxFragmentBufferBindCountTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLIntersectionFunctionTableDescriptorTest.cs b/tests/monotouch-test/Metal/MTLIntersectionFunctionTableDescriptorTest.cs
index a3acce7e8381..6f34d82be493 100644
--- a/tests/monotouch-test/Metal/MTLIntersectionFunctionTableDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLIntersectionFunctionTableDescriptorTest.cs
@@ -1,4 +1,4 @@
-#if !__WATCHOS__ && !__TVOS__
+#if !__TVOS__
#nullable enable
using System;
diff --git a/tests/monotouch-test/Metal/MTLIntersectionFunctionTableTests.cs b/tests/monotouch-test/Metal/MTLIntersectionFunctionTableTests.cs
index a240a86caf9e..7a8acec2de67 100644
--- a/tests/monotouch-test/Metal/MTLIntersectionFunctionTableTests.cs
+++ b/tests/monotouch-test/Metal/MTLIntersectionFunctionTableTests.cs
@@ -1,4 +1,4 @@
-#if !__WATCHOS__ && !__TVOS__
+#if !__TVOS__
using System;
using Foundation;
diff --git a/tests/monotouch-test/Metal/MTLLinkedFunctionsTest.cs b/tests/monotouch-test/Metal/MTLLinkedFunctionsTest.cs
index 43ea4f1dac47..5e835699a3a1 100644
--- a/tests/monotouch-test/Metal/MTLLinkedFunctionsTest.cs
+++ b/tests/monotouch-test/Metal/MTLLinkedFunctionsTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
#nullable enable
using System;
@@ -65,5 +64,3 @@ public void Groupstest ()
}
}
}
-
-#endif
diff --git a/tests/monotouch-test/Metal/MTLPipelineBufferDescriptorTests.cs b/tests/monotouch-test/Metal/MTLPipelineBufferDescriptorTests.cs
index 89d9251179fa..467326597476 100644
--- a/tests/monotouch-test/Metal/MTLPipelineBufferDescriptorTests.cs
+++ b/tests/monotouch-test/Metal/MTLPipelineBufferDescriptorTests.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -37,5 +35,3 @@ public void GetSetMutabilityTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLPointerTypeTests.cs b/tests/monotouch-test/Metal/MTLPointerTypeTests.cs
index d87421504986..ca6107a27592 100644
--- a/tests/monotouch-test/Metal/MTLPointerTypeTests.cs
+++ b/tests/monotouch-test/Metal/MTLPointerTypeTests.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -60,5 +58,3 @@ public void GetElementTypeTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLRenderPassSampleBufferAttachmentDescriptorArrayTest.cs b/tests/monotouch-test/Metal/MTLRenderPassSampleBufferAttachmentDescriptorArrayTest.cs
index 797354702bb6..89d60262558e 100644
--- a/tests/monotouch-test/Metal/MTLRenderPassSampleBufferAttachmentDescriptorArrayTest.cs
+++ b/tests/monotouch-test/Metal/MTLRenderPassSampleBufferAttachmentDescriptorArrayTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
#nullable enable
using System;
@@ -46,4 +45,3 @@ public void IndexerTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Metal/MTLRenderPassSampleBufferAttachmentDescriptorTest.cs b/tests/monotouch-test/Metal/MTLRenderPassSampleBufferAttachmentDescriptorTest.cs
index 5e2fcebd6f35..bb14f4bb273c 100644
--- a/tests/monotouch-test/Metal/MTLRenderPassSampleBufferAttachmentDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLRenderPassSampleBufferAttachmentDescriptorTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
#nullable enable
using System;
@@ -102,4 +101,3 @@ public void EndOfFragmentSampleIndexTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Metal/MTLRenderPipelineDescriptorTest.cs b/tests/monotouch-test/Metal/MTLRenderPipelineDescriptorTest.cs
index ee757d7049e6..c7fff72c00b5 100644
--- a/tests/monotouch-test/Metal/MTLRenderPipelineDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLRenderPipelineDescriptorTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using Foundation;
using Metal;
@@ -137,4 +136,3 @@ public void TessellationControlPointIndexTypeTest ()
});
}
}
-#endif
diff --git a/tests/monotouch-test/Metal/MTLResidencySetTests.cs b/tests/monotouch-test/Metal/MTLResidencySetTests.cs
index e19ac8a096bc..8f8967ef11b4 100644
--- a/tests/monotouch-test/Metal/MTLResidencySetTests.cs
+++ b/tests/monotouch-test/Metal/MTLResidencySetTests.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.IO;
using System.Runtime.InteropServices;
@@ -52,4 +51,3 @@ public void AddOrRemoveAllocations ()
}
}
}
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLResourceStatePassDescriptorTest.cs b/tests/monotouch-test/Metal/MTLResourceStatePassDescriptorTest.cs
index 5b6b2f6e462b..e2f6f2cc3d8a 100644
--- a/tests/monotouch-test/Metal/MTLResourceStatePassDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLResourceStatePassDescriptorTest.cs
@@ -1,4 +1,4 @@
-#if !__WATCHOS__ && !__TVOS__
+#if !__TVOS__
#nullable enable
using System;
diff --git a/tests/monotouch-test/Metal/MTLResourceStatePassSampleBufferAttachmentDescriptorArrayTest.cs b/tests/monotouch-test/Metal/MTLResourceStatePassSampleBufferAttachmentDescriptorArrayTest.cs
index d386d11b809a..2f44b1c2486f 100644
--- a/tests/monotouch-test/Metal/MTLResourceStatePassSampleBufferAttachmentDescriptorArrayTest.cs
+++ b/tests/monotouch-test/Metal/MTLResourceStatePassSampleBufferAttachmentDescriptorArrayTest.cs
@@ -1,4 +1,4 @@
-#if !__WATCHOS__ && !__TVOS__
+#if !__TVOS__
#nullable enable
using System;
diff --git a/tests/monotouch-test/Metal/MTLResourceStatePassSampleBufferAttachmentDescriptorTest.cs b/tests/monotouch-test/Metal/MTLResourceStatePassSampleBufferAttachmentDescriptorTest.cs
index 17ac86fb2650..fdcea2735b15 100644
--- a/tests/monotouch-test/Metal/MTLResourceStatePassSampleBufferAttachmentDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLResourceStatePassSampleBufferAttachmentDescriptorTest.cs
@@ -1,4 +1,4 @@
-#if !__WATCHOS__ && !__TVOS__
+#if !__TVOS__
#nullable enable
using System;
@@ -73,4 +73,4 @@ public void EndOfEncoderSampleIndexTest ()
}
}
}
-#endif
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/Metal/MTLSharedEventListenerTest.cs b/tests/monotouch-test/Metal/MTLSharedEventListenerTest.cs
index e52d91d4ea8b..c64f30b0dbb7 100644
--- a/tests/monotouch-test/Metal/MTLSharedEventListenerTest.cs
+++ b/tests/monotouch-test/Metal/MTLSharedEventListenerTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using CoreFoundation;
@@ -43,5 +41,3 @@ public void GetSetCommandTypesTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLStageInRegionIndirectArgumentsTest.cs b/tests/monotouch-test/Metal/MTLStageInRegionIndirectArgumentsTest.cs
index ae965b18d841..9f4bf81c3247 100644
--- a/tests/monotouch-test/Metal/MTLStageInRegionIndirectArgumentsTest.cs
+++ b/tests/monotouch-test/Metal/MTLStageInRegionIndirectArgumentsTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -28,5 +26,3 @@ public void SizeOfMTLStageInRegionIndirectArgumentsTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLStageInputOutputDescriptorTest.cs b/tests/monotouch-test/Metal/MTLStageInputOutputDescriptorTest.cs
index 397f435affe0..a882f284b779 100644
--- a/tests/monotouch-test/Metal/MTLStageInputOutputDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLStageInputOutputDescriptorTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -57,5 +55,3 @@ public void GetSetIndexBufferTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLTextureReferenceType.cs b/tests/monotouch-test/Metal/MTLTextureReferenceType.cs
index 52b8ee89d450..583ca3b93773 100644
--- a/tests/monotouch-test/Metal/MTLTextureReferenceType.cs
+++ b/tests/monotouch-test/Metal/MTLTextureReferenceType.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -54,5 +52,3 @@ public void GetTextureType ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Metal/MTLTileRenderPipelineColorAttachmentDescriptorTests.cs b/tests/monotouch-test/Metal/MTLTileRenderPipelineColorAttachmentDescriptorTests.cs
index a696cf0c3a2a..8f96276dd7b1 100644
--- a/tests/monotouch-test/Metal/MTLTileRenderPipelineColorAttachmentDescriptorTests.cs
+++ b/tests/monotouch-test/Metal/MTLTileRenderPipelineColorAttachmentDescriptorTests.cs
@@ -42,4 +42,4 @@ public void GetSetPixelFormat ()
}
}
-#endif // !__WATCHOS__
+#endif // !__IOS__
diff --git a/tests/monotouch-test/Metal/MTLTileRenderPipelineDescriptor.cs b/tests/monotouch-test/Metal/MTLTileRenderPipelineDescriptor.cs
index 215fb8724d6d..e6c709787db2 100644
--- a/tests/monotouch-test/Metal/MTLTileRenderPipelineDescriptor.cs
+++ b/tests/monotouch-test/Metal/MTLTileRenderPipelineDescriptor.cs
@@ -81,4 +81,4 @@ public void GetSetMaxTotalThreadsPerThreadgroupTest ()
}
}
-#endif // !__WATCHOS__
+#endif // !__IOS__
diff --git a/tests/monotouch-test/Metal/MTLTileRenderPipelineDescriptorTest.cs b/tests/monotouch-test/Metal/MTLTileRenderPipelineDescriptorTest.cs
index 25523ca47c13..8abb7fc64475 100644
--- a/tests/monotouch-test/Metal/MTLTileRenderPipelineDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLTileRenderPipelineDescriptorTest.cs
@@ -1,4 +1,4 @@
-#if !__WATCHOS__ && !__TVOS__
+#if !__TVOS__
#nullable enable
using System;
diff --git a/tests/monotouch-test/Metal/MTLVisibleFunctionTableDescriptorTest.cs b/tests/monotouch-test/Metal/MTLVisibleFunctionTableDescriptorTest.cs
index 2aa46ce3cfc3..d295cd7bc34f 100644
--- a/tests/monotouch-test/Metal/MTLVisibleFunctionTableDescriptorTest.cs
+++ b/tests/monotouch-test/Metal/MTLVisibleFunctionTableDescriptorTest.cs
@@ -1,4 +1,4 @@
-#if !__WATCHOS__ && !__TVOS__
+#if !__TVOS__
#nullable enable
using System;
diff --git a/tests/monotouch-test/Metal/StructTest.cs b/tests/monotouch-test/Metal/StructTest.cs
index 7e4205ee21f7..609ad8d07178 100644
--- a/tests/monotouch-test/Metal/StructTest.cs
+++ b/tests/monotouch-test/Metal/StructTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using System.Runtime.InteropServices;
@@ -29,5 +27,3 @@ public void MTLTriangleTessellationFactorsHalfStructSize ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/MetalPerformanceShaders/ImageScaleTest.cs b/tests/monotouch-test/MetalPerformanceShaders/ImageScaleTest.cs
index 0db1dba7fad3..5b8298023f94 100644
--- a/tests/monotouch-test/MetalPerformanceShaders/ImageScaleTest.cs
+++ b/tests/monotouch-test/MetalPerformanceShaders/ImageScaleTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
using ObjCRuntime;
@@ -54,5 +52,3 @@ public void ScaleTransform ()
}
}
}
-
-#endif
diff --git a/tests/monotouch-test/MetalPerformanceShaders/KernelTest.cs b/tests/monotouch-test/MetalPerformanceShaders/KernelTest.cs
index 79ee76200208..3e94780439b3 100644
--- a/tests/monotouch-test/MetalPerformanceShaders/KernelTest.cs
+++ b/tests/monotouch-test/MetalPerformanceShaders/KernelTest.cs
@@ -1,7 +1,5 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
-#if !__WATCHOS__
-
using System;
using Foundation;
using ObjCRuntime;
@@ -140,5 +138,3 @@ public void MPSImageLaplacianPyramidCtorArrTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/MetalPerformanceShaders/MPSAccelerationStructureTests.cs b/tests/monotouch-test/MetalPerformanceShaders/MPSAccelerationStructureTests.cs
index 020cedb12262..af0c8de1aad4 100644
--- a/tests/monotouch-test/MetalPerformanceShaders/MPSAccelerationStructureTests.cs
+++ b/tests/monotouch-test/MetalPerformanceShaders/MPSAccelerationStructureTests.cs
@@ -8,8 +8,6 @@
// Copyright 2019 Microsoft Corporation.
//
-#if !__WATCHOS__
-
using System;
using System.Runtime.InteropServices;
@@ -78,4 +76,3 @@ public void MPSAxisAlignedBoundingBoxTest ()
}
}
}
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/MetalPerformanceShaders/MPSImageBatchTests.cs b/tests/monotouch-test/MetalPerformanceShaders/MPSImageBatchTests.cs
index f742f6da4b63..db4166f49487 100644
--- a/tests/monotouch-test/MetalPerformanceShaders/MPSImageBatchTests.cs
+++ b/tests/monotouch-test/MetalPerformanceShaders/MPSImageBatchTests.cs
@@ -8,8 +8,6 @@
// Copyright 2019 Microsoft Corporation.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -73,4 +71,3 @@ public void MPSImageBatchResourceSizeTest ()
//}
}
}
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/MetalPerformanceShaders/MPSImageHistogramEqualizationTest.cs b/tests/monotouch-test/MetalPerformanceShaders/MPSImageHistogramEqualizationTest.cs
index 3f50087960a4..7fa5642db628 100644
--- a/tests/monotouch-test/MetalPerformanceShaders/MPSImageHistogramEqualizationTest.cs
+++ b/tests/monotouch-test/MetalPerformanceShaders/MPSImageHistogramEqualizationTest.cs
@@ -1,7 +1,5 @@
// Copyright 2017 Microsoft Inc. All rights reserved.
-#if !__WATCHOS__
-
using System;
using Foundation;
using ObjCRuntime;
@@ -50,5 +48,3 @@ public void Constructors ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/MetalPerformanceShaders/MPSImageHistogramSpecificationTest.cs b/tests/monotouch-test/MetalPerformanceShaders/MPSImageHistogramSpecificationTest.cs
index 5fc9a22a95d8..79176b7b2d4e 100644
--- a/tests/monotouch-test/MetalPerformanceShaders/MPSImageHistogramSpecificationTest.cs
+++ b/tests/monotouch-test/MetalPerformanceShaders/MPSImageHistogramSpecificationTest.cs
@@ -1,7 +1,5 @@
// Copyright 2017 Microsoft Inc. All rights reserved.
-#if !__WATCHOS__
-
using System;
using Foundation;
using ObjCRuntime;
@@ -49,5 +47,3 @@ public void Constructors ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/MetalPerformanceShaders/MPSImageHistogramTest.cs b/tests/monotouch-test/MetalPerformanceShaders/MPSImageHistogramTest.cs
index 4ac030651337..8cec33e05977 100644
--- a/tests/monotouch-test/MetalPerformanceShaders/MPSImageHistogramTest.cs
+++ b/tests/monotouch-test/MetalPerformanceShaders/MPSImageHistogramTest.cs
@@ -1,7 +1,5 @@
// Copyright 2017 Microsoft Inc. All rights reserved.
-#if !__WATCHOS__
-
using System;
using Foundation;
using ObjCRuntime;
@@ -66,5 +64,3 @@ public void Constructors ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/MetalPerformanceShaders/MPSImageNormalizedHistogramTests.cs b/tests/monotouch-test/MetalPerformanceShaders/MPSImageNormalizedHistogramTests.cs
index f97c64a45ff2..003e4c861e0c 100644
--- a/tests/monotouch-test/MetalPerformanceShaders/MPSImageNormalizedHistogramTests.cs
+++ b/tests/monotouch-test/MetalPerformanceShaders/MPSImageNormalizedHistogramTests.cs
@@ -8,8 +8,6 @@
// Copyright 2019 Microsoft Corporation.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -74,5 +72,3 @@ public void Constructors ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/MetalPerformanceShaders/MPSStateBatchTests.cs b/tests/monotouch-test/MetalPerformanceShaders/MPSStateBatchTests.cs
index 073117c8cda9..f87e61b12495 100644
--- a/tests/monotouch-test/MetalPerformanceShaders/MPSStateBatchTests.cs
+++ b/tests/monotouch-test/MetalPerformanceShaders/MPSStateBatchTests.cs
@@ -8,8 +8,6 @@
// Copyright 2019 Microsoft Corporation.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -59,4 +57,3 @@ public void MPSImageBatchResourceSizeTest ()
}
}
}
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/MetalPerformanceShaders/MPSStateResourceListTests.cs b/tests/monotouch-test/MetalPerformanceShaders/MPSStateResourceListTests.cs
index b06539a0e320..2a0d78f1d6dd 100644
--- a/tests/monotouch-test/MetalPerformanceShaders/MPSStateResourceListTests.cs
+++ b/tests/monotouch-test/MetalPerformanceShaders/MPSStateResourceListTests.cs
@@ -8,8 +8,6 @@
// Copyright 2019 Microsoft Corporation.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -73,4 +71,3 @@ public void SizesCreateTest ()
}
}
}
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/ModelIO/MDLAnimatedValueTypesTests.cs b/tests/monotouch-test/ModelIO/MDLAnimatedValueTypesTests.cs
index 77caffe48ae9..f655871fb954 100644
--- a/tests/monotouch-test/ModelIO/MDLAnimatedValueTypesTests.cs
+++ b/tests/monotouch-test/ModelIO/MDLAnimatedValueTypesTests.cs
@@ -8,8 +8,6 @@
// Copyright 2017 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Linq;
using CoreGraphics;
@@ -739,4 +737,3 @@ public static double [] GetTimesArray (int length)
}
}
}
-#endif
diff --git a/tests/monotouch-test/ModelIO/MDLAssetTest.cs b/tests/monotouch-test/ModelIO/MDLAssetTest.cs
index 1216a0728a50..3cfea04041cb 100644
--- a/tests/monotouch-test/ModelIO/MDLAssetTest.cs
+++ b/tests/monotouch-test/ModelIO/MDLAssetTest.cs
@@ -7,8 +7,6 @@
// Copyright 2017 Microsoft Inc.
//
-#if !__WATCHOS__
-
using System;
using CoreGraphics;
using Foundation;
@@ -53,5 +51,3 @@ public void BoundingBoxTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/ModelIO/MDLCameraTest.cs b/tests/monotouch-test/ModelIO/MDLCameraTest.cs
index aae9443a1484..54c81bbd5f46 100644
--- a/tests/monotouch-test/ModelIO/MDLCameraTest.cs
+++ b/tests/monotouch-test/ModelIO/MDLCameraTest.cs
@@ -7,7 +7,7 @@
// Copyright 2017 Microsoft Inc.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using CoreGraphics;
@@ -110,4 +110,4 @@ public void ProjectionMatrix ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/ModelIO/MDLLight.cs b/tests/monotouch-test/ModelIO/MDLLight.cs
index 1acb8b214c53..bf5561e64412 100644
--- a/tests/monotouch-test/ModelIO/MDLLight.cs
+++ b/tests/monotouch-test/ModelIO/MDLLight.cs
@@ -7,8 +7,6 @@
// Copyright 2015 Xamarin Inc.
//
-#if !__WATCHOS__
-
using System;
using CoreGraphics;
using Foundation;
@@ -56,5 +54,3 @@ public void IrradianceAtPointTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/ModelIO/MDLMaterialProperty.cs b/tests/monotouch-test/ModelIO/MDLMaterialProperty.cs
index d7d67fdedbfe..619ab129459a 100644
--- a/tests/monotouch-test/ModelIO/MDLMaterialProperty.cs
+++ b/tests/monotouch-test/ModelIO/MDLMaterialProperty.cs
@@ -7,8 +7,6 @@
// Copyright 2015 Xamarin Inc.
//
-#if !__WATCHOS__
-
using System;
using CoreGraphics;
using Foundation;
@@ -200,5 +198,3 @@ public void Copy ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/ModelIO/MDLMesh.cs b/tests/monotouch-test/ModelIO/MDLMesh.cs
index 8d87cf5b3b0c..1607b9274ce6 100644
--- a/tests/monotouch-test/ModelIO/MDLMesh.cs
+++ b/tests/monotouch-test/ModelIO/MDLMesh.cs
@@ -7,8 +7,6 @@
// Copyright 2015 Xamarin Inc.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
#if !__TVOS__
@@ -305,5 +303,3 @@ public void CreateIcosahedronTest ()
// }
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/ModelIO/MDLNoiseTexture.cs b/tests/monotouch-test/ModelIO/MDLNoiseTexture.cs
index e772c89cc9da..db948a644a3f 100644
--- a/tests/monotouch-test/ModelIO/MDLNoiseTexture.cs
+++ b/tests/monotouch-test/ModelIO/MDLNoiseTexture.cs
@@ -7,8 +7,6 @@
// Copyright 2016 Microsoft
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using ModelIO;
@@ -49,5 +47,3 @@ public void Ctor ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/ModelIO/MDLObject.cs b/tests/monotouch-test/ModelIO/MDLObject.cs
index cdbf5015b226..bf2712f32600 100644
--- a/tests/monotouch-test/ModelIO/MDLObject.cs
+++ b/tests/monotouch-test/ModelIO/MDLObject.cs
@@ -7,8 +7,6 @@
// Copyright 2015 Xamarin Inc.
//
-#if !__WATCHOS__
-
using System;
using CoreGraphics;
using Foundation;
@@ -56,5 +54,3 @@ public void ProtocolTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/ModelIO/MDLStereoscopicCameraTest.cs b/tests/monotouch-test/ModelIO/MDLStereoscopicCameraTest.cs
index e0f4cb8ae6a3..4ad5785292cc 100644
--- a/tests/monotouch-test/ModelIO/MDLStereoscopicCameraTest.cs
+++ b/tests/monotouch-test/ModelIO/MDLStereoscopicCameraTest.cs
@@ -7,7 +7,7 @@
// Copyright 2017 Microsoft Inc.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using CoreGraphics;
@@ -132,4 +132,4 @@ public void Properties ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/ModelIO/MDLTexture.cs b/tests/monotouch-test/ModelIO/MDLTexture.cs
index ff7df4a7187d..5f52b017c6b2 100644
--- a/tests/monotouch-test/ModelIO/MDLTexture.cs
+++ b/tests/monotouch-test/ModelIO/MDLTexture.cs
@@ -7,8 +7,6 @@
// Copyright 2015 Xamarin Inc.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
#if !__TVOS__
@@ -100,5 +98,3 @@ public void DimensionsTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/ModelIO/MDLTransform.cs b/tests/monotouch-test/ModelIO/MDLTransform.cs
index b6ef54b7e0a0..17499df62589 100644
--- a/tests/monotouch-test/ModelIO/MDLTransform.cs
+++ b/tests/monotouch-test/ModelIO/MDLTransform.cs
@@ -7,8 +7,6 @@
// Copyright 2015 Xamarin Inc.
//
-#if !__WATCHOS__
-
using System;
using CoreGraphics;
@@ -224,5 +222,3 @@ public void GetRotationMatrixTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/ModelIO/MDLTransformComponentTest.cs b/tests/monotouch-test/ModelIO/MDLTransformComponentTest.cs
index cb03d8acf095..45e13152ae47 100644
--- a/tests/monotouch-test/ModelIO/MDLTransformComponentTest.cs
+++ b/tests/monotouch-test/ModelIO/MDLTransformComponentTest.cs
@@ -7,7 +7,7 @@
// Copyright 2017 Microsoft inc
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using CoreGraphics;
@@ -270,4 +270,4 @@ public void CreateGlobalTransformTest ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/ModelIO/MDLVertexAttribute.cs b/tests/monotouch-test/ModelIO/MDLVertexAttribute.cs
index 0a2bba2bf4af..2dfd931f764c 100644
--- a/tests/monotouch-test/ModelIO/MDLVertexAttribute.cs
+++ b/tests/monotouch-test/ModelIO/MDLVertexAttribute.cs
@@ -7,8 +7,6 @@
// Copyright 2015 Xamarin Inc.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
#if !MONOMAC
@@ -79,5 +77,3 @@ public void Properties ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/ModelIO/MDLVoxelArrayTest.cs b/tests/monotouch-test/ModelIO/MDLVoxelArrayTest.cs
index 7c865dce0345..fde4fded3bff 100644
--- a/tests/monotouch-test/ModelIO/MDLVoxelArrayTest.cs
+++ b/tests/monotouch-test/ModelIO/MDLVoxelArrayTest.cs
@@ -7,8 +7,6 @@
// Copyright 2017 Microsoft Inc.
//
-#if !__WATCHOS__
-
using System;
using CoreGraphics;
using Foundation;
@@ -81,5 +79,3 @@ public void BoundingBoxTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/MultipeerConnectivity/PeerIDTest.cs b/tests/monotouch-test/MultipeerConnectivity/PeerIDTest.cs
index 8a203032c817..8ea3b1bdef4e 100644
--- a/tests/monotouch-test/MultipeerConnectivity/PeerIDTest.cs
+++ b/tests/monotouch-test/MultipeerConnectivity/PeerIDTest.cs
@@ -7,7 +7,7 @@
// Copyright 2013 Xamarin Inc.
//
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using Foundation;
@@ -49,4 +49,4 @@ public void LocalPeer ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/MultipeerConnectivity/SessionTest.cs b/tests/monotouch-test/MultipeerConnectivity/SessionTest.cs
index 872920e15bea..c98a912bc859 100644
--- a/tests/monotouch-test/MultipeerConnectivity/SessionTest.cs
+++ b/tests/monotouch-test/MultipeerConnectivity/SessionTest.cs
@@ -7,7 +7,7 @@
// Copyright 2013 Xamarin Inc.
//
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using Foundation;
@@ -108,4 +108,4 @@ public void Ctor_Identity_Certificates ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/Network/NSUrlTest.cs b/tests/monotouch-test/Network/NSUrlTest.cs
index 93384bab12fe..973dddbc582d 100644
--- a/tests/monotouch-test/Network/NSUrlTest.cs
+++ b/tests/monotouch-test/Network/NSUrlTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using Foundation;
using Network;
@@ -17,4 +16,3 @@ public void ImplicitConversion ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWBrowserDescriptorTest.cs b/tests/monotouch-test/Network/NWBrowserDescriptorTest.cs
index 7af05813942e..af21114a6a47 100644
--- a/tests/monotouch-test/Network/NWBrowserDescriptorTest.cs
+++ b/tests/monotouch-test/Network/NWBrowserDescriptorTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using Foundation;
using Network;
@@ -66,4 +65,3 @@ public void TestApplicationServiceConstructor ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWBrowserTest.cs b/tests/monotouch-test/Network/NWBrowserTest.cs
index bc5a03b05e35..92c70c11b874 100644
--- a/tests/monotouch-test/Network/NWBrowserTest.cs
+++ b/tests/monotouch-test/Network/NWBrowserTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.Threading;
@@ -163,4 +162,3 @@ public void TestStateChangesHandler ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWConnectionTest.cs b/tests/monotouch-test/Network/NWConnectionTest.cs
index 4beda2f34a4f..f295e7cdaffd 100644
--- a/tests/monotouch-test/Network/NWConnectionTest.cs
+++ b/tests/monotouch-test/Network/NWConnectionTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.Threading;
@@ -115,4 +114,3 @@ public void TestForceCancel ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWEndpointTests.cs b/tests/monotouch-test/Network/NWEndpointTests.cs
index 4a67b87ce4ae..7739b3a06767 100644
--- a/tests/monotouch-test/Network/NWEndpointTests.cs
+++ b/tests/monotouch-test/Network/NWEndpointTests.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using Foundation;
using Network;
@@ -64,4 +63,3 @@ public void TxtRecordTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWEstablishmentReportTest.cs b/tests/monotouch-test/Network/NWEstablishmentReportTest.cs
index 79a664269252..685b7be21a4c 100644
--- a/tests/monotouch-test/Network/NWEstablishmentReportTest.cs
+++ b/tests/monotouch-test/Network/NWEstablishmentReportTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.Threading;
@@ -127,4 +126,3 @@ public void EnumerateResolutionReportsTest ()
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWFramerMessageTest.cs b/tests/monotouch-test/Network/NWFramerMessageTest.cs
index b4a1012ec6c9..a49e48c15bdd 100644
--- a/tests/monotouch-test/Network/NWFramerMessageTest.cs
+++ b/tests/monotouch-test/Network/NWFramerMessageTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.Text;
@@ -84,4 +83,3 @@ public void TestGetDataMissingKey ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWIPProtocolMetadataTest.cs b/tests/monotouch-test/Network/NWIPProtocolMetadataTest.cs
index 835c0f882616..bf86b987d0bf 100644
--- a/tests/monotouch-test/Network/NWIPProtocolMetadataTest.cs
+++ b/tests/monotouch-test/Network/NWIPProtocolMetadataTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using Foundation;
@@ -59,4 +58,3 @@ public void TestMetadataType ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWListenerTest.cs b/tests/monotouch-test/Network/NWListenerTest.cs
index f6c626bef9cb..ea93abca3bee 100644
--- a/tests/monotouch-test/Network/NWListenerTest.cs
+++ b/tests/monotouch-test/Network/NWListenerTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using Foundation;
@@ -73,4 +72,3 @@ public void TestCreateLaunchd ()
#endif
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWParametersTest.cs b/tests/monotouch-test/Network/NWParametersTest.cs
index 2b31fc83e4ae..955706f4230f 100644
--- a/tests/monotouch-test/Network/NWParametersTest.cs
+++ b/tests/monotouch-test/Network/NWParametersTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.Collections.Generic;
using System.Threading;
@@ -412,4 +411,3 @@ public void CreateApplicationServiceTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWPathMonitorTest.cs b/tests/monotouch-test/Network/NWPathMonitorTest.cs
index 58f2f031b199..f4b89da0e7ab 100644
--- a/tests/monotouch-test/Network/NWPathMonitorTest.cs
+++ b/tests/monotouch-test/Network/NWPathMonitorTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.Threading;
@@ -105,4 +104,3 @@ public void CreateForEthernetChannelTest ()
#endif
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWPathTest.cs b/tests/monotouch-test/Network/NWPathTest.cs
index 8bb350f4e1d4..02a9c0b843b0 100644
--- a/tests/monotouch-test/Network/NWPathTest.cs
+++ b/tests/monotouch-test/Network/NWPathTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.Collections.Generic;
using System.Threading;
@@ -200,5 +199,3 @@ public void GetUnsatisfiedReason ()
}
}
}
-
-#endif
diff --git a/tests/monotouch-test/Network/NWPrivacyContextTest.cs b/tests/monotouch-test/Network/NWPrivacyContextTest.cs
index 0ec9fb938761..c1dd3ed26a23 100644
--- a/tests/monotouch-test/Network/NWPrivacyContextTest.cs
+++ b/tests/monotouch-test/Network/NWPrivacyContextTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.Threading;
using Network;
@@ -62,4 +61,3 @@ public void ClearProxyTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWProtocolDefinitionTest.cs b/tests/monotouch-test/Network/NWProtocolDefinitionTest.cs
index 426d87fbcd86..2f82863ca759 100644
--- a/tests/monotouch-test/Network/NWProtocolDefinitionTest.cs
+++ b/tests/monotouch-test/Network/NWProtocolDefinitionTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using Foundation;
using Network;
@@ -52,4 +51,3 @@ public void WebSocketDefinitionTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWProtocolIPOptionsTest.cs b/tests/monotouch-test/Network/NWProtocolIPOptionsTest.cs
index 188d1574ba83..cfe5607b095f 100644
--- a/tests/monotouch-test/Network/NWProtocolIPOptionsTest.cs
+++ b/tests/monotouch-test/Network/NWProtocolIPOptionsTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.Threading;
@@ -118,4 +117,3 @@ public void DisableMulticastLoopbackTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWProtocolMetadataTest.cs b/tests/monotouch-test/Network/NWProtocolMetadataTest.cs
index 3c53e147d026..538837b2efc8 100644
--- a/tests/monotouch-test/Network/NWProtocolMetadataTest.cs
+++ b/tests/monotouch-test/Network/NWProtocolMetadataTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using Foundation;
using Network;
@@ -97,4 +96,3 @@ public void Quic ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWProtocolOptionsTest.cs b/tests/monotouch-test/Network/NWProtocolOptionsTest.cs
index a040600d924c..5d0db619ef2d 100644
--- a/tests/monotouch-test/Network/NWProtocolOptionsTest.cs
+++ b/tests/monotouch-test/Network/NWProtocolOptionsTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using Foundation;
using Network;
@@ -86,4 +85,3 @@ public void SetIPLocalAddressPreference ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWProtocolStackTest.cs b/tests/monotouch-test/Network/NWProtocolStackTest.cs
index 3f62e6ccd9ae..0cacd125e21f 100644
--- a/tests/monotouch-test/Network/NWProtocolStackTest.cs
+++ b/tests/monotouch-test/Network/NWProtocolStackTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.Collections.Generic;
using System.Threading;
@@ -145,5 +144,3 @@ public void InternetProtocolTest ()
*/
}
}
-
-#endif
diff --git a/tests/monotouch-test/Network/NWProtocolTcpOptionsTest.cs b/tests/monotouch-test/Network/NWProtocolTcpOptionsTest.cs
index b34e38e32a9c..ecf35c6bb9df 100644
--- a/tests/monotouch-test/Network/NWProtocolTcpOptionsTest.cs
+++ b/tests/monotouch-test/Network/NWProtocolTcpOptionsTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using Foundation;
@@ -82,4 +81,3 @@ public void ForceMultipathVersionTest ()
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWProtocolTlsOptionsTest.cs b/tests/monotouch-test/Network/NWProtocolTlsOptionsTest.cs
index e7329a7a2727..a9021dc6efb2 100644
--- a/tests/monotouch-test/Network/NWProtocolTlsOptionsTest.cs
+++ b/tests/monotouch-test/Network/NWProtocolTlsOptionsTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using Foundation;
using Network;
@@ -34,4 +33,3 @@ public void ProtocolOptionsTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWProtocolUdpOptionsTest.cs b/tests/monotouch-test/Network/NWProtocolUdpOptionsTest.cs
index 1db0ee6a0e83..97541b01d969 100644
--- a/tests/monotouch-test/Network/NWProtocolUdpOptionsTest.cs
+++ b/tests/monotouch-test/Network/NWProtocolUdpOptionsTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using Foundation;
using Network;
@@ -32,4 +31,3 @@ public void SetUp ()
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWProxyConfigTests.cs b/tests/monotouch-test/Network/NWProxyConfigTests.cs
index 5e6835a301ce..7113aea289c2 100644
--- a/tests/monotouch-test/Network/NWProxyConfigTests.cs
+++ b/tests/monotouch-test/Network/NWProxyConfigTests.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.Collections.Generic;
using Foundation;
@@ -201,4 +200,3 @@ public void DefaultSessionConfigurationProxyConfigurationsTests ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWRelayHopTests.cs b/tests/monotouch-test/Network/NWRelayHopTests.cs
index fd24ace03da4..d09b6194ea11 100644
--- a/tests/monotouch-test/Network/NWRelayHopTests.cs
+++ b/tests/monotouch-test/Network/NWRelayHopTests.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using Foundation;
using Network;
@@ -39,4 +38,3 @@ public void AddAdditionalHttpHeaderFieldTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWResolutionReportTest.cs b/tests/monotouch-test/Network/NWResolutionReportTest.cs
index 70cfa44820b0..381a5fee423e 100644
--- a/tests/monotouch-test/Network/NWResolutionReportTest.cs
+++ b/tests/monotouch-test/Network/NWResolutionReportTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System.Threading;
using Foundation;
using Network;
@@ -118,4 +117,3 @@ public void ProtocolTest ()
});
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWResolverConfigTest.cs b/tests/monotouch-test/Network/NWResolverConfigTest.cs
index c760be20ddd0..924d3def4a34 100644
--- a/tests/monotouch-test/Network/NWResolverConfigTest.cs
+++ b/tests/monotouch-test/Network/NWResolverConfigTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using Foundation;
using Network;
@@ -44,4 +43,3 @@ public void AddServerAddressTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWTxtRecordTest.cs b/tests/monotouch-test/Network/NWTxtRecordTest.cs
index 23de3aebc62a..f8c578e87df0 100644
--- a/tests/monotouch-test/Network/NWTxtRecordTest.cs
+++ b/tests/monotouch-test/Network/NWTxtRecordTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System.Collections.Generic;
using System.Threading;
@@ -169,4 +168,3 @@ public void TestGetRaw ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWWebSocketMetadataTest.cs b/tests/monotouch-test/Network/NWWebSocketMetadataTest.cs
index 405f5163d08d..7decceae0aa7 100644
--- a/tests/monotouch-test/Network/NWWebSocketMetadataTest.cs
+++ b/tests/monotouch-test/Network/NWWebSocketMetadataTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using CoreFoundation;
@@ -55,4 +54,3 @@ public void TestServerResponse ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Network/NWWebSocketOptionsTest.cs b/tests/monotouch-test/Network/NWWebSocketOptionsTest.cs
index 09cac65e3611..8eb6b711939a 100644
--- a/tests/monotouch-test/Network/NWWebSocketOptionsTest.cs
+++ b/tests/monotouch-test/Network/NWWebSocketOptionsTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using CoreFoundation;
@@ -91,4 +90,3 @@ public void TestSkipHandShake ()
}
}
-#endif
diff --git a/tests/monotouch-test/NetworkExtension/OnDemandTest.cs b/tests/monotouch-test/NetworkExtension/OnDemandTest.cs
index f8147b871e71..10bccec72ef1 100644
--- a/tests/monotouch-test/NetworkExtension/OnDemandTest.cs
+++ b/tests/monotouch-test/NetworkExtension/OnDemandTest.cs
@@ -7,7 +7,7 @@
// Copyright 2014 Xamarin Inc. All rights reserved.
//
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using Foundation;
@@ -152,4 +152,4 @@ public void EvaluateConnectionRule ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/NetworkExtension/VpnManagerTest.cs b/tests/monotouch-test/NetworkExtension/VpnManagerTest.cs
index 4f49c00f4392..aed306c35d49 100644
--- a/tests/monotouch-test/NetworkExtension/VpnManagerTest.cs
+++ b/tests/monotouch-test/NetworkExtension/VpnManagerTest.cs
@@ -7,7 +7,7 @@
// Copyright 2014 Xamarin Inc. All rights reserved.
//
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using Foundation;
@@ -66,4 +66,4 @@ public void Fields ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/ObjCRuntime/CategoryTest.cs b/tests/monotouch-test/ObjCRuntime/CategoryTest.cs
index bd7834f6dc2c..2d71396d13b9 100644
--- a/tests/monotouch-test/ObjCRuntime/CategoryTest.cs
+++ b/tests/monotouch-test/ObjCRuntime/CategoryTest.cs
@@ -19,9 +19,7 @@
#if !__TVOS__
using MapKit;
#endif
-#if !__WATCHOS__
using CoreAnimation;
-#endif
using CoreGraphics;
using CoreLocation;
using PlatformException = ObjCRuntime.RuntimeException;
@@ -95,7 +93,7 @@ public void Instance ()
}
}
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
[Test]
public void NavigationControllerOverride ()
{
@@ -122,10 +120,10 @@ public void NavigationControllerOverride ()
Rotation_IOS6.ShouldAutoRotateCallback = null;
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
}
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
[CatAttrib (typeof (UINavigationController))]
[Preserve (AllMembers = true)]
static class Rotation_IOS6 {
@@ -138,5 +136,5 @@ static bool ShouldAutoRotate (this UINavigationController self)
return true;
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
}
diff --git a/tests/monotouch-test/ObjCRuntime/ExceptionsTest.cs b/tests/monotouch-test/ObjCRuntime/ExceptionsTest.cs
index b3e3b057c888..928992e58276 100644
--- a/tests/monotouch-test/ObjCRuntime/ExceptionsTest.cs
+++ b/tests/monotouch-test/ObjCRuntime/ExceptionsTest.cs
@@ -26,9 +26,6 @@ public class ExceptionsTest {
#if NET
MarshalObjectiveCExceptionMode defaultObjectiveCExceptionMode = MarshalObjectiveCExceptionMode.ThrowManagedException;
MarshalManagedExceptionMode defaultManagedExceptionMode = MarshalManagedExceptionMode.Default;
-#elif __WATCHOS__
- MarshalObjectiveCExceptionMode defaultObjectiveCExceptionMode = MarshalObjectiveCExceptionMode.ThrowManagedException;
- MarshalManagedExceptionMode defaultManagedExceptionMode = MarshalManagedExceptionMode.Default;
#else
#if (__MACOS__ || __MACCATALYST__) && DEBUG
MarshalObjectiveCExceptionMode defaultObjectiveCExceptionMode = MarshalObjectiveCExceptionMode.ThrowManagedException;
@@ -88,12 +85,12 @@ static void UninstallHandlers ()
[Test]
public void ObjCException ()
{
-#if !__WATCHOS__ && !__MACOS__ && !__MACCATALYST__
+#if !__MACOS__ && !__MACCATALYST__
if (Runtime.Arch == Arch.DEVICE)
Assert.Ignore ("This test requires wrapper functions, which are not enabled for monotouch-test on device.");
#endif
-#if !DEBUG && !__WATCHOS__
+#if !DEBUG
Assert.Ignore ("This test only works in debug mode in the simulator.");
#endif
@@ -136,11 +133,11 @@ public void ManagedExceptionPassthrough ()
{
Exception thrownException = null;
-#if !__WATCHOS__ && !__MACOS__
+#if !__MACOS__
TestRuntime.AssertNotDevice ("This test requires wrapper functions, which are not enabled for monotouch-test on device.");
#endif
-#if !DEBUG && !__WATCHOS__
+#if !DEBUG
Assert.Ignore ("This test only works in debug mode in the simulator.");
#endif
diff --git a/tests/monotouch-test/ObjCRuntime/Messaging.cs b/tests/monotouch-test/ObjCRuntime/Messaging.cs
index af811316adfa..cf83810cc744 100644
--- a/tests/monotouch-test/ObjCRuntime/Messaging.cs
+++ b/tests/monotouch-test/ObjCRuntime/Messaging.cs
@@ -2,9 +2,7 @@
using System.Runtime.InteropServices;
using System.Drawing;
-#if !__WATCHOS__
using CoreAnimation;
-#endif
#if !__TVOS__
using MapKit;
#endif
@@ -179,7 +177,6 @@ public struct objc_super {
[DllImport (LIBOBJC_DYLIB, EntryPoint = "objc_msgSend")]
public extern static CGRect CGRect_objc_msgSend_CGRect_CGRect_CGRect (IntPtr receiver, IntPtr selector, CGRect p1, CGRect p2, CGRect p3);
-#if !__WATCHOS__
#if !NET
[DllImport (LIBOBJC_DYLIB, EntryPoint = "objc_msgSend")]
public extern static Matrix3 Matrix3_objc_msgSend (IntPtr receiver, IntPtr selector);
@@ -187,7 +184,6 @@ public struct objc_super {
[DllImport (LIBOBJC_DYLIB, EntryPoint = "objc_msgSend")]
public extern static CATransform3D CATransform3D_objc_msgSend (IntPtr receiver, IntPtr selector);
-#endif // !__WATCHOS__
#if !__TVOS__
[DllImport (LIBOBJC_DYLIB, EntryPoint = "objc_msgSend_stret")]
@@ -203,11 +199,6 @@ public struct objc_super {
[DllImport (LIBOBJC_DYLIB, EntryPoint = "objc_msgSend_stret")]
public extern static void CGSize_objc_msgSend_stret (out CGSize buf, IntPtr receiver, IntPtr selector);
-#if !__WATCHOS__ && !NET
- [DllImport (LIBOBJC_DYLIB, EntryPoint = "objc_msgSend_stret")]
- public extern static void Matrix3_objc_msgSend_stret (out Matrix3 buf, IntPtr receiver, IntPtr selector);
-#endif // !__WATCHOS__ && !NET
-
[DllImport (LIBOBJC_DYLIB, EntryPoint = "objc_msgSend_stret")]
public extern static void CGRect_objc_msgSend_stret_int (out CGRect buf, IntPtr receiver, IntPtr selector, int p1);
@@ -234,10 +225,8 @@ public struct objc_super {
[DllImport (LIBOBJC_DYLIB, EntryPoint = "objc_msgSend_stret")]
public extern static void CGRect_objc_msgSend_stret_CGRect_CGRect_CGRect (out CGRect buf, IntPtr receiver, IntPtr selector, CGRect p1, CGRect p2, CGRect p3);
-#if !__WATCHOS__
[DllImport (LIBOBJC_DYLIB, EntryPoint = "objc_msgSend_stret")]
public extern static void CATransform3D_objc_msgSend_stret (out CATransform3D buf, IntPtr receiver, IntPtr selector);
-#endif // !__WATCHOS__
[DllImport (LIBOBJC_DYLIB, EntryPoint = "objc_msgSend")]
public extern static void void_objc_msgSend_int_IntPtr_IntPtr (IntPtr receiver, IntPtr selector, int p1, ref IntPtr p2, out IntPtr p3);
diff --git a/tests/monotouch-test/ObjCRuntime/RegistrarTest.cs b/tests/monotouch-test/ObjCRuntime/RegistrarTest.cs
index de19d1c95263..0d78de252c2e 100644
--- a/tests/monotouch-test/ObjCRuntime/RegistrarTest.cs
+++ b/tests/monotouch-test/ObjCRuntime/RegistrarTest.cs
@@ -36,9 +36,7 @@
#endif
#endif
using ObjCRuntime;
-#if !__WATCHOS__
using CoreAnimation;
-#endif
using CoreGraphics;
using CoreLocation;
#if !__TVOS__
@@ -304,7 +302,7 @@ public void TestStructAndOut ()
Assert.AreEqual (value.Handle, ptr, "#1");
}
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
[MonoPInvokeCallback (typeof (DActionArity1V1))]
static void DActionArity1V1Func (IntPtr block, UIBackgroundFetchResult result)
{
@@ -326,7 +324,7 @@ public void TestAction ()
block.CleanupBlock ();
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
class TS1 : NSObject { }
class TS2 : NSObject { }
@@ -642,7 +640,7 @@ public void TestInstanceMethodOnOpenGenericType ()
}
}
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
[Test]
public void TestGenericUIView ()
{
@@ -657,9 +655,9 @@ public void TestGenericUIView ()
}
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
[Test]
public void TestNativeEnum ()
{
@@ -691,7 +689,7 @@ public void TestNativeEnum ()
}
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
[Test]
public void Bug23289 ()
@@ -960,13 +958,13 @@ public void TestOutParameters (SizeF a, NSError @in, out NSError value)
value = @in;
}
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
[Export ("testAction:")]
public void TestAction ([BlockProxy (typeof (NIDActionArity1V1))] Action action)
{
// bug ?
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
[return: ReleaseAttribute ()]
[Export ("testRetainArray")]
@@ -1009,7 +1007,7 @@ public virtual NSObject TestOverriddenRetainNSObject ()
return new NSObject ();
}
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
[Export ("testNativeEnum1:")]
#if NET
public virtual void TestNativeEnum1 (NSWritingDirection twd)
@@ -1056,7 +1054,7 @@ public virtual void TestNativeEnum1 (UITextWritingDirection twd, int a, long b)
Assert.AreEqual (3141592, b, "TestNativeEnum3 b");
}
#endif // NET
-#endif // !__WATCHOS__
+#endif // !MONOMAC
[Export ("testCGPoint:out:")]
public void TestCGPoint (PointF pnt, ref PointF pnt2)
@@ -1064,10 +1062,10 @@ public void TestCGPoint (PointF pnt, ref PointF pnt2)
pnt2.X = pnt.X;
pnt2.Y = pnt.Y;
}
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
[Export ("arrayOfINativeObject")]
public IUIKeyInput [] NativeObjects { get { return null; } }
-#endif // !__WATCHOS__
+#endif // !MONOMAC
[Export ("fetchNSArrayOfNSString:")]
NSArray FetchNSArrayOfNSString (NSArray p0)
@@ -1091,7 +1089,7 @@ NSArray NSArrayOfNSString {
}
}
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
[UnmanagedFunctionPointerAttribute (CallingConvention.Cdecl)]
internal delegate void DActionArity1V1 (IntPtr block, UIBackgroundFetchResult obj);
@@ -1133,7 +1131,7 @@ unsafe void Invoke (UIBackgroundFetchResult obj)
invoker (blockPtr, obj);
}
} /* class NIDActionArity1V1 */
-#endif // !__TVOS__
+#endif // !__TVOS__ && !MONOMAC
[Register ("StaticBaseClass")]
@@ -1421,7 +1419,7 @@ public void TestConstrainedGenericType ()
}
}
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
[Test]
public void TestCopyWithZone ()
{
@@ -1443,7 +1441,7 @@ public NSObject Copy (NSZone zone)
return this;
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
[Test]
public void TestProtocolRegistration ()
@@ -1451,7 +1449,7 @@ public void TestProtocolRegistration ()
var iProtocol = typeof (IProtocol).FullName.Replace (".", "_").Replace ("+", "_");
Assert.AreNotEqual (IntPtr.Zero, Runtime.GetProtocol (iProtocol), "IProtocol");
Assert.IsTrue (Messaging.bool_objc_msgSend_IntPtr (Class.GetHandle (typeof (MyProtocolImplementation)), Selector.GetHandle ("conformsToProtocol:"), Runtime.GetProtocol (iProtocol)), "Interface/IProtocol");
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
Assert.IsTrue (Messaging.bool_objc_msgSend_IntPtr (Class.GetHandle (typeof (Test24970)), Selector.GetHandle ("conformsToProtocol:"), Protocol.GetHandle ("UIApplicationDelegate")), "UIApplicationDelegate/17669");
#endif
// We don't support [Adopts] (yet at least).
@@ -1491,7 +1489,6 @@ public static void Foo (IntPtr p1, byte p2, sbyte p3, char p4, short p5, ushort
}
#if !__TVOS__ // No MapKit in TVOS
-#if !__WATCHOS__ // WatchOS has MapKit, but not MKMapView
[Test]
public void TestNativeObjectArray ()
{
@@ -1536,7 +1533,6 @@ public void AddAnnotations (params IMKAnnotation [] annotations)
this.Annotations = annotations;
}
}
-#endif // !__WATCHOS__
#endif // !__TVOS__
class ConstrainedGenericType : NSObject where T : NSObject {
@@ -1592,7 +1588,7 @@ public void Foo (T foo)
}
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
class CustomView : UIView {
public object TypeName;
public object TypeT;
@@ -1612,7 +1608,7 @@ public StringView (RectangleF rect) : base (rect) { }
class NullableIntView : CustomView {
public NullableIntView (RectangleF rect) : base (rect) { }
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
class GenericConstrainedBase : NSObject where T : NSObject {
public T FooT;
@@ -1909,7 +1905,7 @@ public override void OutNSErrorOnStack (NSObject i1, NSObject i2, NSObject i3, l
#endif
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
class Test24970 : UIApplicationDelegate {
// This method uses the [Transient] attribute.
public override UIInterfaceOrientationMask GetSupportedInterfaceOrientations (UIApplication application, UIWindow forWindow)
@@ -2001,7 +1997,7 @@ unsafe void Invoke (UIBackgroundFetchResult obj)
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
[Protocol]
[Model]
@@ -2312,7 +2308,7 @@ public void CustomUserTypeWithDynamicallyLoadedAssembly ()
}
#endif
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
class Bug28757A : NSObject, IUITableViewDataSource {
public virtual nint RowsInSection (UITableView tableView, nint section)
{
@@ -2330,9 +2326,9 @@ public override nint RowsInSection (UITableView tableView, nint section)
return 2;
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
[Test]
public void TestInheritedProtocols ()
{
@@ -2340,9 +2336,9 @@ public void TestInheritedProtocols ()
Assert.AreEqual ((nint) 2, Messaging.nint_objc_msgSend_IntPtr_nint (obj.Handle, Selector.GetHandle ("tableView:numberOfRowsInSection:"), IntPtr.Zero, 0), "#test");
}
}
-#endif // !__WATCHOS
+#endif // !MONOMAC
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
[Test]
public void InOutProtocolMethodArgument ()
{
@@ -2358,9 +2354,9 @@ public void InOutProtocolMethodArgument ()
#endif
}
}
-#endif // !__WATCHOS
+#endif // !MONOMAC
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
class Scroller : NSObject, IUIScrollViewDelegate {
[Export ("scrollViewWillEndDragging:withVelocity:targetContentOffset:")]
public void WillEndDragging (UIScrollView scrollView, PointF velocity, ref PointF targetContentOffset)
@@ -2375,7 +2371,7 @@ public void WillEndDragging (UIScrollView scrollView, PointF velocity, ref Point
targetContentOffset = new CGPoint (123, 345);
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
#if HAS_ADDRESSBOOK && HAS_ADDRESSBOOKUI
[Test]
@@ -2778,11 +2774,7 @@ public override void SetINSCodingArrayMethod (INSCoding [] array)
[Test]
public void TestStringArray ()
{
-#if !__WATCHOS__
var items = 10000; // Big enough to make the GC run while we're marshalling.
-#else
- var items = Runtime.Arch == Arch.DEVICE ? 10 : 10000; // Don't test the GC on device, there's not enough memory.
-#endif
var array = new string [items];
for (var i = 0; i < array.Length; i++)
array [i] = i.ToString ();
@@ -2820,11 +2812,7 @@ public void TestStringArray ()
[Test]
public void TestNSObjectArray ()
{
-#if !__WATCHOS__
var items = 10000; // Big enough to make the GC run while we're marshalling.
-#else
- var items = Runtime.Arch == Arch.DEVICE ? 10 : 10000; // Don't test the GC on device, there's not enough memory.
-#endif
var array = new NSObject [items];
for (var i = 0; i < array.Length; i++)
array [i] = NSNumber.FromInt32 (i);
@@ -2862,11 +2850,7 @@ public void TestNSObjectArray ()
[Test]
public void TestINSCodingArray ()
{
-#if !__WATCHOS__
var items = 10000; // Big enough to make the GC run while we're marshalling.
-#else
- var items = Runtime.Arch == Arch.DEVICE ? 10 : 10000; // Don't test the GC on device, there's not enough memory.
-#endif
var array = new INSCoding [items];
for (var i = 0; i < array.Length; i++)
array [i] = NSNumber.FromInt32 (i);
@@ -5464,7 +5448,7 @@ public override void TestClassArray (int action, ref Class [] refValue, out Clas
}
-#if !__WATCHOS__ && !__TVOS__ // No WebKit on watchOS/tvOS
+#if !__TVOS__ // No WebKit on tvOS
[Test]
public void GenericClassWithUnrelatedGenericDelegate ()
{
@@ -5499,7 +5483,7 @@ public static unsafe void Invoke (IntPtr block, nint value)
del ((WKNavigationActionPolicy) (long) value);
}
}
-#endif // !__WATCHOS__ && !__TVOS__
+#endif // !__TVOS__
[Test]
public void RefEnumValues ()
@@ -5573,7 +5557,6 @@ void PreserveIUIApplicationDelegate (IUIApplicationDelegate obj)
#endif // NET && HAS_UIKIT
}
-#if !__WATCHOS__
[Category (typeof (CALayer))]
static class CALayerColorsHelpers {
[Export ("setBorderUIColor:")]
@@ -5582,7 +5565,6 @@ static void BorderUIColor (this CALayer self, UIColor borderColor)
self.BorderColor = borderColor.CGColor;
}
}
-#endif // !__WATCHOS__
[TestFixture]
@@ -5717,7 +5699,7 @@ public virtual void DoWork (string who, ACompletionHandler completion)
}
}
-#if !__WATCHOS__ && !__TVOS__ // No WebKit on watchOS/tvOS
+#if !__TVOS__ // No WebKit on watchOS/tvOS
[Preserve]
public class GenericWebNavigationThingie : NSObject, IWKNavigationDelegate {
[Export ("webView:decidePolicyForNavigationAction:decisionHandler:")]
@@ -5728,7 +5710,6 @@ public void DecidePolicy (WKWebView webView, WKNavigationAction navigationAction
}
#endif
-#if !__WATCHOS__ // no MetalKit on watchOS
// These classes implement Metal* protocols, so that the generated registrar code includes the corresponding Metal* headers.
// https://github.com/xamarin/xamarin-macios/issues/4422
class MetalKitTypesInTheSimulator : NSObject, MetalKit.IMTKViewDelegate {
@@ -5782,7 +5763,6 @@ public void Present (double presentationTime)
}
}
#endif // !__TVOS__
-#endif // !__WATCHOS__
#if HAS_COREMIDI && !__TVOS__
// This type exports methods with 'MidiThruConnectionEndpoint' parameters, which is a struct with different casing in Objective-C ("MIDI...")
diff --git a/tests/monotouch-test/ObjCRuntime/RuntimeTest.cs b/tests/monotouch-test/ObjCRuntime/RuntimeTest.cs
index 0c8d3008fc7b..4b757803bbde 100644
--- a/tests/monotouch-test/ObjCRuntime/RuntimeTest.cs
+++ b/tests/monotouch-test/ObjCRuntime/RuntimeTest.cs
@@ -1,8 +1,6 @@
using System;
using System.Diagnostics;
-#if !__WATCHOS__
using System.Drawing;
-#endif
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
@@ -10,9 +8,7 @@
using CoreGraphics;
using Foundation;
using ObjCRuntime;
-#if !__WATCHOS__
using SpriteKit;
-#endif
#if !MONOMAC
using UIKit;
#endif
@@ -103,7 +99,6 @@ public void GetNSObject_Subclass ()
}
}
-#if !__WATCHOS__
[Test]
public void GetNSObject_Different_Class ()
{
@@ -121,7 +116,6 @@ public void GetNSObject_Different_Class ()
Assert.That (body, Is.TypeOf (), "SKPhysicsBody");
}
}
-#endif // !__WATCHOS__
[Test]
public void GetNSObject_Posing_Class ()
@@ -297,11 +291,6 @@ public static void NotifyWhenDeallocated (NSObject obj, Action deallocated)
[Test]
public void FinalizationRaceCondition ()
{
-#if __WATCHOS__
- if (Runtime.Arch == Arch.DEVICE)
- Assert.Ignore ("This test uses too much memory for the watch.");
-#endif
-
NSDictionary dict = null;
var thread = new Thread (() => {
@@ -551,11 +540,6 @@ static bool InvokeMe (NSObject obj, int invokerWait)
[TestCase (typeof (ResurrectedObjectsDisposedTestClass))]
public void ResurrectedObjectsDisposedTest (Type type)
{
-#if __WATCHOS__
- if (Runtime.Arch == Arch.DEVICE)
- Assert.Ignore ("This test uses too much memory for the watch.");
-#endif
-
var invokerClassHandle = Class.GetHandle (typeof (ResurrectedObjectsDisposedTestClass));
// Create a number of native objects with no managed wrappers.
diff --git a/tests/monotouch-test/ObjCRuntime/TrampolineTest.cs b/tests/monotouch-test/ObjCRuntime/TrampolineTest.cs
index 66e4f555dd30..610fa22fdb91 100644
--- a/tests/monotouch-test/ObjCRuntime/TrampolineTest.cs
+++ b/tests/monotouch-test/ObjCRuntime/TrampolineTest.cs
@@ -8,13 +8,9 @@
#if !__TVOS__
using MapKit;
#endif
-#if !__WATCHOS__
using CoreAnimation;
-#endif
using CoreLocation;
-#if !__WATCHOS__
using CoreMedia;
-#endif
using NUnit.Framework;
#if NET
@@ -39,7 +35,7 @@ public class TrampolineTest {
public static bool IsArm64 { get { return IntPtr.Size == 8 && IsArm64CallingConvention; } }
public static bool IsArm32 {
get {
-#if __WATCHOS__ || __MACOS__ || __MACCATALYST__
+#if __MACOS__ || __MACCATALYST__
return false;
#else
return IntPtr.Size == 4 && Runtime.Arch == Arch.DEVICE;
@@ -55,15 +51,10 @@ public static bool IsArm64CallingConvention {
public static bool IsArmv7k {
get {
-#if __WATCHOS__
- return Runtime.Arch == Arch.DEVICE && !IsArm64CallingConvention;
-#else
return false;
-#endif
}
}
-#if !__WATCHOS__
[Test]
public void StretTrampolineTest ()
{
@@ -80,7 +71,6 @@ public void StretTrampolineTest ()
Assert.AreEqual (1, tr.Start.Value);
Assert.AreEqual (1, tr.Start.TimeScale);
}
-#endif // !__WATCHOS__
[Test]
public void DoubleReturnTest ()
@@ -131,14 +121,6 @@ public void LoooongTest ()
const string LIBOBJC_DYLIB = "/usr/lib/libobjc.dylib";
-#if !__WATCHOS__ && !NET
- [DllImport (LIBOBJC_DYLIB, EntryPoint = "objc_msgSend")]
- extern static OpenTK.Matrix4 Matrix4_objc_msgSend (IntPtr receiver, IntPtr selector);
-
- [DllImport (LIBOBJC_DYLIB, EntryPoint = "objc_msgSend_stret")]
- extern static void Matrix4_objc_msgSend_stret (out OpenTK.Matrix4 retval, IntPtr receiver, IntPtr selector);
-#endif // !__WATCHOS__ && !NET
-
[DllImport (LIBOBJC_DYLIB, EntryPoint = "objc_msgSend_stret")]
extern static void double_objc_msgSend_stret_out_double (out double retval, IntPtr receiver, IntPtr selector, out double arg1);
@@ -176,13 +158,11 @@ public void LoooongTest ()
extern static bool bool_objc_msgSend_out_CGPoint (IntPtr receiver, IntPtr selector, out CGPoint point);
-#if !__WATCHOS__
[DllImport (LIBOBJC_DYLIB, EntryPoint = "objc_msgSend")]
extern static CMTimeRange CMTimeRange_objc_msgSend (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint = "objc_msgSend_stret")]
extern static void CMTimeRange_objc_msgSend (out CMTimeRange retval, IntPtr receiver, IntPtr selector);
-#endif // !__WATCHOS__
void AreAlmostEqual (CGRect left, CGRect right, string message)
{
@@ -204,11 +184,6 @@ public void FloatingPointStretTrampolineTest ()
FloatingPointStretTrampolines obj = new FloatingPointStretTrampolines ();
IntPtr class_ptr = Class.GetHandle ("FloatingPointStretTrampolines");
NSString tmp_obj = obj.StringObj;
-#if !__WATCHOS__ && !NET
- Matrix3 matrix3;
- Matrix4 matrix4;
- CATransform3D catransform3d;
-#endif // !__WATCHOS__ && !NET
int i;
rect2 = new CGRect (1.2f, 2.3f, 3.4f, 4.5f);
@@ -310,33 +285,6 @@ public void FloatingPointStretTrampolineTest ()
}
Assert.That (rect == new CGRect (20, 30, 40, 50), "#testCGRect_CGRect_CGRect_CGRect:b:c:");
-#if !__WATCHOS__ && !NET
- if (IsArm64CallingConvention) {
- matrix3 = Messaging.Matrix3_objc_msgSend (obj.Handle, new Selector ("testMatrix3").Handle);
- } else {
- Messaging.Matrix3_objc_msgSend_stret (out matrix3, obj.Handle, new Selector ("testMatrix3").Handle);
- }
- Assert.That (matrix3.Equals (new Matrix3 (1, 2, 3, 4, 5, 6, 7, 8, 9)), "#testMatrix3");
- if (IsArm64CallingConvention) {
- matrix4 = Matrix4_objc_msgSend (obj.Handle, new Selector ("testMatrix4").Handle);
- } else {
- Matrix4_objc_msgSend_stret (out matrix4, obj.Handle, new Selector ("testMatrix4").Handle);
- }
- Assert.That (matrix4.Equals (new Matrix4 (9, 8, 7, 6, 5, 4, 3, 2, 1, 9, 8, 7, 6, 5, 4, 3)), "#testMatrix4");
-
- if (IsArm64CallingConvention) {
- catransform3d = Messaging.CATransform3D_objc_msgSend (obj.Handle, new Selector ("testCATransform3D").Handle);
- } else {
- Messaging.CATransform3D_objc_msgSend_stret (out catransform3d, obj.Handle, new Selector ("testCATransform3D").Handle);
- }
- CATransform3D res = new CATransform3D ();
- res.M11 = 11.1f;
- res.M22 = 22.2f;
- res.M33 = 33.3f;
- res.M44 = 44.4f;
- Assert.That (catransform3d.Equals (res), "#testCATransform3D");
-#endif // !__WATCHOS__
-
CGPoint point;
CGSize size;
@@ -531,7 +479,6 @@ long VeryManyLongs (long a, long b, out long c, out long d)
[Register ("StretTrampolines")]
[Preserve (AllMembers = true)]
public class StretTrampolines : NSObject {
-#if !__WATCHOS__
[Export ("myTimeRange")]
CMTimeRange TimeRange {
get {
@@ -539,7 +486,6 @@ CMTimeRange TimeRange {
return rv;
}
}
-#endif // !__WATCHOS__
}
@@ -721,21 +667,6 @@ public CGRect Test_CGRect_string_string_CGRect (NSString a, NSString b, CGRect c
return new CGRect (c.X * pi, c.Y * pi, c.Width * pi, c.Height * pi);
}
-#if !__WATCHOS__
-#if !NET
- [Export ("testMatrix3")]
- public Matrix3 Test_Matrix3 ()
- {
- return new Matrix3 (1, 2, 3, 4, 5, 6, 7, 8, 9);
- }
-
- [Export ("testMatrix4")]
- public Matrix4 Test_Matrix4 ()
- {
- return new Matrix4 (9, 8, 7, 6, 5, 4, 3, 2, 1, 9, 8, 7, 6, 5, 4, 3);
- }
-#endif // !NET
-
[Export ("testCATransform3D")]
public CATransform3D Test_CATransform3D ()
{
@@ -746,7 +677,6 @@ public CATransform3D Test_CATransform3D ()
res.M44 = 44.4f;
return res;
}
-#endif // !__WATCHOS__
[Export ("testCGPoint")]
public CGPoint Test_CGPoint ()
diff --git a/tests/monotouch-test/PassKit/AddPassesViewControllerTest.cs b/tests/monotouch-test/PassKit/AddPassesViewControllerTest.cs
index f610183806a6..c1671daa06da 100644
--- a/tests/monotouch-test/PassKit/AddPassesViewControllerTest.cs
+++ b/tests/monotouch-test/PassKit/AddPassesViewControllerTest.cs
@@ -7,7 +7,7 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using Foundation;
@@ -57,4 +57,4 @@ public void InitWithNibNameTest ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/PassKit/PassTest.cs b/tests/monotouch-test/PassKit/PassTest.cs
index 9cc54c768a8a..598dfefc8b18 100644
--- a/tests/monotouch-test/PassKit/PassTest.cs
+++ b/tests/monotouch-test/PassKit/PassTest.cs
@@ -34,10 +34,8 @@ public void Defaults ()
using (PKPass pass = new PKPass ()) {
Assert.Null (pass.AuthenticationToken, "AuthenticationToken");
-#if !__WATCHOS__
#if !__MACCATALYST__ // PKPass.Icon doesn't work: https://github.com/xamarin/maccore/issues/2347
Assert.NotNull (pass.Icon, "Icon");
-#endif
#endif
Assert.Null (pass.LocalizedDescription, "LocalizedDescription");
Assert.That (string.IsNullOrEmpty (pass.LocalizedName), Is.False, "LocalizedName");
@@ -68,10 +66,8 @@ public void BoardingPass ()
using (var pass = GetBoardingPass ()) {
Assert.That (pass.AuthenticationToken, Is.EqualTo ("vxwxd7J8AlNNFPS8k0a0FfUFtq0ewzFdc"), "AuthenticationToken");
-#if !__WATCHOS__
#if !__MACCATALYST__ // PKPass.Icon doesn't work: https://github.com/xamarin/maccore/issues/2347
Assert.NotNull (pass.Icon, "Icon");
-#endif
#endif
Assert.That (pass.LocalizedDescription, Is.Not.Null, "LocalizedDescription is not null");
diff --git a/tests/monotouch-test/Photos/LivePhotoEditingContextTest.cs b/tests/monotouch-test/Photos/LivePhotoEditingContextTest.cs
index 1a82cf0574eb..99594236c5be 100644
--- a/tests/monotouch-test/Photos/LivePhotoEditingContextTest.cs
+++ b/tests/monotouch-test/Photos/LivePhotoEditingContextTest.cs
@@ -1,4 +1,4 @@
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
using System;
using System.Diagnostics.CodeAnalysis;
diff --git a/tests/monotouch-test/PushKit/PushRegistryTest.cs b/tests/monotouch-test/PushKit/PushRegistryTest.cs
index c19b58082a56..df6d850b7af1 100644
--- a/tests/monotouch-test/PushKit/PushRegistryTest.cs
+++ b/tests/monotouch-test/PushKit/PushRegistryTest.cs
@@ -1,6 +1,6 @@
// Copyright 2015 Xamarin Inc.
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using CoreFoundation;
@@ -39,4 +39,4 @@ public void CtorDispatchQueue ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/QuickLook/PreviewControllerTest.cs b/tests/monotouch-test/QuickLook/PreviewControllerTest.cs
index e813cb4228ac..da7dc8c1036a 100644
--- a/tests/monotouch-test/QuickLook/PreviewControllerTest.cs
+++ b/tests/monotouch-test/QuickLook/PreviewControllerTest.cs
@@ -7,7 +7,7 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.Drawing;
@@ -74,4 +74,4 @@ public void DelegateEvents ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/SafariServices/ReadingListTest.cs b/tests/monotouch-test/SafariServices/ReadingListTest.cs
index adb69e91e0c6..0b6726086164 100644
--- a/tests/monotouch-test/SafariServices/ReadingListTest.cs
+++ b/tests/monotouch-test/SafariServices/ReadingListTest.cs
@@ -7,7 +7,7 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.IO;
@@ -78,4 +78,4 @@ public void SupportsUrl ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/SceneKit/GeometrySourceTest.cs b/tests/monotouch-test/SceneKit/GeometrySourceTest.cs
index f68be57c139a..463c1aaf2543 100644
--- a/tests/monotouch-test/SceneKit/GeometrySourceTest.cs
+++ b/tests/monotouch-test/SceneKit/GeometrySourceTest.cs
@@ -1,7 +1,5 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
-#if !__WATCHOS__
-
using System;
using Foundation;
using Metal;
@@ -42,5 +40,3 @@ public void FromMetalBuffer ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/SceneKit/NodeTest.cs b/tests/monotouch-test/SceneKit/NodeTest.cs
index ebc40b1b8023..7872bd65f06f 100644
--- a/tests/monotouch-test/SceneKit/NodeTest.cs
+++ b/tests/monotouch-test/SceneKit/NodeTest.cs
@@ -7,8 +7,6 @@
// Copyright 2014 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using CoreAnimation;
using Foundation;
@@ -62,5 +60,3 @@ public void AddAnimation_Overload ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/SceneKit/SCNMatrixTest.cs b/tests/monotouch-test/SceneKit/SCNMatrixTest.cs
index 743c2badcd9c..3a3f1d1f5b48 100644
--- a/tests/monotouch-test/SceneKit/SCNMatrixTest.cs
+++ b/tests/monotouch-test/SceneKit/SCNMatrixTest.cs
@@ -7,8 +7,6 @@
// Copyright 2014 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
#nullable enable
using System;
@@ -1343,4 +1341,3 @@ static SCNMatrix4 SCNMatrix4MakeScale (SCNVector3 v)
static extern SCNMatrix4 SCNMatrix4Invert (SCNMatrix4 a);
}
}
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/SceneKit/SCNViewTests.cs b/tests/monotouch-test/SceneKit/SCNViewTests.cs
index fe114b572f2e..4c664dcf2cfe 100644
--- a/tests/monotouch-test/SceneKit/SCNViewTests.cs
+++ b/tests/monotouch-test/SceneKit/SCNViewTests.cs
@@ -8,7 +8,6 @@
// Copyright 2018 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
using System;
using NUnit.Framework;
@@ -35,4 +34,3 @@ public void NullOverlaySceneTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/SceneKit/StructTest.cs b/tests/monotouch-test/SceneKit/StructTest.cs
index 244c2af3278a..857af775db11 100644
--- a/tests/monotouch-test/SceneKit/StructTest.cs
+++ b/tests/monotouch-test/SceneKit/StructTest.cs
@@ -7,8 +7,6 @@
// Copyright 2014 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using CoreAnimation;
using Foundation;
@@ -67,5 +65,3 @@ public void Vector ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Security/KeyTest.cs b/tests/monotouch-test/Security/KeyTest.cs
index f449172d86f8..4d67b377fa07 100644
--- a/tests/monotouch-test/Security/KeyTest.cs
+++ b/tests/monotouch-test/Security/KeyTest.cs
@@ -511,9 +511,9 @@ public void RSA ()
Assert.That (data.ToArray (), Is.EqualTo (plain.ToArray ()), "roundtrip");
}
-#if __MACCATALYST__ || __IOS__ || __TVOS__ || __WATCHOS__
+#if __MACCATALYST__ || __IOS__ || __TVOS__
var badDecrypt = !TestRuntime.CheckXcodeVersion (15, 0);
-#elif __IOS__ || __TVOS__ || __WATCHOS__
+#elif __IOS__ || __TVOS__
var badDecrypt = !TestRuntime.CheckXcodeVersion (16, 0);
#else
var badDecrypt = true;
diff --git a/tests/monotouch-test/Security/RecordTest.cs b/tests/monotouch-test/Security/RecordTest.cs
index 322914ed0626..07689ec41125 100644
--- a/tests/monotouch-test/Security/RecordTest.cs
+++ b/tests/monotouch-test/Security/RecordTest.cs
@@ -160,7 +160,7 @@ public void Match ()
if (!TestRuntime.CheckXcodeVersion (7, 0))
return;
-#if __TVOS__ || __WATCHOS__
+#if __TVOS__
Assert.That (rec.AuthenticationUI, Is.EqualTo (SecAuthenticationUI.Fail), "AuthenticationUI-get");
#else
Assert.That (rec.AuthenticationUI, Is.EqualTo (SecAuthenticationUI.NotSet), "AuthenticationUI-get");
diff --git a/tests/monotouch-test/Security/SecProtocolMetadataTest.cs b/tests/monotouch-test/Security/SecProtocolMetadataTest.cs
index 0e790f51d3f9..66a75fd31935 100644
--- a/tests/monotouch-test/Security/SecProtocolMetadataTest.cs
+++ b/tests/monotouch-test/Security/SecProtocolMetadataTest.cs
@@ -1,4 +1,3 @@
-#if !__WATCHOS__
using System;
using System.Runtime.InteropServices;
using System.Threading;
@@ -105,4 +104,3 @@ public void TlsDefaults ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Security/SecureTransportTest.cs b/tests/monotouch-test/Security/SecureTransportTest.cs
index c03dcf78bbc1..e7e184ddc21e 100644
--- a/tests/monotouch-test/Security/SecureTransportTest.cs
+++ b/tests/monotouch-test/Security/SecureTransportTest.cs
@@ -181,7 +181,6 @@ public void SslSupportedCiphers ()
}
#endif
-#if !__WATCHOS__
// This test uses sockets (TcpClient), which doesn't work on watchOS.
[Test]
public void Tls12 ()
@@ -232,6 +231,5 @@ public void Tls12 ()
Assert.That (s, Does.StartWith ("HTTP/1.0 302 Found").Or.StartWith ("HTTP/1.0 200 OK").Or.StartWith ("HTTP/1.0 502 Bad Gateway"), "response");
}
}
-#endif // !__WATCHOS__
}
}
diff --git a/tests/monotouch-test/SharedWithYouCore/SWCollaborationMetadataTest.cs b/tests/monotouch-test/SharedWithYouCore/SWCollaborationMetadataTest.cs
index 99d5fa502003..4e734f9357e8 100644
--- a/tests/monotouch-test/SharedWithYouCore/SWCollaborationMetadataTest.cs
+++ b/tests/monotouch-test/SharedWithYouCore/SWCollaborationMetadataTest.cs
@@ -7,7 +7,7 @@
// Copyright 2022 Microsoft Corporation.
//
-#if !__WATCHOS__ && !__TVOS__
+#if !__TVOS__
using System;
using Foundation;
@@ -48,4 +48,4 @@ public void IdentifierTypeConstructorTest (SWIdentifierType identifierType, stri
}
}
-#endif // !__WATCHOS__ && !__TVOS__
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/SpriteKit/FieldNodeTest.cs b/tests/monotouch-test/SpriteKit/FieldNodeTest.cs
index 5321192af3d9..64494485b167 100644
--- a/tests/monotouch-test/SpriteKit/FieldNodeTest.cs
+++ b/tests/monotouch-test/SpriteKit/FieldNodeTest.cs
@@ -1,6 +1,4 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
using SpriteKit;
@@ -81,5 +79,3 @@ public void CreateCustomField ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/SpriteKit/KeyframeSequenceTest.cs b/tests/monotouch-test/SpriteKit/KeyframeSequenceTest.cs
index d23cd36c8138..0a405a824660 100644
--- a/tests/monotouch-test/SpriteKit/KeyframeSequenceTest.cs
+++ b/tests/monotouch-test/SpriteKit/KeyframeSequenceTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using SpriteKit;
@@ -89,5 +87,3 @@ public void Ctor_Arrays ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/SpriteKit/PhysicsBodyTest.cs b/tests/monotouch-test/SpriteKit/PhysicsBodyTest.cs
index 7b8129fcc564..1f2db10db6e0 100644
--- a/tests/monotouch-test/SpriteKit/PhysicsBodyTest.cs
+++ b/tests/monotouch-test/SpriteKit/PhysicsBodyTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Drawing;
using CoreGraphics;
@@ -52,4 +50,3 @@ public void DefaultCtor ()
}
}
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/SpriteKit/PhysicsJointFixedTest.cs b/tests/monotouch-test/SpriteKit/PhysicsJointFixedTest.cs
index 0fc700c6fa4f..823c899a85f5 100644
--- a/tests/monotouch-test/SpriteKit/PhysicsJointFixedTest.cs
+++ b/tests/monotouch-test/SpriteKit/PhysicsJointFixedTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Drawing;
using CoreGraphics;
@@ -53,5 +51,3 @@ public void Create ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/SpriteKit/PhysicsJointLimitTest.cs b/tests/monotouch-test/SpriteKit/PhysicsJointLimitTest.cs
index df125612bd84..f32e8b57d079 100644
--- a/tests/monotouch-test/SpriteKit/PhysicsJointLimitTest.cs
+++ b/tests/monotouch-test/SpriteKit/PhysicsJointLimitTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Drawing;
using CoreGraphics;
@@ -51,5 +49,3 @@ public void Create ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/SpriteKit/PhysicsWorldTest.cs b/tests/monotouch-test/SpriteKit/PhysicsWorldTest.cs
index 0d4b26865bc4..44e16d841dd0 100644
--- a/tests/monotouch-test/SpriteKit/PhysicsWorldTest.cs
+++ b/tests/monotouch-test/SpriteKit/PhysicsWorldTest.cs
@@ -1,6 +1,3 @@
-
-#if !__WATCHOS__
-
using System;
using Foundation;
using ObjCRuntime;
@@ -41,5 +38,3 @@ public void SampleFields ()
}
}
-#endif // !__WATCHOS__;
-
diff --git a/tests/monotouch-test/SpriteKit/SK3DNodeTest.cs b/tests/monotouch-test/SpriteKit/SK3DNodeTest.cs
index 92360d967950..f8c9fab45b11 100644
--- a/tests/monotouch-test/SpriteKit/SK3DNodeTest.cs
+++ b/tests/monotouch-test/SpriteKit/SK3DNodeTest.cs
@@ -1,6 +1,3 @@
-
-#if !__WATCHOS__
-
using System;
using Foundation;
#if !MONOMAC
@@ -67,5 +64,3 @@ public void UnprojectPoint ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/SpriteKit/SKShapeNodeTest.cs b/tests/monotouch-test/SpriteKit/SKShapeNodeTest.cs
index 7c26246c406f..49768b388a41 100644
--- a/tests/monotouch-test/SpriteKit/SKShapeNodeTest.cs
+++ b/tests/monotouch-test/SpriteKit/SKShapeNodeTest.cs
@@ -7,8 +7,6 @@
// Copyright 2016 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Drawing;
using CoreGraphics;
@@ -88,5 +86,3 @@ public void FromSplinePointsOffsetTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/SpriteKit/SKTransformNodeTest.cs b/tests/monotouch-test/SpriteKit/SKTransformNodeTest.cs
index a0dd9c96c5fd..cc010eb0e110 100644
--- a/tests/monotouch-test/SpriteKit/SKTransformNodeTest.cs
+++ b/tests/monotouch-test/SpriteKit/SKTransformNodeTest.cs
@@ -1,4 +1,4 @@
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using Foundation;
@@ -97,5 +97,4 @@ public void QuaternionTest ()
}
}
}
-
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/SpriteKit/SpriteNodeTest.cs b/tests/monotouch-test/SpriteKit/SpriteNodeTest.cs
index bf435a009721..a6d0d7fdddb5 100644
--- a/tests/monotouch-test/SpriteKit/SpriteNodeTest.cs
+++ b/tests/monotouch-test/SpriteKit/SpriteNodeTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Drawing;
using CoreGraphics;
@@ -44,7 +42,6 @@ public void VersionCheck ()
TestRuntime.AssertSystemVersion (ApplePlatform.iOS, 7, 0, throwIfOtherPlatform: false);
TestRuntime.AssertSystemVersion (ApplePlatform.TVOS, 9, 0, throwIfOtherPlatform: false);
TestRuntime.AssertSystemVersion (ApplePlatform.MacOSX, 10, 9, throwIfOtherPlatform: false);
- TestRuntime.AssertSystemVersion (ApplePlatform.WatchOS, 3, 0, throwIfOtherPlatform: false);
}
[Test]
@@ -115,5 +112,3 @@ public void Texture ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/SpriteKit/TextureAtlasTest.cs b/tests/monotouch-test/SpriteKit/TextureAtlasTest.cs
index cc262574bac5..4a73b6a030fd 100644
--- a/tests/monotouch-test/SpriteKit/TextureAtlasTest.cs
+++ b/tests/monotouch-test/SpriteKit/TextureAtlasTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using SpriteKit;
@@ -33,7 +31,6 @@ public void Empty ()
TestRuntime.AssertSystemVersion (ApplePlatform.iOS, 7, 0, throwIfOtherPlatform: false);
TestRuntime.AssertSystemVersion (ApplePlatform.TVOS, 9, 0, throwIfOtherPlatform: false);
TestRuntime.AssertSystemVersion (ApplePlatform.MacOSX, 10, 9, throwIfOtherPlatform: false);
- TestRuntime.AssertSystemVersion (ApplePlatform.WatchOS, 3, 0, throwIfOtherPlatform: false);
using (var atlas = new SKTextureAtlas ()) {
Assert.That (atlas.TextureNames, Is.Empty, "TextureNames");
@@ -52,5 +49,3 @@ public void Empty ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/SpriteKit/TextureTest.cs b/tests/monotouch-test/SpriteKit/TextureTest.cs
index 7baf66869f08..f3e8c0c96abc 100644
--- a/tests/monotouch-test/SpriteKit/TextureTest.cs
+++ b/tests/monotouch-test/SpriteKit/TextureTest.cs
@@ -7,8 +7,6 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Drawing;
using CoreGraphics;
@@ -38,7 +36,6 @@ public void Atlas_MissingResource ()
TestRuntime.AssertSystemVersion (ApplePlatform.iOS, 7, 0, throwIfOtherPlatform: false);
TestRuntime.AssertSystemVersion (ApplePlatform.TVOS, 9, 0, throwIfOtherPlatform: false);
TestRuntime.AssertSystemVersion (ApplePlatform.MacOSX, 10, 9, throwIfOtherPlatform: false);
- TestRuntime.AssertSystemVersion (ApplePlatform.WatchOS, 3, 0, throwIfOtherPlatform: false);
using (var atlas = new SKTextureAtlas ()) {
// that returns a texture, calling 'MissingResource.png' (128 x 128)
@@ -65,5 +62,3 @@ public void Atlas_MissingResource ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/SpriteKit/UniformTest.cs b/tests/monotouch-test/SpriteKit/UniformTest.cs
index 3e269eadd780..177696194486 100644
--- a/tests/monotouch-test/SpriteKit/UniformTest.cs
+++ b/tests/monotouch-test/SpriteKit/UniformTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
using SpriteKit;
@@ -226,5 +224,3 @@ public void Create ()
}
}
}
-
-#endif // __WATCHOS__
diff --git a/tests/monotouch-test/SpriteKit/WarpGeometryGridTest.cs b/tests/monotouch-test/SpriteKit/WarpGeometryGridTest.cs
index 938cfe891a60..cc191fe40ef3 100644
--- a/tests/monotouch-test/SpriteKit/WarpGeometryGridTest.cs
+++ b/tests/monotouch-test/SpriteKit/WarpGeometryGridTest.cs
@@ -1,5 +1,3 @@
-#if !__WATCHOS__
-
using System;
using Foundation;
using SpriteKit;
@@ -60,5 +58,3 @@ public void GetGridByReplacingDestPositionsTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/StoreKit/ReceiptRefreshRequestTest.cs b/tests/monotouch-test/StoreKit/ReceiptRefreshRequestTest.cs
index 1ef8bcf7c1bf..42da7bfccdb7 100644
--- a/tests/monotouch-test/StoreKit/ReceiptRefreshRequestTest.cs
+++ b/tests/monotouch-test/StoreKit/ReceiptRefreshRequestTest.cs
@@ -7,7 +7,7 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.IO;
@@ -41,4 +41,4 @@ public void TerminateForInvalidReceipt ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/System.Net.Http/MessageHandlers.cs b/tests/monotouch-test/System.Net.Http/MessageHandlers.cs
index 8db9ba50ded8..3076432a3af5 100644
--- a/tests/monotouch-test/System.Net.Http/MessageHandlers.cs
+++ b/tests/monotouch-test/System.Net.Http/MessageHandlers.cs
@@ -36,12 +36,10 @@ public MessageHandlerTest ()
HttpMessageHandler GetHandler (Type handler_type)
{
-#if !__WATCHOS__
if (handler_type == typeof (HttpClientHandler))
return new HttpClientHandler ();
if (handler_type == typeof (CFNetworkHandler))
return new CFNetworkHandler ();
-#endif
#if NET
if (handler_type == typeof (SocketsHttpHandler))
return new SocketsHttpHandler ();
@@ -54,12 +52,10 @@ HttpMessageHandler GetHandler (Type handler_type)
[Test]
-#if !__WATCHOS__
[TestCase (typeof (HttpClientHandler))]
[TestCase (typeof (CFNetworkHandler))]
#if NET
[TestCase (typeof (SocketsHttpHandler))]
-#endif
#endif
[TestCase (typeof (NSUrlSessionHandler))]
public void DnsFailure (Type handlerType)
@@ -79,7 +75,6 @@ public void DnsFailure (Type handlerType)
Assert.IsInstanceOf (typeof (HttpRequestException), ex, "Exception");
}
-#if !__WATCHOS__
// ensure that we do get the same cookies as the managed handler
[Test]
public void TestNSUrlSessionHandlerCookies ()
@@ -399,13 +394,9 @@ public void TestNSUrlSessionTimeoutExceptionWhileStreamingContent ()
}
}
-#endif
-
// ensure that if we have a redirect, we do not have the auth headers in the following requests
-#if !__WATCHOS__
[TestCase (typeof (HttpClientHandler))]
[TestCase (typeof (CFNetworkHandler))]
-#endif
[TestCase (typeof (NSUrlSessionHandler))]
public void RedirectionWithAuthorizationHeaders (Type handlerType)
{
@@ -439,11 +430,9 @@ public void RedirectionWithAuthorizationHeaders (Type handlerType)
}
}
-#if !__WATCHOS__
#if !NET // By default HttpClientHandler redirects to a NSUrlSessionHandler, so no need to test that here.
[TestCase (typeof (HttpClientHandler))]
#endif
-#endif
#if NET
[TestCase (typeof (SocketsHttpHandler))]
#endif
@@ -536,9 +525,7 @@ public void RejectSslCertificatesServicePointManager (Type handlerType)
}
}
-#if !__WATCHOS__
[TestCase (typeof (HttpClientHandler))]
-#endif
[TestCase (typeof (NSUrlSessionHandler))]
public void AcceptSslCertificatesServicePointManager (Type handlerType)
{
diff --git a/tests/monotouch-test/SystemConfiguration/CaptiveNetworkTest.cs b/tests/monotouch-test/SystemConfiguration/CaptiveNetworkTest.cs
index a01f11bc7ea2..009342b42f33 100644
--- a/tests/monotouch-test/SystemConfiguration/CaptiveNetworkTest.cs
+++ b/tests/monotouch-test/SystemConfiguration/CaptiveNetworkTest.cs
@@ -7,8 +7,6 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.IO;
using Foundation;
@@ -187,5 +185,3 @@ public void SetSupportedSSIDs ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/SystemConfiguration/NetworkReachabilityTest.cs b/tests/monotouch-test/SystemConfiguration/NetworkReachabilityTest.cs
index 0477c0758d85..fa7435a99764 100644
--- a/tests/monotouch-test/SystemConfiguration/NetworkReachabilityTest.cs
+++ b/tests/monotouch-test/SystemConfiguration/NetworkReachabilityTest.cs
@@ -7,8 +7,6 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
#if !MONOMAC
@@ -141,5 +139,3 @@ public void Ctor_Invalid ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/SystemConfiguration/StatusCodeErrorTest.cs b/tests/monotouch-test/SystemConfiguration/StatusCodeErrorTest.cs
index 50e434b0b830..78b447c7bee4 100644
--- a/tests/monotouch-test/SystemConfiguration/StatusCodeErrorTest.cs
+++ b/tests/monotouch-test/SystemConfiguration/StatusCodeErrorTest.cs
@@ -7,8 +7,6 @@
// Copyright 2014 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using SystemConfiguration;
@@ -38,5 +36,3 @@ public void InvalidStatusCode ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/UIKit/AccessibilityTest.cs b/tests/monotouch-test/UIKit/AccessibilityTest.cs
index 92452d740091..aca97a4401bb 100644
--- a/tests/monotouch-test/UIKit/AccessibilityTest.cs
+++ b/tests/monotouch-test/UIKit/AccessibilityTest.cs
@@ -7,7 +7,7 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using Foundation;
@@ -51,4 +51,4 @@ public void PrefersCrossFadeTransitions ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/ActionSheetTest.cs b/tests/monotouch-test/UIKit/ActionSheetTest.cs
index a2fa880b2822..39a6801bdc07 100644
--- a/tests/monotouch-test/UIKit/ActionSheetTest.cs
+++ b/tests/monotouch-test/UIKit/ActionSheetTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2012 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.Drawing;
@@ -81,4 +81,4 @@ public void CtorDelegate ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/UIKit/ActivityIndicatorViewTest.cs b/tests/monotouch-test/UIKit/ActivityIndicatorViewTest.cs
index 6d8d7b847139..7998a5cb3bd3 100644
--- a/tests/monotouch-test/UIKit/ActivityIndicatorViewTest.cs
+++ b/tests/monotouch-test/UIKit/ActivityIndicatorViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -26,4 +26,4 @@ public void InitWithFrame ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/AlertViewDelegateTest.cs b/tests/monotouch-test/UIKit/AlertViewDelegateTest.cs
index 6fd3a03fd1af..23a5d06be3b6 100644
--- a/tests/monotouch-test/UIKit/AlertViewDelegateTest.cs
+++ b/tests/monotouch-test/UIKit/AlertViewDelegateTest.cs
@@ -1,6 +1,6 @@
// Copyright 2012 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using Foundation;
@@ -37,4 +37,4 @@ public void MyDefault ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/UIKit/AlertViewTest.cs b/tests/monotouch-test/UIKit/AlertViewTest.cs
index 80e8723b49b6..4eff3b942e79 100644
--- a/tests/monotouch-test/UIKit/AlertViewTest.cs
+++ b/tests/monotouch-test/UIKit/AlertViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2012 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.Drawing;
@@ -69,4 +69,4 @@ public void FirstOtherButtonIndex ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/UIKit/AppearanceTest.cs b/tests/monotouch-test/UIKit/AppearanceTest.cs
index 9085f514d9a2..93df514dfc2a 100644
--- a/tests/monotouch-test/UIKit/AppearanceTest.cs
+++ b/tests/monotouch-test/UIKit/AppearanceTest.cs
@@ -7,7 +7,7 @@
// Copyright 2014 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
@@ -209,4 +209,4 @@ class CustomLabel : UILabel { }
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/ApplicationTest.cs b/tests/monotouch-test/UIKit/ApplicationTest.cs
index b3b05701240a..fa6444e35ce7 100644
--- a/tests/monotouch-test/UIKit/ApplicationTest.cs
+++ b/tests/monotouch-test/UIKit/ApplicationTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2012 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -53,4 +53,4 @@ public void SendAction_Null ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/BarButtonItemTest.cs b/tests/monotouch-test/UIKit/BarButtonItemTest.cs
index 526f9dcd4cfe..8407d7d54604 100644
--- a/tests/monotouch-test/UIKit/BarButtonItemTest.cs
+++ b/tests/monotouch-test/UIKit/BarButtonItemTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2013 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -135,4 +135,4 @@ public void SetTitleTextAttributes_Null ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/ButtonTest.cs b/tests/monotouch-test/UIKit/ButtonTest.cs
index f5347b344a1d..2547fc2449f3 100644
--- a/tests/monotouch-test/UIKit/ButtonTest.cs
+++ b/tests/monotouch-test/UIKit/ButtonTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011, 2013 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -65,4 +65,4 @@ public void Tag_12557 ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/CollectionViewControllerTest.cs b/tests/monotouch-test/UIKit/CollectionViewControllerTest.cs
index 292e3dab7fc1..015cf6406c91 100644
--- a/tests/monotouch-test/UIKit/CollectionViewControllerTest.cs
+++ b/tests/monotouch-test/UIKit/CollectionViewControllerTest.cs
@@ -1,6 +1,6 @@
// Copyright 2014 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using Foundation;
@@ -29,4 +29,4 @@ public void Ctor ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/CollectionViewTransitionLayoutTest.cs b/tests/monotouch-test/UIKit/CollectionViewTransitionLayoutTest.cs
index 55e3fb74d4bb..1f0141245572 100644
--- a/tests/monotouch-test/UIKit/CollectionViewTransitionLayoutTest.cs
+++ b/tests/monotouch-test/UIKit/CollectionViewTransitionLayoutTest.cs
@@ -1,6 +1,6 @@
// Copyright 2014 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using Foundation;
@@ -31,4 +31,4 @@ public void Ctor ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/ColorTest.cs b/tests/monotouch-test/UIKit/ColorTest.cs
index 5f960a8aa33b..f3fb2ecbe997 100644
--- a/tests/monotouch-test/UIKit/ColorTest.cs
+++ b/tests/monotouch-test/UIKit/ColorTest.cs
@@ -3,9 +3,7 @@
#if !MONOMAC
using System;
using System.IO;
-#if !__WATCHOS__
using System.Drawing;
-#endif
using Foundation;
using UIKit;
using ObjCRuntime;
@@ -97,7 +95,7 @@ public void HSBA ()
RoundtripHSBA (UIColor.Red);
RoundtripHSBA (UIColor.White);
RoundtripHSBA (UIColor.Yellow);
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
RoundtripHSBA (UIColor.DarkText);
RoundtripHSBA (UIColor.GroupTableViewBackground, false); // unsupported color space
RoundtripHSBA (UIColor.LightText);
@@ -151,7 +149,7 @@ public void HSB ()
//RoundtripHSB (UIColor.Clear); // alpha is 0
RoundtripHSB (UIColor.Cyan);
RoundtripHSB (UIColor.DarkGray);
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
RoundtripHSB (UIColor.DarkText);
#endif
RoundtripHSB (UIColor.Gray);
@@ -187,7 +185,7 @@ public void RGBA ()
RoundtripRGBA (UIColor.Clear);
RoundtripRGBA (UIColor.Cyan);
RoundtripRGBA (UIColor.DarkGray);
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
RoundtripRGBA (UIColor.DarkText);
#endif
RoundtripRGBA (UIColor.Gray);
@@ -224,7 +222,7 @@ public void RGB ()
// RoundtripRGB (UIColor.Clear); // alpha is 0
RoundtripRGB (UIColor.Cyan);
RoundtripRGB (UIColor.DarkGray);
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
RoundtripRGB (UIColor.DarkText);
#endif
RoundtripRGB (UIColor.Gray);
@@ -268,7 +266,7 @@ public void RGBAConstructor ()
RoundtripConstructorRGB (UIColor.Brown);
RoundtripConstructorRGB (UIColor.Cyan);
RoundtripConstructorRGB (UIColor.DarkGray);
-#if !__TVOS__ && !__WATCHOS__
+#if !__TVOS__
RoundtripConstructorRGB (UIColor.DarkText);
#endif
RoundtripConstructorRGB (UIColor.Gray);
@@ -295,7 +293,6 @@ public void WAConstructor (double w, double a)
Assert.That (r.ToString (), Is.EqualTo (c.ToString ()), c.ToString ());
}
-#if !__WATCHOS__
[Test]
public void UIConfigurationColorTransformerTest ()
{
@@ -305,7 +302,6 @@ public void UIConfigurationColorTransformerTest ()
var grayColor = transformer (redColor);
Assert.NotNull (grayColor, "Not null");
}
-#endif
}
}
#endif
diff --git a/tests/monotouch-test/UIKit/ControlTest.cs b/tests/monotouch-test/UIKit/ControlTest.cs
index 18ffa2db94fc..b125f44f29eb 100644
--- a/tests/monotouch-test/UIKit/ControlTest.cs
+++ b/tests/monotouch-test/UIKit/ControlTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -74,4 +74,4 @@ public void AddTargetMakeDirty ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/DatePickerTest.cs b/tests/monotouch-test/UIKit/DatePickerTest.cs
index 5271ed5be907..941d4d197baa 100644
--- a/tests/monotouch-test/UIKit/DatePickerTest.cs
+++ b/tests/monotouch-test/UIKit/DatePickerTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2012 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.Drawing;
@@ -71,4 +71,4 @@ public void InitWithFrame ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/UIKit/DeviceTest.cs b/tests/monotouch-test/UIKit/DeviceTest.cs
index bb29f2f0d2c6..451066ba6c02 100644
--- a/tests/monotouch-test/UIKit/DeviceTest.cs
+++ b/tests/monotouch-test/UIKit/DeviceTest.cs
@@ -21,7 +21,7 @@ namespace MonoTouchFixtures.UIKit {
[Preserve (AllMembers = true)]
public class DeviceTest {
-#if !__TVOS__ && !__WATCHOS__ && !__MACCATALYST__
+#if !__TVOS__ && !__MACCATALYST__
[Test]
public void Battery ()
{
@@ -43,7 +43,7 @@ public void Battery ()
device.BatteryMonitoringEnabled = false;
}
}
-#endif // !__TVOS__ && !__WATCHOS__ && !__MACCATALYST__
+#endif // !__TVOS__ && !__MACCATALYST__
}
}
#endif
diff --git a/tests/monotouch-test/UIKit/DictationPhrase.cs b/tests/monotouch-test/UIKit/DictationPhrase.cs
index 79f01d2b6d9e..0ea92aab988f 100644
--- a/tests/monotouch-test/UIKit/DictationPhrase.cs
+++ b/tests/monotouch-test/UIKit/DictationPhrase.cs
@@ -1,6 +1,6 @@
// Copyright 2012 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -25,4 +25,4 @@ public void Defaults ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/FloatRangeTest.cs b/tests/monotouch-test/UIKit/FloatRangeTest.cs
index f149625d97b0..0b5e5b9ec25d 100644
--- a/tests/monotouch-test/UIKit/FloatRangeTest.cs
+++ b/tests/monotouch-test/UIKit/FloatRangeTest.cs
@@ -4,7 +4,7 @@
// Copyright 2013, 2016 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -66,4 +66,4 @@ public void Equals ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/GestureRecognizerTest.cs b/tests/monotouch-test/UIKit/GestureRecognizerTest.cs
index 4f7bdc8aa365..68df4ea73cac 100644
--- a/tests/monotouch-test/UIKit/GestureRecognizerTest.cs
+++ b/tests/monotouch-test/UIKit/GestureRecognizerTest.cs
@@ -7,7 +7,7 @@
// Copyright 2013 Xamarin Inc.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Collections.Generic;
@@ -131,4 +131,4 @@ public FinalizerNotifier (Action action)
} //end of class
} //end of namespace
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/GraphicsRendererTest.cs b/tests/monotouch-test/UIKit/GraphicsRendererTest.cs
index 82f8c2a2b52c..6a5dc8dc0675 100644
--- a/tests/monotouch-test/UIKit/GraphicsRendererTest.cs
+++ b/tests/monotouch-test/UIKit/GraphicsRendererTest.cs
@@ -7,7 +7,7 @@
// Copyright 2016 Xamarin Inc.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using Foundation;
diff --git a/tests/monotouch-test/UIKit/GuidedAccessRestrictionTest.cs b/tests/monotouch-test/UIKit/GuidedAccessRestrictionTest.cs
index 6b9fd6ebe458..85b0fdd90168 100644
--- a/tests/monotouch-test/UIKit/GuidedAccessRestrictionTest.cs
+++ b/tests/monotouch-test/UIKit/GuidedAccessRestrictionTest.cs
@@ -7,7 +7,7 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using Foundation;
@@ -57,4 +57,4 @@ public void GuidedAccessConfigureAccessibilityFeaturesTest ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/ImageViewTest.cs b/tests/monotouch-test/UIKit/ImageViewTest.cs
index f8c8ec96d9fb..299575717b89 100644
--- a/tests/monotouch-test/UIKit/ImageViewTest.cs
+++ b/tests/monotouch-test/UIKit/ImageViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2012 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -52,4 +52,4 @@ public void HighlightedAnimationImages_BackingFields ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/LabelTest.cs b/tests/monotouch-test/UIKit/LabelTest.cs
index 4edb93c3ed45..218003483781 100644
--- a/tests/monotouch-test/UIKit/LabelTest.cs
+++ b/tests/monotouch-test/UIKit/LabelTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -37,4 +37,4 @@ public void HighlightedTextColor ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/LayoutConstraintTest.cs b/tests/monotouch-test/UIKit/LayoutConstraintTest.cs
index add3860929ae..9e2b323ff59f 100644
--- a/tests/monotouch-test/UIKit/LayoutConstraintTest.cs
+++ b/tests/monotouch-test/UIKit/LayoutConstraintTest.cs
@@ -1,6 +1,6 @@
// Copyright 2012-2013 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -51,4 +51,4 @@ public void FromVisualFormat ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/LayoutManagerTest.cs b/tests/monotouch-test/UIKit/LayoutManagerTest.cs
index 9af8d24cee16..08b61060be1e 100644
--- a/tests/monotouch-test/UIKit/LayoutManagerTest.cs
+++ b/tests/monotouch-test/UIKit/LayoutManagerTest.cs
@@ -7,7 +7,7 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using Foundation;
@@ -103,4 +103,4 @@ public void GetGlyphsTest ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/NSDiffableDataSourceSnapshotTest.cs b/tests/monotouch-test/UIKit/NSDiffableDataSourceSnapshotTest.cs
index 5ab114c36a9a..2c1d5d6ecece 100644
--- a/tests/monotouch-test/UIKit/NSDiffableDataSourceSnapshotTest.cs
+++ b/tests/monotouch-test/UIKit/NSDiffableDataSourceSnapshotTest.cs
@@ -8,7 +8,7 @@
// Copyright 2019 Microsoft Corporation.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using NUnit.Framework;
using Foundation;
@@ -49,4 +49,4 @@ public void ObjectUsageTest ()
}
}
}
-#endif // !__WATCHOS__ && !MONOMAC
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/NavigationBarTest.cs b/tests/monotouch-test/UIKit/NavigationBarTest.cs
index 950d1c6d60ae..9aacff5204fd 100644
--- a/tests/monotouch-test/UIKit/NavigationBarTest.cs
+++ b/tests/monotouch-test/UIKit/NavigationBarTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2012 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -36,4 +36,4 @@ public void BackgroundImage ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/NavigationControllerTest.cs b/tests/monotouch-test/UIKit/NavigationControllerTest.cs
index adba6daaeb4e..5f035cf5dd71 100644
--- a/tests/monotouch-test/UIKit/NavigationControllerTest.cs
+++ b/tests/monotouch-test/UIKit/NavigationControllerTest.cs
@@ -7,7 +7,7 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -41,4 +41,4 @@ public void ViewControllers_EmptyNull ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/NavigationItemTest.cs b/tests/monotouch-test/UIKit/NavigationItemTest.cs
index de4fbe92300f..f5d3905fb223 100644
--- a/tests/monotouch-test/UIKit/NavigationItemTest.cs
+++ b/tests/monotouch-test/UIKit/NavigationItemTest.cs
@@ -7,7 +7,7 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -24,4 +24,4 @@ public class NavigationItemTest {
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/NibTest.cs b/tests/monotouch-test/UIKit/NibTest.cs
index ca8949558c34..4d51f4db8768 100644
--- a/tests/monotouch-test/UIKit/NibTest.cs
+++ b/tests/monotouch-test/UIKit/NibTest.cs
@@ -7,7 +7,7 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
@@ -60,4 +60,4 @@ public void FromData ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/PageControlTest.cs b/tests/monotouch-test/UIKit/PageControlTest.cs
index c7312c22d27d..da4da4554f47 100644
--- a/tests/monotouch-test/UIKit/PageControlTest.cs
+++ b/tests/monotouch-test/UIKit/PageControlTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -26,4 +26,4 @@ public void InitWithFrame ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/PageViewControllerTest.cs b/tests/monotouch-test/UIKit/PageViewControllerTest.cs
index 0e1f4142eec2..15b0c7d84233 100644
--- a/tests/monotouch-test/UIKit/PageViewControllerTest.cs
+++ b/tests/monotouch-test/UIKit/PageViewControllerTest.cs
@@ -7,7 +7,7 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Reflection;
@@ -58,4 +58,4 @@ void Complete (bool finished)
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/PanGestureRecognizerTest.cs b/tests/monotouch-test/UIKit/PanGestureRecognizerTest.cs
index ee76d59d99de..c415d2c22af8 100644
--- a/tests/monotouch-test/UIKit/PanGestureRecognizerTest.cs
+++ b/tests/monotouch-test/UIKit/PanGestureRecognizerTest.cs
@@ -7,7 +7,7 @@
// Copyright 2014 Xamarin Inc.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -39,4 +39,4 @@ public void Null ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/PasteboardTest.cs b/tests/monotouch-test/UIKit/PasteboardTest.cs
index f9028528fd96..e89d87695e88 100644
--- a/tests/monotouch-test/UIKit/PasteboardTest.cs
+++ b/tests/monotouch-test/UIKit/PasteboardTest.cs
@@ -1,6 +1,6 @@
// Copyright 2012 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.Drawing;
@@ -43,4 +43,4 @@ public void ImagesTest ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/UIKit/PickerViewTest.cs b/tests/monotouch-test/UIKit/PickerViewTest.cs
index c3caead5bfe6..b9b9dd80ea72 100644
--- a/tests/monotouch-test/UIKit/PickerViewTest.cs
+++ b/tests/monotouch-test/UIKit/PickerViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011,2015 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.Drawing;
@@ -38,4 +38,4 @@ public void ConformsTo ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/UIKit/PopoverBackgroundViewTest.cs b/tests/monotouch-test/UIKit/PopoverBackgroundViewTest.cs
index 78b0b6054048..7645c3fd4a6c 100644
--- a/tests/monotouch-test/UIKit/PopoverBackgroundViewTest.cs
+++ b/tests/monotouch-test/UIKit/PopoverBackgroundViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -26,4 +26,4 @@ public void InitWithFrame ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/PopoverControllerTest.cs b/tests/monotouch-test/UIKit/PopoverControllerTest.cs
index 4ac977fa1822..e6ec6e0ace65 100644
--- a/tests/monotouch-test/UIKit/PopoverControllerTest.cs
+++ b/tests/monotouch-test/UIKit/PopoverControllerTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -131,4 +131,4 @@ public void PopoverBackgroundViewType ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/PopoverPresentationControllerTest.cs b/tests/monotouch-test/UIKit/PopoverPresentationControllerTest.cs
index abe3ef90c5fa..f5e077405f9f 100644
--- a/tests/monotouch-test/UIKit/PopoverPresentationControllerTest.cs
+++ b/tests/monotouch-test/UIKit/PopoverPresentationControllerTest.cs
@@ -1,6 +1,6 @@
// Copyright 2014 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using Foundation;
@@ -34,4 +34,4 @@ public void PopoverBackgroundViewType ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/UIKit/ProgressViewTest.cs b/tests/monotouch-test/UIKit/ProgressViewTest.cs
index 61384bd24977..96374b4cdd79 100644
--- a/tests/monotouch-test/UIKit/ProgressViewTest.cs
+++ b/tests/monotouch-test/UIKit/ProgressViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -29,4 +29,4 @@ public void InitWithFrame ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/ReferenceLibraryViewControllerTest.cs b/tests/monotouch-test/UIKit/ReferenceLibraryViewControllerTest.cs
index dc6bb73d481a..3d1506f1f5a4 100644
--- a/tests/monotouch-test/UIKit/ReferenceLibraryViewControllerTest.cs
+++ b/tests/monotouch-test/UIKit/ReferenceLibraryViewControllerTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using Foundation;
@@ -42,4 +42,4 @@ public void DictionaryHasDefinitionForTerm ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/UIKit/ScrollViewTest.cs b/tests/monotouch-test/UIKit/ScrollViewTest.cs
index 18b6f91db387..b3a8f6c45d58 100644
--- a/tests/monotouch-test/UIKit/ScrollViewTest.cs
+++ b/tests/monotouch-test/UIKit/ScrollViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -26,4 +26,4 @@ public void InitWithFrame ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/SearchBarTest.cs b/tests/monotouch-test/UIKit/SearchBarTest.cs
index 86137b91516e..8cd77c439641 100644
--- a/tests/monotouch-test/UIKit/SearchBarTest.cs
+++ b/tests/monotouch-test/UIKit/SearchBarTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -49,4 +49,4 @@ public void TextInput ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAc
diff --git a/tests/monotouch-test/UIKit/SegmentedControlTest.cs b/tests/monotouch-test/UIKit/SegmentedControlTest.cs
index a567efd3b0e1..9dd5536513b5 100644
--- a/tests/monotouch-test/UIKit/SegmentedControlTest.cs
+++ b/tests/monotouch-test/UIKit/SegmentedControlTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -122,4 +122,4 @@ public void TitleTextAttributes ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/SimpleTextPrintFormatterTest.cs b/tests/monotouch-test/UIKit/SimpleTextPrintFormatterTest.cs
index 337f90f11e29..e37656f571f3 100644
--- a/tests/monotouch-test/UIKit/SimpleTextPrintFormatterTest.cs
+++ b/tests/monotouch-test/UIKit/SimpleTextPrintFormatterTest.cs
@@ -7,7 +7,7 @@
// Copyright 2012-2013 Xamarin Inc. All rights reserved.
//
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.IO;
@@ -48,4 +48,4 @@ public void StringCtor ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/UIKit/SplitViewControllerTest.cs b/tests/monotouch-test/UIKit/SplitViewControllerTest.cs
index 84ccb5542423..ade4efdf4687 100644
--- a/tests/monotouch-test/UIKit/SplitViewControllerTest.cs
+++ b/tests/monotouch-test/UIKit/SplitViewControllerTest.cs
@@ -1,6 +1,6 @@
// Copyright 2012 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -54,4 +54,4 @@ public void PresentsWithGesture ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/StepperTest.cs b/tests/monotouch-test/UIKit/StepperTest.cs
index 8cbd3082bddf..9866f1349cf4 100644
--- a/tests/monotouch-test/UIKit/StepperTest.cs
+++ b/tests/monotouch-test/UIKit/StepperTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2012 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.Drawing;
@@ -36,4 +36,4 @@ public void BackgroundImage ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/UIKit/StringAttributesTest.cs b/tests/monotouch-test/UIKit/StringAttributesTest.cs
index 2b4e357f37ef..3917caf84e5b 100644
--- a/tests/monotouch-test/UIKit/StringAttributesTest.cs
+++ b/tests/monotouch-test/UIKit/StringAttributesTest.cs
@@ -94,38 +94,29 @@ public void RetainCount_7 ()
sa.Link = u;
Assert.That (u.RetainCount, Is.EqualTo ((nuint) 2), "Link-set");
-#if !__WATCHOS__
var ta = new NSTextAttachment ();
Assert.That (ta.RetainCount, Is.EqualTo ((nuint) 1), "TextAttachment-new");
sa.TextAttachment = ta;
Assert.That (ta.RetainCount, Is.EqualTo ((nuint) 2), "TextAttachment-set");
-#endif // !__WATCHOS__
for (int i = 0; i < 16; i++) {
Assert.NotNull (sa.UnderlineColor, "UnderlineColor-get");
Assert.NotNull (sa.StrikethroughColor, "StrikethroughColor-get");
Assert.NotNull (sa.Link, "Link-get");
-#if !__WATCHOS__
Assert.NotNull (sa.TextAttachment, "TextAttachment-get");
-#endif
}
Assert.That (sa.UnderlineColor.RetainCount, Is.EqualTo ((nuint) 3), "UnderlineColor");
Assert.That (sa.StrikethroughColor.RetainCount, Is.EqualTo ((nuint) 3), "StrikethroughColor");
Assert.That (sa.Link.RetainCount, Is.EqualTo ((nuint) 2), "Link");
-#if !__WATCHOS__
Assert.That (sa.TextAttachment.RetainCount, Is.EqualTo ((nuint) 2), "TextAttachment");
-#endif
GC.KeepAlive (uc);
GC.KeepAlive (sc);
GC.KeepAlive (u);
-#if !__WATCHOS__
GC.KeepAlive (ta);
-#endif
}
-#if !__WATCHOS__
[Test]
public void MutableStringAttributesTest ()
{
@@ -144,9 +135,7 @@ public void MutableStringAttributesTest ()
Assert.AreSame (UIColor.Red, nb.TitleTextAttributes.ForegroundColor, "TitleTextAttributes.ForegroundColor should match");
}
}
-#endif // !__WATCHOS__
-#if !__WATCHOS__
[Test]
public void PrematureDisposal_SegmentedControl ()
{
@@ -178,7 +167,6 @@ public void PrematureDisposal_SearchBar ()
control.SetScopeBarButtonTitle (attrs, UIControlState.Selected);
}
#endif // !__TVOS__
-#endif // !__WATCHOS__
}
}
#endif
diff --git a/tests/monotouch-test/UIKit/SwitchTest.cs b/tests/monotouch-test/UIKit/SwitchTest.cs
index 02ba3efa085c..e9246ad8b860 100644
--- a/tests/monotouch-test/UIKit/SwitchTest.cs
+++ b/tests/monotouch-test/UIKit/SwitchTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.Drawing;
@@ -28,4 +28,4 @@ public void InitWithFrame ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/UIKit/TabBarControllerTest.cs b/tests/monotouch-test/UIKit/TabBarControllerTest.cs
index ea8654bebded..e63ce913dbac 100644
--- a/tests/monotouch-test/UIKit/TabBarControllerTest.cs
+++ b/tests/monotouch-test/UIKit/TabBarControllerTest.cs
@@ -7,7 +7,7 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -56,4 +56,4 @@ public void Ctor_Nib ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/TabBarTest.cs b/tests/monotouch-test/UIKit/TabBarTest.cs
index 8921c42b70f0..c40cb5a3f46c 100644
--- a/tests/monotouch-test/UIKit/TabBarTest.cs
+++ b/tests/monotouch-test/UIKit/TabBarTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2012 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -158,4 +158,4 @@ public void SelectedImageTintColor ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/TableViewCellTest.cs b/tests/monotouch-test/UIKit/TableViewCellTest.cs
index fd7b37559954..6005940e037f 100644
--- a/tests/monotouch-test/UIKit/TableViewCellTest.cs
+++ b/tests/monotouch-test/UIKit/TableViewCellTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -30,4 +30,4 @@ public void InitWithFrame ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/TableViewControllerTest.cs b/tests/monotouch-test/UIKit/TableViewControllerTest.cs
index 0f582152ab80..54143ef06db8 100644
--- a/tests/monotouch-test/UIKit/TableViewControllerTest.cs
+++ b/tests/monotouch-test/UIKit/TableViewControllerTest.cs
@@ -7,7 +7,7 @@
// Copyright 2014 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -38,4 +38,4 @@ public void RefreshControl_18744 ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/TableViewTest.cs b/tests/monotouch-test/UIKit/TableViewTest.cs
index 25021cf4c00c..6abf41464fc2 100644
--- a/tests/monotouch-test/UIKit/TableViewTest.cs
+++ b/tests/monotouch-test/UIKit/TableViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -26,4 +26,4 @@ public void InitWithFrame ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/TarBarItemTest.cs b/tests/monotouch-test/UIKit/TarBarItemTest.cs
index 74fd82b1541e..500210a6e8aa 100644
--- a/tests/monotouch-test/UIKit/TarBarItemTest.cs
+++ b/tests/monotouch-test/UIKit/TarBarItemTest.cs
@@ -7,7 +7,7 @@
// Copyright 2012-2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -193,4 +193,4 @@ public void SelectedImage_7b ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/TextAttachmentTest.cs b/tests/monotouch-test/UIKit/TextAttachmentTest.cs
index 7789bc277050..450f32396b36 100644
--- a/tests/monotouch-test/UIKit/TextAttachmentTest.cs
+++ b/tests/monotouch-test/UIKit/TextAttachmentTest.cs
@@ -7,7 +7,7 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using Foundation;
@@ -38,4 +38,4 @@ public void CtorNull ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/TextContainerTest.cs b/tests/monotouch-test/UIKit/TextContainerTest.cs
index 509df03b8afd..1eaa7ed24875 100644
--- a/tests/monotouch-test/UIKit/TextContainerTest.cs
+++ b/tests/monotouch-test/UIKit/TextContainerTest.cs
@@ -7,7 +7,7 @@
// Copyright 2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using Foundation;
@@ -34,4 +34,4 @@ public void Layout ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/TextFieldTest.cs b/tests/monotouch-test/UIKit/TextFieldTest.cs
index d7df2308a57e..41e2fb12266e 100644
--- a/tests/monotouch-test/UIKit/TextFieldTest.cs
+++ b/tests/monotouch-test/UIKit/TextFieldTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2013 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -140,4 +140,4 @@ public void TextInputTraits ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/TextViewTest.cs b/tests/monotouch-test/UIKit/TextViewTest.cs
index 8d137b471a9e..85de80e533bf 100644
--- a/tests/monotouch-test/UIKit/TextViewTest.cs
+++ b/tests/monotouch-test/UIKit/TextViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2013 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -130,4 +130,4 @@ public void TextInputTraits ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/ToolbarTest.cs b/tests/monotouch-test/UIKit/ToolbarTest.cs
index 04900d2179a3..2b90f9970f3d 100644
--- a/tests/monotouch-test/UIKit/ToolbarTest.cs
+++ b/tests/monotouch-test/UIKit/ToolbarTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.Drawing;
@@ -35,4 +35,4 @@ public void BackgroundImage ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/UIKit/UIAlertControllerTest.cs b/tests/monotouch-test/UIKit/UIAlertControllerTest.cs
index 87f6a25c9112..3c957fcebf10 100644
--- a/tests/monotouch-test/UIKit/UIAlertControllerTest.cs
+++ b/tests/monotouch-test/UIKit/UIAlertControllerTest.cs
@@ -8,7 +8,7 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -38,4 +38,4 @@ public void InitWithNibNameTest ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/UIContentSizeCategoryTest.cs b/tests/monotouch-test/UIKit/UIContentSizeCategoryTest.cs
index 32f536dc2a56..7e7eb4c94d69 100644
--- a/tests/monotouch-test/UIKit/UIContentSizeCategoryTest.cs
+++ b/tests/monotouch-test/UIKit/UIContentSizeCategoryTest.cs
@@ -7,7 +7,7 @@
// Copyright 2017 Microsoft. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using Foundation;
@@ -59,4 +59,4 @@ public void GetPreferredContentSizeCategoryTest ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/UIDocumentTest.cs b/tests/monotouch-test/UIKit/UIDocumentTest.cs
index 40bb9a8f847e..a4a7cc41496e 100644
--- a/tests/monotouch-test/UIKit/UIDocumentTest.cs
+++ b/tests/monotouch-test/UIKit/UIDocumentTest.cs
@@ -7,7 +7,7 @@
// Copyright 2012 Xamarin Inc. All rights reserved.
//
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using System.IO;
@@ -107,4 +107,4 @@ public void Fields ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/UIKit/UIDragDropSessionExtensionsTest.cs b/tests/monotouch-test/UIKit/UIDragDropSessionExtensionsTest.cs
index 97f063ea3920..87d75bfc38e1 100644
--- a/tests/monotouch-test/UIKit/UIDragDropSessionExtensionsTest.cs
+++ b/tests/monotouch-test/UIKit/UIDragDropSessionExtensionsTest.cs
@@ -8,7 +8,7 @@
// Copyright 2017 Microsoft.
//
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using CoreGraphics;
@@ -73,4 +73,4 @@ public CGPoint LocationInView (UIView view)
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/UIKit/UIListSeparatorConfigurationTest.cs b/tests/monotouch-test/UIKit/UIListSeparatorConfigurationTest.cs
index ad66d8a15c1b..e7ad7bb260e0 100644
--- a/tests/monotouch-test/UIKit/UIListSeparatorConfigurationTest.cs
+++ b/tests/monotouch-test/UIKit/UIListSeparatorConfigurationTest.cs
@@ -33,4 +33,4 @@ public void AutomaticInsetsTest ()
}
}
-#endif // __WATCHOS__ || __IOS__
+#endif // __IOS__
diff --git a/tests/monotouch-test/UIKit/UIPasteConfigurationSupportingTest.cs b/tests/monotouch-test/UIKit/UIPasteConfigurationSupportingTest.cs
index 7a044ad7dcdf..469c729287fe 100644
--- a/tests/monotouch-test/UIKit/UIPasteConfigurationSupportingTest.cs
+++ b/tests/monotouch-test/UIKit/UIPasteConfigurationSupportingTest.cs
@@ -8,7 +8,7 @@
// Copyright 2017 Microsoft.
//
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using CoreGraphics;
@@ -79,4 +79,4 @@ public override void Paste (NSItemProvider [] itemProviders)
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__ && !MONOMAC
diff --git a/tests/monotouch-test/UIKit/UISearchControllerTest.cs b/tests/monotouch-test/UIKit/UISearchControllerTest.cs
index 12d9569907ac..caa141556187 100644
--- a/tests/monotouch-test/UIKit/UISearchControllerTest.cs
+++ b/tests/monotouch-test/UIKit/UISearchControllerTest.cs
@@ -8,7 +8,7 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -37,4 +37,4 @@ public void InitWithNibNameTest ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/UISpringLoadedInteractionSupportingTest.cs b/tests/monotouch-test/UIKit/UISpringLoadedInteractionSupportingTest.cs
index 3492fb32119c..41c824ec5a2e 100644
--- a/tests/monotouch-test/UIKit/UISpringLoadedInteractionSupportingTest.cs
+++ b/tests/monotouch-test/UIKit/UISpringLoadedInteractionSupportingTest.cs
@@ -8,7 +8,7 @@
// Copyright 2017 Microsoft.
//
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC
+#if !__TVOS__ && !MONOMAC
using System;
using CoreGraphics;
@@ -136,4 +136,4 @@ public void INUIAddVoiceShortcutButtonTest ()
}
}
-#endif // !__TVOS__ && !__WATCHOS__
+#endif // !__TVOS__
diff --git a/tests/monotouch-test/UIKit/UIStackViewTest.cs b/tests/monotouch-test/UIKit/UIStackViewTest.cs
index c3b734736f04..c6bb94671f81 100644
--- a/tests/monotouch-test/UIKit/UIStackViewTest.cs
+++ b/tests/monotouch-test/UIKit/UIStackViewTest.cs
@@ -8,7 +8,7 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -40,4 +40,4 @@ public void InitWithFrameTest ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/ViewControllerTest.cs b/tests/monotouch-test/UIKit/ViewControllerTest.cs
index 729fc3ac39ca..05306f074857 100644
--- a/tests/monotouch-test/UIKit/ViewControllerTest.cs
+++ b/tests/monotouch-test/UIKit/ViewControllerTest.cs
@@ -7,7 +7,7 @@
// Copyright 2012-2013 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Reflection;
@@ -174,4 +174,4 @@ public void AppearanceTransition ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/ViewTest.cs b/tests/monotouch-test/UIKit/ViewTest.cs
index daa74c046694..42fd6d4f8ba9 100644
--- a/tests/monotouch-test/UIKit/ViewTest.cs
+++ b/tests/monotouch-test/UIKit/ViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -285,4 +285,4 @@ public void Equality ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/UIKit/WebViewTest.cs b/tests/monotouch-test/UIKit/WebViewTest.cs
index e44252401ff5..29cce80fd8be 100644
--- a/tests/monotouch-test/UIKit/WebViewTest.cs
+++ b/tests/monotouch-test/UIKit/WebViewTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011 Xamarin Inc. All rights reserved
-#if !__TVOS__ && !__WATCHOS__ && !MONOMAC && !__MACCATALYST__
+#if !__TVOS__ && !MONOMAC && !__MACCATALYST__
using System;
using System.Drawing;
@@ -46,4 +46,4 @@ class DerivedUIWebView : UIWebView {
}
-#endif // !__TVOS__ && !__WATCHOS__ && !MONOMAC && !__MACCATALYST__
+#endif // !__TVOS__ && !MONOMAC && !__MACCATALYST__
diff --git a/tests/monotouch-test/UIKit/WindowTest.cs b/tests/monotouch-test/UIKit/WindowTest.cs
index 5bddad56807f..e8554e23682c 100644
--- a/tests/monotouch-test/UIKit/WindowTest.cs
+++ b/tests/monotouch-test/UIKit/WindowTest.cs
@@ -1,6 +1,6 @@
// Copyright 2011-2013 Xamarin Inc. All rights reserved
-#if !__WATCHOS__ && !MONOMAC
+#if !MONOMAC
using System;
using System.Drawing;
@@ -62,4 +62,4 @@ public void Level ()
}
}
-#endif // !__WATCHOS__
+#endif // !MONOMAC
diff --git a/tests/monotouch-test/VideoToolbox/VTCompressionSessionTests.cs b/tests/monotouch-test/VideoToolbox/VTCompressionSessionTests.cs
index 9892297152ae..f59e7497e3a3 100644
--- a/tests/monotouch-test/VideoToolbox/VTCompressionSessionTests.cs
+++ b/tests/monotouch-test/VideoToolbox/VTCompressionSessionTests.cs
@@ -8,8 +8,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
@@ -241,5 +239,3 @@ public void TestCallbackBackground (bool stronglyTyped)
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/VideoToolbox/VTDecompressionSessionTests.cs b/tests/monotouch-test/VideoToolbox/VTDecompressionSessionTests.cs
index 835e4d662408..7b665f97d006 100644
--- a/tests/monotouch-test/VideoToolbox/VTDecompressionSessionTests.cs
+++ b/tests/monotouch-test/VideoToolbox/VTDecompressionSessionTests.cs
@@ -8,8 +8,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -114,5 +112,3 @@ VTDecompressionSession CreateSession (AVAsset asset)
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/VideoToolbox/VTFrameSiloTests.cs b/tests/monotouch-test/VideoToolbox/VTFrameSiloTests.cs
index a99106757f34..70e1a9332146 100644
--- a/tests/monotouch-test/VideoToolbox/VTFrameSiloTests.cs
+++ b/tests/monotouch-test/VideoToolbox/VTFrameSiloTests.cs
@@ -8,8 +8,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -78,5 +76,3 @@ public void ForEachTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/VideoToolbox/VTHdrPerFrameMetadataGenerationSessionTest.cs b/tests/monotouch-test/VideoToolbox/VTHdrPerFrameMetadataGenerationSessionTest.cs
index 2bf372df9005..dd995bd17def 100644
--- a/tests/monotouch-test/VideoToolbox/VTHdrPerFrameMetadataGenerationSessionTest.cs
+++ b/tests/monotouch-test/VideoToolbox/VTHdrPerFrameMetadataGenerationSessionTest.cs
@@ -2,7 +2,6 @@
// Unit tests for VTHdrPerFrameMetadataGenerationSession
//
-#if !__WATCHOS__
#if NET
using System;
@@ -85,4 +84,3 @@ public void GetTypeId ()
}
#endif // NET
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/VideoToolbox/VTMultiPassStorageTests.cs b/tests/monotouch-test/VideoToolbox/VTMultiPassStorageTests.cs
index 1b203a7734b2..be5232deb479 100644
--- a/tests/monotouch-test/VideoToolbox/VTMultiPassStorageTests.cs
+++ b/tests/monotouch-test/VideoToolbox/VTMultiPassStorageTests.cs
@@ -8,8 +8,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
@@ -52,5 +50,3 @@ public void MultiPassStorageCloseTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/VideoToolbox/VTPixelRotationSessionTests.cs b/tests/monotouch-test/VideoToolbox/VTPixelRotationSessionTests.cs
index 907744fc3f3a..2a630fa1008c 100644
--- a/tests/monotouch-test/VideoToolbox/VTPixelRotationSessionTests.cs
+++ b/tests/monotouch-test/VideoToolbox/VTPixelRotationSessionTests.cs
@@ -8,8 +8,6 @@
// Copyright 2022 Microsoft Corporation.
//
-#if !__WATCHOS__
-
#nullable enable
using System;
@@ -68,5 +66,3 @@ public void SetRotationPropertiesTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/VideoToolbox/VTPixelTransferSessionTests.cs b/tests/monotouch-test/VideoToolbox/VTPixelTransferSessionTests.cs
index 12a572a83656..99445e1eb6ba 100644
--- a/tests/monotouch-test/VideoToolbox/VTPixelTransferSessionTests.cs
+++ b/tests/monotouch-test/VideoToolbox/VTPixelTransferSessionTests.cs
@@ -8,8 +8,6 @@
// Copyright 2022 Microsoft Corporation.
//
-#if !__WATCHOS__
-
#nullable enable
using System;
@@ -64,5 +62,3 @@ public void SetTransferPropertiesTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/VideoToolbox/VTRawProcessingSessionTest.cs b/tests/monotouch-test/VideoToolbox/VTRawProcessingSessionTest.cs
index 17a613f7eae8..0d78015b591c 100644
--- a/tests/monotouch-test/VideoToolbox/VTRawProcessingSessionTest.cs
+++ b/tests/monotouch-test/VideoToolbox/VTRawProcessingSessionTest.cs
@@ -2,7 +2,6 @@
// Unit tests for VTRawProcessingSession
//
-#if !__WATCHOS__
#if NET
#if MONOMAC
@@ -118,4 +117,3 @@ public void ProcessingTest ()
#endif // MONOMAC
#endif // NET
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/VideoToolbox/VTUtilitiesTests.cs b/tests/monotouch-test/VideoToolbox/VTUtilitiesTests.cs
index 7e3d3f85db6b..574cffcb9942 100644
--- a/tests/monotouch-test/VideoToolbox/VTUtilitiesTests.cs
+++ b/tests/monotouch-test/VideoToolbox/VTUtilitiesTests.cs
@@ -8,8 +8,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using System.Drawing;
using System.Runtime.InteropServices;
@@ -160,5 +158,3 @@ public void CopyRawVideoDecoderExtensionPropertiesTest (CMVideoCodecType codecTy
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/VideoToolbox/VTVideoEncoderListTests.cs b/tests/monotouch-test/VideoToolbox/VTVideoEncoderListTests.cs
index e320e72cd980..39adef051946 100644
--- a/tests/monotouch-test/VideoToolbox/VTVideoEncoderListTests.cs
+++ b/tests/monotouch-test/VideoToolbox/VTVideoEncoderListTests.cs
@@ -8,8 +8,6 @@
// Copyright 2015 Xamarin Inc. All rights reserved.
//
-#if !__WATCHOS__
-
using System;
using Foundation;
using VideoToolbox;
@@ -45,5 +43,3 @@ public void SupportedEncoderPropertiesTest ()
}
}
}
-
-#endif // !__WATCHOS__
diff --git a/tests/monotouch-test/Vision/VNGeometryUtilsTests.cs b/tests/monotouch-test/Vision/VNGeometryUtilsTests.cs
index 1f41cffd182c..3b1c2b13032d 100644
--- a/tests/monotouch-test/Vision/VNGeometryUtilsTests.cs
+++ b/tests/monotouch-test/Vision/VNGeometryUtilsTests.cs
@@ -7,8 +7,6 @@
// Copyright (c) Microsoft Corporation.
//
-#if !__WATCHOS__
-
using System;
using System.Collections;
using System.Collections.Generic;
@@ -63,4 +61,3 @@ public void CreateBoundingCircleTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Vision/VNGetCameraRelativePositionTest.cs b/tests/monotouch-test/Vision/VNGetCameraRelativePositionTest.cs
index 01df7f307ed3..333b0a9f0ab8 100644
--- a/tests/monotouch-test/Vision/VNGetCameraRelativePositionTest.cs
+++ b/tests/monotouch-test/Vision/VNGetCameraRelativePositionTest.cs
@@ -1,7 +1,5 @@
// Unit test for Vision.GetCameraRelativePosition
-#if !__WATCHOS__
-
#if MONOMAC
using AppKit;
#else
@@ -72,4 +70,3 @@ public void GetCameraRelativePositionTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Vision/VNRequestTests.cs b/tests/monotouch-test/Vision/VNRequestTests.cs
index 1ab4899ccae7..ae4fd2f3e19d 100644
--- a/tests/monotouch-test/Vision/VNRequestTests.cs
+++ b/tests/monotouch-test/Vision/VNRequestTests.cs
@@ -8,8 +8,6 @@
// Copyright 2018 Microsoft Corporation.
//
-#if !__WATCHOS__
-
using System;
using NUnit.Framework;
@@ -225,4 +223,3 @@ public void VNSupportedRevisionsTwoTest ()
}
}
}
-#endif
diff --git a/tests/monotouch-test/Vision/VNUtilsTests.cs b/tests/monotouch-test/Vision/VNUtilsTests.cs
index d0e26885348d..c33cfe9adcec 100644
--- a/tests/monotouch-test/Vision/VNUtilsTests.cs
+++ b/tests/monotouch-test/Vision/VNUtilsTests.cs
@@ -7,8 +7,6 @@
// Copyright (c) Microsoft Corporation.
//
-#if !__WATCHOS__
-
using System;
using System.Collections;
using System.Collections.Generic;
@@ -80,4 +78,3 @@ public void IsIdentityTest ()
}
}
-#endif
diff --git a/tests/monotouch-test/mono/MonoWeakReferenceTest.cs b/tests/monotouch-test/mono/MonoWeakReferenceTest.cs
index 4727bbf8e84f..1ff686f69531 100644
--- a/tests/monotouch-test/mono/MonoWeakReferenceTest.cs
+++ b/tests/monotouch-test/mono/MonoWeakReferenceTest.cs
@@ -82,11 +82,7 @@ public void WeakTest ()
Assert.That (t.Obj3, Is.Not.Null, "'t.Obj3' should not be null");
//overflow the nursery, make sure we fill it
-#if __WATCHOS__
- for (int i = 0; i < 1000 * 100; ++i) // the apple watch doesn't have much memory, so try to not run into OOMs either. The nursery is 512k, so 100k objects should be more than enough to fill it.
-#else
for (int i = 0; i < 1000 * 1000 * 10; ++i)
-#endif
new OneField ();
Exception ex = null;
diff --git a/tests/monotouch-test/mono/WeakReferenceTest.cs b/tests/monotouch-test/mono/WeakReferenceTest.cs
index e3f25e9b6214..edcb8798e06e 100644
--- a/tests/monotouch-test/mono/WeakReferenceTest.cs
+++ b/tests/monotouch-test/mono/WeakReferenceTest.cs
@@ -24,16 +24,11 @@ namespace MonoTouchFixtures {
[TestFixture]
[Preserve (AllMembers = true)]
public partial class WeakReferenceTest {
-#if __WATCHOS__
- const int totalTestObjects = 500;
-#else
const int totalTestObjects = 5000;
-#endif
[SetUp]
public void Setup ()
{
- TestRuntime.AssertSystemVersion (ApplePlatform.WatchOS, 3, 0, throwIfOtherPlatform: false);
TestRuntime.AssertSystemVersion (ApplePlatform.iOS, 7, 0, throwIfOtherPlatform: false);
TestRuntime.AssertSystemVersion (ApplePlatform.MacOSX, 10, 9, throwIfOtherPlatform: false);
}
diff --git a/tests/monotouch-test/mono/bug18634.cs b/tests/monotouch-test/mono/bug18634.cs
index b0e44d31e16c..a4b3fe64223e 100644
--- a/tests/monotouch-test/mono/bug18634.cs
+++ b/tests/monotouch-test/mono/bug18634.cs
@@ -13,13 +13,9 @@
#if !__TVOS__
using MapKit;
#endif
-#if !__WATCHOS__
using CoreAnimation;
-#endif
using CoreGraphics;
using CoreLocation;
-#if !__WATCHOS__
-#endif
using NUnit.Framework;
namespace MonoTouchFixtures {
diff --git a/tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/ComputeCodesignItemsTaskTests.cs b/tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/ComputeCodesignItemsTaskTests.cs
index d72eecdb893b..db1c05b66fb7 100644
--- a/tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/ComputeCodesignItemsTaskTests.cs
+++ b/tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/ComputeCodesignItemsTaskTests.cs
@@ -23,7 +23,6 @@ public class ComputeCodesignItemsTaskTests : TestBase {
[TestCase (ApplePlatform.iOS, false)]
[TestCase (ApplePlatform.TVOS, true)]
[TestCase (ApplePlatform.TVOS, false)]
- [TestCase (ApplePlatform.WatchOS, false)]
[TestCase (ApplePlatform.MacOSX, true)]
[TestCase (ApplePlatform.MacOSX, false)]
[TestCase (ApplePlatform.MacCatalyst, true)]
@@ -361,7 +360,6 @@ public void Compute (ApplePlatform platform, bool isDotNet)
[TestCase (ApplePlatform.iOS, false)]
[TestCase (ApplePlatform.TVOS, true)]
[TestCase (ApplePlatform.TVOS, false)]
- [TestCase (ApplePlatform.WatchOS, false)]
[TestCase (ApplePlatform.MacOSX, true)]
[TestCase (ApplePlatform.MacOSX, false)]
[TestCase (ApplePlatform.MacCatalyst, true)]
@@ -428,7 +426,6 @@ public void Duplicated (ApplePlatform platform, bool isDotNet)
[TestCase (ApplePlatform.iOS, false)]
[TestCase (ApplePlatform.TVOS, true)]
[TestCase (ApplePlatform.TVOS, false)]
- [TestCase (ApplePlatform.WatchOS, false)]
[TestCase (ApplePlatform.MacOSX, true)]
[TestCase (ApplePlatform.MacOSX, false)]
[TestCase (ApplePlatform.MacCatalyst, true)]
@@ -571,8 +568,6 @@ bool IsPlatform (Platforms platforms, ApplePlatform platform)
return (platforms & Platforms.tvOS) == Platforms.tvOS;
case ApplePlatform.MacOSX:
return (platforms & Platforms.macOS) == Platforms.macOS;
- case ApplePlatform.WatchOS:
- return (platforms & Platforms.watchOS) == Platforms.watchOS;
case ApplePlatform.MacCatalyst:
return (platforms & Platforms.MacCatalyst) == Platforms.MacCatalyst;
default:
@@ -613,10 +608,9 @@ enum Platforms {
None = 0,
iOS = 1,
tvOS = 2,
- watchOS = 4,
macOS = 8,
MacCatalyst = 16,
- Mobile = iOS | tvOS | watchOS,
+ Mobile = iOS | tvOS,
Desktop = macOS | MacCatalyst,
All = Mobile | Desktop,
}
diff --git a/tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/GeneratePlistTaskTests/GeneratePlistTaskTests_watchOS.cs b/tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/GeneratePlistTaskTests/GeneratePlistTaskTests_watchOS.cs
deleted file mode 100644
index 7dc234511b59..000000000000
--- a/tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/GeneratePlistTaskTests/GeneratePlistTaskTests_watchOS.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using NUnit.Framework;
-using Xamarin.MacDev;
-
-using Xamarin.Tests;
-using Xamarin.Utils;
-
-namespace Xamarin.MacDev.Tasks {
- [TestFixture (false)]
- public abstract class GeneratePlistTaskTests_watchOS : GeneratePlistTaskTests_Core {
- protected override ApplePlatform Platform => ApplePlatform.WatchOS;
-
- public GeneratePlistTaskTests_watchOS (bool isDotNet)
- : base (isDotNet)
- {
- }
-
- protected override void ConfigureTask (bool isDotNet)
- {
- Configuration.IgnoreIfIgnoredPlatform (ApplePlatform.WatchOS);
- Configuration.AssertLegacyXamarinAvailable ();
-
- base.ConfigureTask (isDotNet);
- Task.DefaultSdkVersion = Sdks.Watch.GetClosestInstalledSdk (AppleSdkVersion.V2_0, true).ToString ();
- Task.TargetFrameworkMoniker = isDotNet ? TargetFramework.DotNet_watchOS_String : TargetFramework.Xamarin_WatchOS_1_0.ToString ();
- }
- }
-}
diff --git a/tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/ResolveNativeReferencesTaskTest.cs b/tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/ResolveNativeReferencesTaskTest.cs
index 431fc489d2cd..ec39d36da20e 100644
--- a/tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/ResolveNativeReferencesTaskTest.cs
+++ b/tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/ResolveNativeReferencesTaskTest.cs
@@ -22,8 +22,6 @@ public class ResolveNativeReferencesTaskTest {
[TestCase (TargetFramework.DotNet_MacCatalyst_String, false, "x86_64", "ios-arm64_x86_64-maccatalyst/Universal.framework/Universal")] // subset
[TestCase (TargetFramework.DotNet_tvOS_String, false, "arm64", "tvos-arm64/Universal.framework/Universal")]
[TestCase (TargetFramework.DotNet_tvOS_String, true, "x86_64", "tvos-arm64_x86_64-simulator/Universal.framework/Universal")] // subset
- [TestCase (TargetFramework.Xamarin_WatchOS_1_0_String, false, "arm64_32", "watchos-arm64_32_armv7k/Universal.framework/Universal")]
- [TestCase (TargetFramework.DotNet_watchOS_String, true, "x86_64", "watchos-arm64_x86_64-simulator/Universal.framework/Universal")] // subset
[TestCase (TargetFramework.DotNet_macOS_String, false, "x86_64", "macos-arm64_x86_64/Universal.framework/Universal")] // subset
// multiple arch request (all must be present)
@@ -36,9 +34,7 @@ public class ResolveNativeReferencesTaskTest {
[TestCase (TargetFramework.DotNet_macOS_String, true, "x86_64", null)] // simulator not available on macOS
public void Xcode12_x (string targetFrameworkMoniker, bool isSimulator, string architecture, string expected)
{
- // some architecture changes recently, e.g.
- // in Xcode 12.1+ watchOS does not have an i386 architecture anymore
- // on Xcode 12.2+ you get arm64 for all (iOS, tvOS and watchOS) simulators
+ // on Xcode 12.2+ you get arm64 for all (iOS, tvOS) simulators
var path = Path.Combine (Path.GetDirectoryName (GetType ().Assembly.Location)!, "Resources", "xcf-xcode12.2.plist");
var plist = PDictionary.FromFile (path)!;
var result = ResolveNativeReferences.TryResolveXCFramework (log, plist, "N/A", targetFrameworkMoniker, isSimulator, architecture, null, out var frameworkPath);
@@ -47,9 +43,6 @@ public void Xcode12_x (string targetFrameworkMoniker, bool isSimulator, string a
}
[TestCase (TargetFramework.DotNet_iOS_String, false, "ARMv7", "ios-arm64_armv7_armv7s/XTest.framework/XTest")]
- // there was no 64bits simulator for watchOS but a i386 one was available
- [TestCase (TargetFramework.Xamarin_WatchOS_1_0_String, true, "x86_64", null)]
- [TestCase (TargetFramework.Xamarin_WatchOS_1_0_String, true, "i386", "watchos-i386-simulator/XTest.framework/XTest")]
public void PreXcode12 (string targetFrameworkMoniker, bool isSimulator, string architecture, string expected)
{
var path = Path.Combine (Path.GetDirectoryName (GetType ().Assembly.Location)!, "Resources", "xcf-prexcode12.plist");
diff --git a/tests/mtouch/MTouch.cs b/tests/mtouch/MTouch.cs
index 973bab128115..05f6025181bc 100644
--- a/tests/mtouch/MTouch.cs
+++ b/tests/mtouch/MTouch.cs
@@ -2602,60 +2602,6 @@ public void Architectures_TVOS_Invalid ()
}
}
- [Test]
- [TestCase (Target.Dev, null, "ARMv7k", MTouchBitcode.Unspecified)]
- [TestCase (Target.Dev, "arm64_32+llvm", "ARM64_32", MTouchBitcode.Unspecified)]
- [TestCase (Target.Dev, "armv7k+llvm,arm64_32+llvm", "ARMv7k,ARM64_32", MTouchBitcode.Full)]
- [TestCase (Target.Sim, null, "x86_64", MTouchBitcode.Unspecified)]
- [TestCase (Target.Sim, "x86_64", "x86_64", MTouchBitcode.Unspecified)]
- /* clang crashes in Xcode 16 beta 1 with:
-
- warning: overriding the module target triple with arm64_32-apple-watchos11.0.0 [-Woverride-module]
- 1 warning generated.
- nonnull metadata must be empty
- %LDSTR_23 = load ptr, ptr getelementptr inbounds ([0 x ptr], ptr @mono_aot_Xamarin_WatchOS_llvm_got, i32 0, i32 23), align 4, !nonnull !2
- in function Xamarin_WatchOS_WatchKit_WKInterfaceController__cctor
- fatal error: error in backend: Broken function found, compilation aborted!
- clang++: error: clang frontend command failed with exit code 70 (use -v to see invocation)
- Apple clang version 16.0.0 (clang-1600.0.20.10)
- Target: arm64_32-apple-darwin23.5.0
- Thread model: posix
- InstalledDir: /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
- clang++: note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs.
- */
- [Ignore ("Crashes in clang")]
- public void Architectures_WatchOS (Target target, string abi, string expected_abi, MTouchBitcode bitcode)
- {
- AssertDeviceAvailable ();
-
- using (var mtouch = new MTouchTool ()) {
- mtouch.Profile = Profile.watchOS;
- mtouch.Abi = abi;
- mtouch.Bitcode = bitcode;
- mtouch.CreateTemporaryCacheDirectory ();
- mtouch.CreateTemporaryWatchKitExtension ();
- mtouch.Action = target == Target.Dev ? MTouchAction.BuildDev : MTouchAction.BuildSim;
- mtouch.AssertExecute ("build");
- VerifyArchitectures (mtouch.NativeExecutablePath, "arch", expected_abi.Split (','));
- }
- }
-
- [Test]
- public void Architectures_WatchOS_Invalid ()
- {
- AssertDeviceAvailable ();
-
- using (var mtouch = new MTouchTool ()) {
- mtouch.Profile = Profile.watchOS;
- mtouch.CreateTemporaryWatchKitExtension ();
-
- mtouch.Abi = "armv7";
- mtouch.AssertExecuteFailure (MTouchAction.BuildDev, "device - armv7");
- mtouch.AssertError ("MT", 75, "Invalid architecture 'ARMv7' for WatchOS projects. Valid architectures are: ARMv7k, ARMv7k+LLVM, ARM64_32, ARM64_32+LLVM");
- mtouch.AssertErrorCount (1);
- }
- }
-
[Test]
public void MonoFrameworkArchitectures ()
{
diff --git a/tools/common/ApplePlatform.cs b/tools/common/ApplePlatform.cs
index 3ced4dfb3e36..252dca1f5cdd 100644
--- a/tools/common/ApplePlatform.cs
+++ b/tools/common/ApplePlatform.cs
@@ -10,6 +10,9 @@ public enum ApplePlatform {
None,
MacOSX,
iOS,
+#if !MSBUILD_TASKS // not quite yet
+ [System.Obsolete ("Do not use")]
+#endif
WatchOS,
TVOS,
MacCatalyst,
@@ -23,8 +26,6 @@ public static string AsString (this ApplePlatform @this)
return "iOS";
case ApplePlatform.MacOSX:
return "macOS";
- case ApplePlatform.WatchOS:
- return "watchOS";
case ApplePlatform.TVOS:
return "tvOS";
case ApplePlatform.MacCatalyst:
@@ -46,8 +47,6 @@ public static string ToFramework (this ApplePlatform @this, string? netVersion =
return netVersion + "-ios";
case ApplePlatform.MacOSX:
return netVersion + "-macos";
- case ApplePlatform.WatchOS:
- return netVersion + "-watchos";
case ApplePlatform.TVOS:
return netVersion + "-tvos";
case ApplePlatform.MacCatalyst:
@@ -66,8 +65,6 @@ public static ApplePlatform Parse (string platform)
return ApplePlatform.TVOS;
case "macos":
return ApplePlatform.MacOSX;
- case "watchos":
- return ApplePlatform.WatchOS;
case "maccatalyst":
return ApplePlatform.MacCatalyst;
default:
diff --git a/tools/common/Application.cs b/tools/common/Application.cs
index 9ff79d67d701..228b3d187623 100644
--- a/tools/common/Application.cs
+++ b/tools/common/Application.cs
@@ -180,7 +180,7 @@ public bool IsDefaultMarshalManagedExceptionMode {
public bool DisableAutomaticLinkerSelection { get; set; }
- // assembly_build_targets describes what kind of native code each assembly should be compiled into for mobile targets (iOS, tvOS, watchOS).
+ // assembly_build_targets describes what kind of native code each assembly should be compiled into for mobile targets (iOS, tvOS).
// An assembly can be compiled into: static object (.o), dynamic library (.dylib) or a framework (.framework).
// In the case of a framework, each framework may contain the native code for multiple assemblies.
// This variable does not apply to macOS (if assemblies are AOT-compiled, the AOT compiler will output a .dylib next to the assembly and there's nothing extra for us)
@@ -191,7 +191,6 @@ public string ContentDirectory {
switch (Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
return AppDirectory;
case ApplePlatform.MacOSX:
case ApplePlatform.MacCatalyst:
@@ -213,7 +212,6 @@ public string RelativeFrameworksPath {
switch (Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
return "Frameworks";
case ApplePlatform.MacOSX:
case ApplePlatform.MacCatalyst:
@@ -229,7 +227,6 @@ public string RelativeDylibPublishPath {
switch (Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
return string.Empty;
case ApplePlatform.MacOSX:
case ApplePlatform.MacCatalyst:
@@ -343,9 +340,6 @@ public bool HasFrameworksDirectory {
if (!IsExtension)
return true;
- if (IsWatchExtension && Platform == ApplePlatform.WatchOS)
- return true;
-
return false;
}
}
@@ -355,7 +349,6 @@ bool RequiresXcodeHeaders {
switch (Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
case ApplePlatform.MacCatalyst:
return !AreAnyAssembliesTrimmed;
case ApplePlatform.MacOSX:
@@ -371,7 +364,6 @@ public string LocalBuildDir {
switch (Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
case ApplePlatform.MacCatalyst:
return "_ios-build";
case ApplePlatform.MacOSX:
@@ -387,7 +379,6 @@ public string FrameworkLocationVariable {
switch (Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
case ApplePlatform.MacCatalyst:
return "MD_MTOUCH_SDK_ROOT";
case ApplePlatform.MacOSX:
@@ -406,7 +397,6 @@ public bool IsDeviceBuild {
switch (Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
return BuildTarget == BuildTarget.Device;
case ApplePlatform.MacOSX:
case ApplePlatform.MacCatalyst:
@@ -425,7 +415,6 @@ public bool IsSimulatorBuild {
switch (Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
return BuildTarget == BuildTarget.Simulator;
case ApplePlatform.MacOSX:
case ApplePlatform.MacCatalyst:
@@ -436,14 +425,6 @@ public bool IsSimulatorBuild {
}
}
- // It seems the watch simulator is able to correctly select which architecture to use
- // for a fat executable, so limit ourselves to arch-specific executables anymore.
- public bool ArchSpecificExecutable {
- get {
- return !IsWatchExtension;
- }
- }
-
#if !NET && !LEGACY_TOOLS
public static int Concurrency => Driver.Concurrency;
#endif
@@ -575,12 +556,6 @@ public bool IsTodayExtension {
}
}
- public bool IsWatchExtension {
- get {
- return ExtensionIdentifier == "com.apple.watchkit";
- }
- }
-
public bool IsTVExtension {
get {
return ExtensionIdentifier == "com.apple.tv-services";
@@ -609,7 +584,6 @@ public string InfoPListPath {
switch (Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
return Path.Combine (AppDirectory, "Info.plist");
case ApplePlatform.MacCatalyst:
case ApplePlatform.MacOSX:
@@ -667,8 +641,6 @@ public string PlatformName {
return "iOS";
case ApplePlatform.TVOS:
return "tvOS";
- case ApplePlatform.WatchOS:
- return "watchOS";
case ApplePlatform.MacOSX:
return "macOS";
case ApplePlatform.MacCatalyst:
@@ -848,7 +820,6 @@ public void InitializeCommon ()
switch (Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
case ApplePlatform.MacCatalyst:
throw ErrorHelper.CreateError (180, Errors.MX0180, ProductName, PlatformName, SdkVersions.GetVersion (this), SdkVersions.Xcode);
case ApplePlatform.MacOSX:
@@ -907,7 +878,6 @@ void SelectMonoNative ()
switch (Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
case ApplePlatform.MacOSX:
case ApplePlatform.MacCatalyst:
MonoNativeMode = MonoNativeMode.Unified;
@@ -1041,17 +1011,6 @@ public void ValidateAbi ()
validAbis.Add (Abi.x86_64);
}
break;
- case ApplePlatform.WatchOS:
- if (IsDeviceBuild) {
- validAbis.Add (Abi.ARMv7k);
- validAbis.Add (Abi.ARMv7k | Abi.LLVM);
- validAbis.Add (Abi.ARM64_32);
- validAbis.Add (Abi.ARM64_32 | Abi.LLVM);
- } else {
- validAbis.Add (Abi.i386);
- validAbis.Add (Abi.x86_64);
- }
- break;
case ApplePlatform.TVOS:
if (IsDeviceBuild) {
validAbis.Add (Abi.ARM64);
@@ -1220,10 +1179,9 @@ public string MonoGCParams {
switch (Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
// Configure sgen to use a small nursery
string ret = "nursery-size=512k";
- if (IsTodayExtension || Platform == ApplePlatform.WatchOS) {
+ if (IsTodayExtension) {
// A bit test shows different behavior
// Sometimes apps are killed with ~100mb allocated,
// but I've seen apps allocate up to 240+mb as well
@@ -1325,7 +1283,6 @@ public void SetManagedExceptionMode ()
switch (Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
MarshalManagedExceptions = EnableDebug && IsSimulatorBuild ? MarshalManagedExceptionMode.UnwindNativeCode : MarshalManagedExceptionMode.Disable;
break;
case ApplePlatform.MacOSX:
@@ -1356,7 +1313,6 @@ public void SetObjectiveCExceptionMode ()
switch (Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
MarshalObjectiveCExceptions = EnableDebug && IsSimulatorBuild ? MarshalObjectiveCExceptionMode.UnwindManagedCode : MarshalObjectiveCExceptionMode.Disable;
break;
case ApplePlatform.MacOSX:
@@ -1682,7 +1638,6 @@ public bool UseDlsym (string assembly)
case ApplePlatform.iOS:
return !Profile.IsSdkAssembly (Path.GetFileNameWithoutExtension (assembly));
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
return false;
case ApplePlatform.MacCatalyst:
// https://github.com/xamarin/xamarin-macios/issues/14437
diff --git a/tools/common/Assembly.cs b/tools/common/Assembly.cs
index 7a89be58ae17..1a2a379fa399 100644
--- a/tools/common/Assembly.cs
+++ b/tools/common/Assembly.cs
@@ -512,7 +512,6 @@ public string GetCompressionLinkingFlag ()
return "-lcompression";
return "-weak-lcompression";
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
return "-lcompression";
default:
throw ErrorHelper.CreateError (71, Errors.MX0071, App.Platform, App.SdkVersion);
diff --git a/tools/common/CompilerFlags.cs b/tools/common/CompilerFlags.cs
index 7bf08e067f86..6dfbede8182e 100644
--- a/tools/common/CompilerFlags.cs
+++ b/tools/common/CompilerFlags.cs
@@ -160,7 +160,7 @@ public void LinkWithXamarin ()
}
AddFramework ("Foundation");
AddOtherFlag ("-lz");
- if (Application.Platform != ApplePlatform.WatchOS && Application.Platform != ApplePlatform.TVOS)
+ if (Application.Platform != ApplePlatform.TVOS)
AddFramework ("CFNetwork"); // required by xamarin_start_wwan
}
@@ -313,7 +313,6 @@ void ProcessFrameworksForArguments (IList args)
switch (Application.Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
args.Add ("@executable_path/Frameworks");
break;
case ApplePlatform.MacCatalyst:
diff --git a/tools/common/Driver.cs b/tools/common/Driver.cs
index b94afcf00ed2..ddb2847b6e49 100644
--- a/tools/common/Driver.cs
+++ b/tools/common/Driver.cs
@@ -639,8 +639,6 @@ public static string GetPlatformFrameworkDirectory (Application app)
switch (app.Platform) {
case ApplePlatform.iOS:
return Path.Combine (GetFrameworkLibDirectory (app), "mono", "Xamarin.iOS");
- case ApplePlatform.WatchOS:
- return Path.Combine (GetFrameworkLibDirectory (app), "mono", "Xamarin.WatchOS");
case ApplePlatform.TVOS:
return Path.Combine (GetFrameworkLibDirectory (app), "mono", "Xamarin.TVOS");
case ApplePlatform.MacCatalyst:
@@ -712,9 +710,6 @@ public static string GetProductSdkDirectory (Application app)
case ApplePlatform.iOS:
sdkName = app.IsDeviceBuild ? "MonoTouch.iphoneos.sdk" : "MonoTouch.iphonesimulator.sdk";
break;
- case ApplePlatform.WatchOS:
- sdkName = app.IsDeviceBuild ? "Xamarin.WatchOS.sdk" : "Xamarin.WatchSimulator.sdk";
- break;
case ApplePlatform.TVOS:
sdkName = app.IsDeviceBuild ? "Xamarin.AppleTVOS.sdk" : "Xamarin.AppleTVSimulator.sdk";
break;
@@ -736,8 +731,6 @@ public static string GetPlatform (Application app)
switch (app.Platform) {
case ApplePlatform.iOS:
return app.IsDeviceBuild ? "iPhoneOS" : "iPhoneSimulator";
- case ApplePlatform.WatchOS:
- return app.IsDeviceBuild ? "WatchOS" : "WatchSimulator";
case ApplePlatform.TVOS:
return app.IsDeviceBuild ? "AppleTVOS" : "AppleTVSimulator";
case ApplePlatform.MacOSX:
@@ -761,8 +754,6 @@ public static string GetProductAssembly (Application app)
switch (app.Platform) {
case ApplePlatform.iOS:
return IsDotNet ? "Microsoft.iOS" : "Xamarin.iOS";
- case ApplePlatform.WatchOS:
- return IsDotNet ? "Microsoft.watchOS" : "Xamarin.WatchOS";
case ApplePlatform.TVOS:
return IsDotNet ? "Microsoft.tvOS" : "Xamarin.TVOS";
case ApplePlatform.MacOSX:
@@ -947,9 +938,6 @@ static bool XcrunFind (Application app, ApplePlatform platform, bool is_simulato
case ApplePlatform.TVOS:
args.Add (is_simulator ? "appletvsimulator" : "appletvos");
break;
- case ApplePlatform.WatchOS:
- args.Add (is_simulator ? "watchsimulator" : "watchos");
- break;
default:
throw ErrorHelper.CreateError (71, Errors.MX0071 /* Unknown platform: {0}. This usually indicates a bug in {1}; please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new with a test case. */, platform.ToString (), app.ProductName);
}
diff --git a/tools/common/ErrorHelper.tools.cs b/tools/common/ErrorHelper.tools.cs
index 275c6c584910..5c9253ccdb38 100644
--- a/tools/common/ErrorHelper.tools.cs
+++ b/tools/common/ErrorHelper.tools.cs
@@ -21,7 +21,6 @@ internal static string Prefix {
switch (Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
case ApplePlatform.MacCatalyst:
case ApplePlatform.None: // Return "MT" by default instead of throwing an exception, because any exception here will most likely hide whatever other error we're trying to show.
return "MT";
diff --git a/tools/common/Frameworks.cs b/tools/common/Frameworks.cs
index 69c9a53d1449..a5ad473317a5 100644
--- a/tools/common/Frameworks.cs
+++ b/tools/common/Frameworks.cs
@@ -481,80 +481,6 @@ public static Frameworks CreateiOSFrameworks (bool is_simulator_build)
};
}
- static Frameworks watch_frameworks;
- public static Frameworks GetwatchOSFrameworks (bool is_simulator_build)
- {
- if (watch_frameworks is null) {
- watch_frameworks = new Frameworks {
- { "Accelerate", "Accelerate", 2 },
- // The CFNetwork framework is in the SDK, but there are no headers inside the framework, so don't enable yet.
- // { "CFNetwork", "CFNetwork", 2 },
- { "ClockKit", "ClockKit", 2 },
- { "Contacts", "Contacts", 2 },
- { "CoreAudio", "CoreAudio", 2 },
- { "CoreData", "CoreData", 2 },
- { "CoreFoundation", "CoreFoundation", 2 },
- { "CoreGraphics", "CoreGraphics", 2 },
- { "CoreLocation", "CoreLocation", 2 },
- { "CoreMotion", "CoreMotion", 2 },
- { "EventKit", "EventKit", 2 },
- { "Foundation", "Foundation", 2 },
- { "HealthKit", "HealthKit", 2 },
- { "HomeKit", "HomeKit", 2 },
- { "ImageIO", "ImageIO", 2 },
- { "MapKit", "MapKit", 2 },
- { "MobileCoreServices", "MobileCoreServices", 2 },
- { "PassKit", "PassKit", 2 },
- { "Security", "Security", 2 },
- { "UIKit", "UIKit", 2 },
- { "WatchConnectivity", "WatchConnectivity", 2 },
- { "WatchKit", "WatchKit", 2 },
-
- { "CoreText", "CoreText", 2,2 },
-
- // AVFoundation was introduced in 3.0, but the simulator SDK was broken until 3.2.
- { "AVFoundation", "AVFoundation", 3, is_simulator_build ? 2 : 0 },
- { "CloudKit", "CloudKit", 3 },
- { "GameKit", "GameKit", new Version (3, 0), new Version (3, 2) /* No headers provided for watchOS/simulator until watchOS 3.2. */ },
- { "SceneKit", "SceneKit", 3 },
- { "SpriteKit", "SpriteKit", 3 },
- { "UserNotifications", "UserNotifications", 3 },
- { "Intents", "Intents", 3,2 },
-
- { "CoreBluetooth", "CoreBluetooth", 4 },
- { "CoreML", "CoreML", 4 },
- { "CoreVideo", "CoreVideo", 4 },
-
- { "NaturalLanguage", "NaturalLanguage", 5 },
- { "MediaPlayer", "MediaPlayer", 5 },
-
- { "AuthenticationServices", "AuthenticationServices", 6 },
- { "Network", "Network", 6 },
- { "PushKit", "PushKit", 6 },
- { "SoundAnalysis", "SoundAnalysis", 6 },
- { "CoreMedia", "CoreMedia", 6 },
- { "StoreKit", "StoreKit", 6,2 },
-
- { "Accessibility", "Accessibility", 7,0 },
- { "UniformTypeIdentifiers", "UniformTypeIdentifiers", 7,0 },
-
- { "CoreMidi", "CoreMIDI", 8,0 },
- { "CryptoTokenKit", "CryptoTokenKit", 8, 0 },
- { "NearbyInteraction", "NearbyInteraction", 8,0 },
- { "OSLog", "OSLog", 8,0 },
- { "ShazamKit", "ShazamKit", new Version (8, 0), NotAvailableInSimulator},
-
- { "DeviceCheck", "DeviceCheck", 9,0 },
- { "CallKit", "CallKit", 9,0 },
- { "LocalAuthentication", "LocalAuthentication", 9,0 },
- { "SafetyKit", "SafetyKit", 9, 0 },
-
- { "Symbols", "Symbols", 10, 0 },
- };
- }
- return watch_frameworks;
- }
-
static Frameworks tvos_frameworks;
public static Frameworks TVOSFrameworks {
get {
@@ -744,8 +670,6 @@ public static Frameworks GetFrameworks (ApplePlatform platform, bool is_simulato
switch (platform) {
case ApplePlatform.iOS:
return GetiOSFrameworks (is_simulator_build);
- case ApplePlatform.WatchOS:
- return GetwatchOSFrameworks (is_simulator_build);
case ApplePlatform.TVOS:
return TVOSFrameworks;
case ApplePlatform.MacOSX:
@@ -826,7 +750,6 @@ static bool FilterFrameworks (Application app, Framework framework)
}
break;
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
case ApplePlatform.MacCatalyst:
break; // Include all frameworks by default
case ApplePlatform.MacOSX:
diff --git a/tools/common/OSPlatformAttributeExtensions.cs b/tools/common/OSPlatformAttributeExtensions.cs
index 9f4e54ca6909..bd5c0cc58440 100644
--- a/tools/common/OSPlatformAttributeExtensions.cs
+++ b/tools/common/OSPlatformAttributeExtensions.cs
@@ -106,9 +106,6 @@ static bool TryGetApplePlatform (string supportedPlatform, out ApplePlatform? pl
case "maccatalyst":
platform = ApplePlatform.MacCatalyst;
break;
- case "watchos":
- platform = ApplePlatform.WatchOS;
- break;
default:
platform = null;
return false;
diff --git a/tools/common/Optimizations.cs b/tools/common/Optimizations.cs
index 804b3257ce5d..92ae3d3f2781 100644
--- a/tools/common/Optimizations.cs
+++ b/tools/common/Optimizations.cs
@@ -20,7 +20,6 @@ public class Optimizations {
"static-block-to-delegate-lookup",
"remove-dynamic-registrar",
"trim-architectures",
- "remove-unsupported-il-for-bitcode",
"inline-is-arm64-calling-convention",
"seal-and-devirtualize",
"cctor-beforefieldinit",
@@ -31,25 +30,24 @@ public class Optimizations {
};
static ApplePlatform [] [] valid_platforms = new ApplePlatform [] [] {
- /* Opt.RemoveUIThreadChecks */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.WatchOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
- /* Opt.DeadCodeElimination */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.WatchOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
- /* Opt.InlineIsDirectBinding */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.WatchOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
- /* Opt.InlineIntPtrSize */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.WatchOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
- /* Opt.InlineRuntimeArch */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.WatchOS, ApplePlatform.TVOS },
- /* Opt.BlockLiteralSetupBlock */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.WatchOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
- /* Opt.RegisterProtocols */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.WatchOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
- /* Opt.InlineDynamicRegistrationSupported */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.WatchOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
- /* Opt.StaticBlockToDelegateLookup */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.WatchOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
- /* Opt.RemoveDynamicRegistrar */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.WatchOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
- /* Opt.TrimArchitectures */ new ApplePlatform [] { ApplePlatform.MacOSX, },
- /* Opt.RemoveUnsupportedILForBitcode */ new ApplePlatform [] { ApplePlatform.WatchOS, },
- /* Opt.InlineIsARM64CallingConvention */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.WatchOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
- /* Opt.SealAndDevirtualize */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.WatchOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
- /* Opt.StaticConstructorBeforeFieldInit */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.WatchOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
- /* Opt.CustomAttributesRemoval */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.WatchOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
- /* Opt.ExperimentalFormsProductType */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.WatchOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
- /* Opt.ForceRejectedTypesRemoval */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.WatchOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
- /* Opt.RedirectClassHandles */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.WatchOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
+ /* Opt.RemoveUIThreadChecks */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
+ /* Opt.DeadCodeElimination */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
+ /* Opt.InlineIsDirectBinding */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
+ /* Opt.InlineIntPtrSize */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
+ /* Opt.InlineRuntimeArch */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.TVOS },
+ /* Opt.BlockLiteralSetupBlock */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
+ /* Opt.RegisterProtocols */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
+ /* Opt.InlineDynamicRegistrationSupported */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
+ /* Opt.StaticBlockToDelegateLookup */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
+ /* Opt.RemoveDynamicRegistrar */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
+ /* Opt.TrimArchitectures */ new ApplePlatform [] { ApplePlatform.MacOSX, },
+ /* Opt.InlineIsARM64CallingConvention */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
+ /* Opt.SealAndDevirtualize */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
+ /* Opt.StaticConstructorBeforeFieldInit */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
+ /* Opt.CustomAttributesRemoval */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
+ /* Opt.ExperimentalFormsProductType */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
+ /* Opt.ForceRejectedTypesRemoval */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
+ /* Opt.RedirectClassHandles */ new ApplePlatform [] { ApplePlatform.iOS, ApplePlatform.MacOSX, ApplePlatform.TVOS, ApplePlatform.MacCatalyst },
};
enum Opt {
@@ -64,7 +62,6 @@ enum Opt {
StaticBlockToDelegateLookup,
RemoveDynamicRegistrar,
TrimArchitectures,
- RemoveUnsupportedILForBitcode,
InlineIsARM64CallingConvention,
SealAndDevirtualize,
StaticConstructorBeforeFieldInit,
@@ -123,11 +120,6 @@ public bool? TrimArchitectures {
set { values [(int) Opt.TrimArchitectures] = value; }
}
- public bool? RemoveUnsupportedILForBitcode {
- get { return values [(int) Opt.RemoveUnsupportedILForBitcode]; }
- set { values [(int) Opt.RemoveUnsupportedILForBitcode] = value; }
- }
-
public bool? InlineIsARM64CallingConvention {
get { return values [(int) Opt.InlineIsARM64CallingConvention]; }
set { values [(int) Opt.InlineIsARM64CallingConvention] = value; }
@@ -315,11 +307,6 @@ public void Initialize (Application app, out List messages)
}
if (app.Platform != ApplePlatform.MacOSX) {
- if (!RemoveUnsupportedILForBitcode.HasValue) {
- // By default enabled for watchOS device builds.
- RemoveUnsupportedILForBitcode = app.Platform == ApplePlatform.WatchOS && app.IsDeviceBuild;
- }
-
if (!SealAndDevirtualize.HasValue) {
// by default run the linker SealerSubStep unless the interpreter is enabled
SealAndDevirtualize = !app.UseInterpreter;
diff --git a/tools/common/StaticRegistrar.cs b/tools/common/StaticRegistrar.cs
index 5f9e55068747..c34860724d4d 100644
--- a/tools/common/StaticRegistrar.cs
+++ b/tools/common/StaticRegistrar.cs
@@ -230,7 +230,7 @@ class StaticRegistrar : Registrar {
public Dictionary ProtocolMemberMethodMap {
get {
if (protocol_member_method_map is null) {
- if (App.Platform != ApplePlatform.MacOSX && App.IsExtension && !App.IsWatchExtension && App.IsCodeShared) {
+ if (App.Platform != ApplePlatform.MacOSX && App.IsExtension && App.IsCodeShared) {
protocol_member_method_map = Target.ContainerTarget.StaticRegistrar.ProtocolMemberMethodMap;
} else {
protocol_member_method_map = new Dictionary ();
@@ -1617,8 +1617,6 @@ PlatformName AsPlatformName (ApplePlatform platform)
return global::ObjCRuntime.PlatformName.iOS;
case ApplePlatform.TVOS:
return global::ObjCRuntime.PlatformName.TvOS;
- case ApplePlatform.WatchOS:
- return global::ObjCRuntime.PlatformName.WatchOS;
case ApplePlatform.MacOSX:
return global::ObjCRuntime.PlatformName.MacOSX;
case ApplePlatform.MacCatalyst:
@@ -1786,9 +1784,6 @@ bool CollectAvailabilityAttributes (IEnumerable attributes, ou
case ApplePlatform.TVOS:
currentPlatform = ApplePlatform.TVOS;
break;
- case ApplePlatform.WatchOS:
- currentPlatform = ApplePlatform.WatchOS;
- break;
case ApplePlatform.MacOSX:
currentPlatform = ApplePlatform.MacOSX;
break;
diff --git a/tools/common/Target.cs b/tools/common/Target.cs
index 58bcca8b20e9..361c95bd9067 100644
--- a/tools/common/Target.cs
+++ b/tools/common/Target.cs
@@ -344,7 +344,6 @@ public void CollectAllSymbols ()
switch (App.Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
has_dyn_msgSend = App.IsSimulatorBuild || App.MarshalObjectiveCExceptions == MarshalObjectiveCExceptionMode.UnwindManagedCode;
break;
case ApplePlatform.MacCatalyst:
@@ -536,7 +535,6 @@ public void GenerateMain (StringBuilder sb, ApplePlatform platform, Abi abi, str
switch (platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
case ApplePlatform.MacCatalyst:
GenerateIOSMain (sw, abi);
break;
@@ -790,8 +788,7 @@ void GenerateIOSMain (StringWriter sw, Abi abi)
sw.WriteLine ("\txamarin_set_is_managed_static_registrar (true);");
sw.WriteLine ("}");
sw.WriteLine ();
- sw.Write ("int ");
- sw.Write (app.IsWatchExtension ? "xamarin_watchextension_main" : "main");
+ sw.Write ("int main");
sw.WriteLine (" (int argc, char **argv)");
sw.WriteLine ("{");
sw.WriteLine ("\tNSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];");
@@ -814,36 +811,6 @@ void GenerateIOSMain (StringWriter sw, Abi abi)
sw.WriteLine ();
}
- string extension_main = null;
- if (app.Platform == ApplePlatform.WatchOS && app.IsWatchExtension) {
- // We're building a watch extension, and we have multiple scenarios, depending on the watchOS version we're executing on:
- //
- // * watchOS 2.0 -> 5.*: we must call a `main` function provided in the WatchKit framework.
- // * watchOS 6.0 -> * : we must call a `WKExtensionMain` function provided in the WatchKit framework.
- // * watchOS 7.0 -> * : The `WKExtensionMain` function uses dlsym to find any `main` functions in the
- // main executable, and calls that function (otherwise WKExtensionMain will call
- // UIApplicationMain and normal startup occurs)
- //
- // * We can't call our entry point "main", because we call WKExtensionMain, and then we run into an
- // infinite loop on watchOS 7.0. So we call it xamarin_watch_extension_main.
- // * The watchOS 6+ SDK helpfully provides a static library (WKExtensionMainLegacy) that has a
- // WKExtensionMain function, which we use when the deployment target is earlier than watchOS 6.0.
- // This means that calling WKExtensionMain works everywhere (as long as we're using the
- // watchOS 6+ SDK to build; otherwise we just call "main" directly and don't link with the
- // WKExtensionMainLegacy library)
-
- if (app.SdkVersion.Major >= 6) {
- extension_main = "WKExtensionMain";
- } else {
- extension_main = "main";
- }
- }
-
- if (!string.IsNullOrEmpty (extension_main)) {
- sw.WriteLine ($"extern \"C\" {{ int {extension_main} (int argc, char* argv[]); }}");
- sw.WriteLine ();
- }
-
sw.WriteLine ();
sw.WriteLine ("void xamarin_initialize_callbacks () __attribute__ ((constructor));");
sw.WriteLine ("void xamarin_initialize_callbacks ()");
@@ -851,8 +818,6 @@ void GenerateIOSMain (StringWriter sw, Abi abi)
sw.WriteLine ("\txamarin_setup = xamarin_setup_impl;");
sw.WriteLine ("\txamarin_register_assemblies = xamarin_register_assemblies_impl;");
sw.WriteLine ("\txamarin_register_modules = xamarin_register_modules_impl;");
- if (!string.IsNullOrEmpty (extension_main))
- sw.WriteLine ($"\txamarin_extension_main = {extension_main};");
sw.WriteLine ("}");
}
#endif // MMP
diff --git a/tools/common/TargetFramework.cs b/tools/common/TargetFramework.cs
index c37194968c51..513747cea3b7 100644
--- a/tools/common/TargetFramework.cs
+++ b/tools/common/TargetFramework.cs
@@ -17,7 +17,6 @@ public struct TargetFramework : IEquatable {
const string TFMVersion = Xamarin.DotNetVersions.Version;
public const string DotNet_iOS_String = ".NETCoreApp,Version=" + TFMVersion + ",Profile=ios"; // Short form: netX.Y-ios
public const string DotNet_tvOS_String = ".NETCoreApp,Version=" + TFMVersion + ",Profile=tvos"; // Short form: netX.Y-tvos
- public const string DotNet_watchOS_String = ".NETCoreApp,Version=" + TFMVersion + ",Profile=watchos"; // Short form: netX.Y-watchos
public const string DotNet_macOS_String = ".NETCoreApp,Version=" + TFMVersion + ",Profile=macos"; // Short form: netX.Y-macos
public const string DotNet_MacCatalyst_String = ".NETCoreApp,Version=" + TFMVersion + ",Profile=maccatalyst"; // Short form: netX.Y-maccatalyst
@@ -30,8 +29,6 @@ public struct TargetFramework : IEquatable {
public static readonly TargetFramework Xamarin_Mac_2_0 = Parse ("Xamarin.Mac,v2.0");
public static readonly TargetFramework Xamarin_iOS_1_0 = Parse ("Xamarin.iOS,v1.0");
- public const string Xamarin_WatchOS_1_0_String = "Xamarin.WatchOS,v1.0";
- public static readonly TargetFramework Xamarin_WatchOS_1_0 = Parse (Xamarin_WatchOS_1_0_String);
public static readonly TargetFramework Xamarin_TVOS_1_0 = Parse ("Xamarin.TVOS,v1.0");
public static readonly TargetFramework Xamarin_MacCatalyst_1_0 = Parse ("Xamarin.MacCatalyst,v1.0");
@@ -41,7 +38,6 @@ public struct TargetFramework : IEquatable {
public static readonly TargetFramework DotNet_iOS = Parse (DotNet_iOS_String);
public static readonly TargetFramework DotNet_tvOS = Parse (DotNet_tvOS_String);
- public static readonly TargetFramework DotNet_watchOS = Parse (DotNet_watchOS_String);
public static readonly TargetFramework DotNet_macOS = Parse (DotNet_macOS_String);
public static readonly TargetFramework DotNet_MacCatalyst = Parse (DotNet_MacCatalyst_String);
@@ -51,9 +47,9 @@ public struct TargetFramework : IEquatable {
};
public static readonly TargetFramework [] ValidFrameworksiOS = new [] {
- Xamarin_iOS_1_0, Xamarin_WatchOS_1_0, Xamarin_TVOS_1_0,
+ Xamarin_iOS_1_0, Xamarin_TVOS_1_0,
Xamarin_MacCatalyst_1_0,
- DotNet_iOS, DotNet_tvOS, DotNet_watchOS, DotNet_MacCatalyst,
+ DotNet_iOS, DotNet_tvOS, DotNet_MacCatalyst,
};
public static IEnumerable AllValidFrameworks {
@@ -222,8 +218,6 @@ public ApplePlatform Platform {
case "MonoTouch":
case "Xamarin.iOS":
return ApplePlatform.iOS;
- case "Xamarin.WatchOS":
- return ApplePlatform.WatchOS;
case "Xamarin.TVOS":
return ApplePlatform.TVOS;
case "Xamarin.MacCatalyst":
@@ -234,8 +228,6 @@ public ApplePlatform Platform {
return ApplePlatform.iOS;
case "tvos":
return ApplePlatform.TVOS;
- case "watchos":
- return ApplePlatform.WatchOS;
case "macos":
return ApplePlatform.MacOSX;
case "maccatalyst":
@@ -258,8 +250,6 @@ public static TargetFramework GetTargetFramework (ApplePlatform platform, bool i
return isDotNet ? DotNet_tvOS : Xamarin_TVOS_1_0;
case ApplePlatform.MacCatalyst:
return DotNet_MacCatalyst;
- case ApplePlatform.WatchOS:
- return Xamarin_WatchOS_1_0;
case ApplePlatform.MacOSX:
return isDotNet ? DotNet_macOS : Xamarin_Mac_2_0;
default:
diff --git a/tools/dotnet-linker/Compat.cs b/tools/dotnet-linker/Compat.cs
index 3af5fb9d2929..2d44d69dea0e 100644
--- a/tools/dotnet-linker/Compat.cs
+++ b/tools/dotnet-linker/Compat.cs
@@ -32,8 +32,6 @@ public string ProductName {
return "Microsoft.iOS";
case ApplePlatform.TVOS:
return "Microsoft.tvOS";
- case ApplePlatform.WatchOS:
- return "Microsoft.watchOS";
case ApplePlatform.MacOSX:
return "Microsoft.macOS";
case ApplePlatform.MacCatalyst:
diff --git a/tools/dotnet-linker/LinkerConfiguration.cs b/tools/dotnet-linker/LinkerConfiguration.cs
index e450d03902ea..37cf38c510d8 100644
--- a/tools/dotnet-linker/LinkerConfiguration.cs
+++ b/tools/dotnet-linker/LinkerConfiguration.cs
@@ -246,9 +246,6 @@ public static LinkerConfiguration GetInstance (LinkContext context)
case "tvOS":
Platform = ApplePlatform.TVOS;
break;
- case "watchOS":
- Platform = ApplePlatform.WatchOS;
- break;
case "macOS":
Platform = ApplePlatform.MacOSX;
break;
@@ -414,7 +411,6 @@ public static LinkerConfiguration GetInstance (LinkContext context)
switch (Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
Application.BuildTarget = IsSimulatorBuild ? BuildTarget.Simulator : BuildTarget.Device;
break;
case ApplePlatform.MacOSX:
diff --git a/tools/linker/RemoveUserResourcesSubStep.cs b/tools/linker/RemoveUserResourcesSubStep.cs
index 712b67f58b37..6dce5223f7cd 100644
--- a/tools/linker/RemoveUserResourcesSubStep.cs
+++ b/tools/linker/RemoveUserResourcesSubStep.cs
@@ -34,7 +34,6 @@ public override void Initialize (LinkContext context)
switch (LinkContext.App.Platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
- case ApplePlatform.WatchOS:
case ApplePlatform.MacCatalyst:
prefixes = new string [] {
"__monotouch_content_",
diff --git a/tools/mtouch/Assembly.mtouch.cs b/tools/mtouch/Assembly.mtouch.cs
new file mode 100644
index 000000000000..0b535751b620
--- /dev/null
+++ b/tools/mtouch/Assembly.mtouch.cs
@@ -0,0 +1,255 @@
+// Copyright 2013 Xamarin Inc. All rights reserved.
+
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.Linq;
+using System.IO;
+
+using Mono.Cecil;
+
+using Xamarin.Utils;
+
+namespace Xamarin.Bundler {
+ public class AotInfo {
+ public AOTTask Task;
+ public LinkTask LinkTask;
+ public List BitcodeFiles = new List (); // .bc files produced by the AOT compiler
+ public List AsmFiles = new List (); // .s files produced by the AOT compiler.
+ public List AotDataFiles = new List (); // .aotdata files produced by the AOT compiler
+ public List ObjectFiles = new List (); // .o files produced by the AOT compiler
+ }
+
+ public partial class Assembly {
+ public bool BundleInContainerApp;
+
+ public Dictionary AotInfos = new Dictionary ();
+
+ HashSet dependency_map;
+ bool has_dependency_map;
+
+ public bool HasDependencyMap {
+ get {
+ return has_dependency_map;
+ }
+ }
+
+ public HashSet DependencyMap {
+ get {
+ return dependency_map;
+ }
+ }
+
+ // Recursively list all the assemblies the specified assembly depends on.
+ HashSet ComputeDependencies (List warnings)
+ {
+ if (dependency_map is not null)
+ return dependency_map;
+
+ dependency_map = new HashSet ();
+ has_dependency_map = true;
+
+ foreach (var ar in AssemblyDefinition.MainModule.AssemblyReferences) {
+ var found = false;
+
+ if (ar.FullName == AssemblyDefinition.FullName)
+ continue;
+
+ // find the dependent assembly
+ foreach (var a in Target.Assemblies) {
+ if (a == this)
+ continue;
+
+ if (a.AssemblyDefinition.Name.Name == ar.Name) {
+ // gotcha
+ if (!dependency_map.Contains (a.FullPath)) {
+ dependency_map.Add (a.FullPath);
+ dependency_map.UnionWith (a.ComputeDependencies (warnings));
+ }
+ found = true;
+ break;
+ }
+ }
+
+ if (!found) {
+ warnings.Add (new ProductException (3005, false, Errors.MT3005, ar.FullName, AssemblyDefinition.FullName));
+ has_dependency_map = false;
+ }
+ }
+
+ return dependency_map;
+ }
+
+ public void ComputeDependencyMap (List exceptions)
+ {
+ ComputeDependencies (exceptions);
+ }
+
+ // this will copy (and optionally strip) the assembly and almost all the related files:
+ // * debug file (.mdb)
+ // * config file (.config)
+ // * satellite assemblies (/.dll)
+ //
+ // Aot data is copied separately, because we might want to copy aot data
+ // even if we don't want to copy the assembly (if 32/64-bit assemblies are identical,
+ // only one is copied, but we still want the aotdata for both).
+ public void CopyToDirectory (string directory, bool reload = true, bool check_case = false, bool only_copy = false, bool copy_debug_symbols = true, StripAssembly strip = null)
+ {
+ var target = Path.Combine (directory, FileName);
+
+ var fileNameNoExtension = Path.GetFileNameWithoutExtension (FileName);
+ var assemblyName = AssemblyDefinition.Name.Name;
+ if (check_case && fileNameNoExtension != assemblyName && string.Equals (fileNameNoExtension, assemblyName, StringComparison.OrdinalIgnoreCase)) {
+ // Fix up the name of the target file to match the assembly name.
+ target = Path.Combine (directory, assemblyName + Path.GetExtension (FileName));
+ }
+
+ // our Copy code deletes the target (so copy'ing over itself is a bad idea)
+ if (directory != Path.GetDirectoryName (FullPath))
+ CopyAssembly (FullPath, target, copy_debug_symbols: copy_debug_symbols, strip: strip);
+
+ CopySatellitesToDirectory (directory);
+
+ if (!only_copy) {
+ if (reload) {
+ LoadAssembly (target);
+ } else {
+ FullPath = target;
+ }
+ }
+ }
+
+ public void CopyAotDataFilesToDirectory (string directory)
+ {
+ foreach (var aotdata in AotInfos.Values.SelectMany ((info) => info.AotDataFiles))
+ Application.UpdateFile (aotdata, Path.Combine (directory, Path.GetFileName (aotdata)));
+ }
+
+ /*
+ * Runs the AOT compiler, creating one of the following:
+ * [not llvm] => .s + .aotdata
+ * [is llvm-only] => .bc + .aotdata
+ * [is llvm] =>
+ * [is llvm creating assembly code] => .s + -llvm.s + .aotdata
+ * [is llvm creating object code] => .s + -llvm.o + .aotdata
+ */
+ public void CreateAOTTask (Abi abi)
+ {
+ // Check if we've already created the AOT tasks.
+ if (AotInfos.ContainsKey (abi))
+ return;
+
+ var assembly_path = FullPath;
+ var build_dir = Path.GetDirectoryName (assembly_path);
+ var arch = abi.AsArchString ();
+ var asm_dir = Path.Combine (App.Cache.Location, arch);
+ var asm = Path.Combine (asm_dir, Path.GetFileName (assembly_path)) + ".s";
+ var data = Path.Combine (asm_dir, Path.GetFileNameWithoutExtension (assembly_path)) + ".aotdata" + "." + arch;
+ var llvm_aot_ofile = "";
+ var asm_output = (string) null;
+ var other_output = string.Empty;
+ var is_llvm = (abi & Abi.LLVM) == Abi.LLVM;
+
+ Directory.CreateDirectory (asm_dir);
+
+ if (!File.Exists (assembly_path))
+ throw new ProductException (3004, true, Errors.MT3004, assembly_path);
+
+ var aotInfo = new AotInfo ();
+ AotInfos.Add (abi, aotInfo);
+
+ if (App.EnableLLVMOnlyBitCode) {
+ // In llvm-only mode, the AOT compiler emits a .bc file and no .s file for JITted code
+ llvm_aot_ofile = Path.Combine (asm_dir, Path.GetFileName (assembly_path)) + ".bc";
+ aotInfo.BitcodeFiles.Add (llvm_aot_ofile);
+ other_output = Path.Combine (asm_dir, Path.GetFileName (assembly_path)) + "-output";
+ } else if (is_llvm) {
+ if (Driver.GetLLVMAsmWriter (App)) {
+ llvm_aot_ofile = Path.Combine (asm_dir, Path.GetFileName (assembly_path)) + "-llvm.s";
+ aotInfo.AsmFiles.Add (llvm_aot_ofile);
+ } else {
+ llvm_aot_ofile = Path.Combine (asm_dir, Path.GetFileName (assembly_path)) + "-llvm.o";
+ aotInfo.ObjectFiles.Add (llvm_aot_ofile);
+ }
+ asm_output = asm;
+ } else {
+ asm_output = asm;
+ }
+
+ if (!string.IsNullOrEmpty (asm_output))
+ aotInfo.AsmFiles.Add (asm_output);
+ aotInfo.AotDataFiles.Add (data);
+
+ var aotCompiler = Driver.GetAotCompiler (App, abi, Target.Is64Build);
+ var aotArgs = App.GetAotArguments (assembly_path, abi, build_dir, asm_output ?? other_output, llvm_aot_ofile, data);
+ var task = new AOTTask {
+ Assembly = this,
+ AssemblyName = assembly_path,
+ AddBitcodeMarkerSection = BuildTarget != AssemblyBuildTarget.StaticObject && App.EnableMarkerOnlyBitCode,
+ AssemblyPath = asm,
+ FileName = aotCompiler,
+ Arguments = aotArgs,
+ Environment = new Dictionary { { "MONO_PATH", Path.GetDirectoryName (assembly_path) } },
+ AotInfo = aotInfo,
+ };
+
+ aotInfo.Task = task;
+ }
+
+ public bool CanSymLinkForApplication ()
+ {
+ if (EnableCxx || NeedsGccExceptionHandling || ForceLoad)
+ return false;
+
+ if (LinkerFlags is not null && LinkerFlags.Count > 0)
+ return false;
+
+ if (LinkWith is not null && LinkWith.Count > 0)
+ return false;
+
+ return true;
+ }
+
+ public bool Symlink ()
+ {
+ bool symlink_failed = false;
+
+ string target = Path.Combine (Target.TargetDirectory, Path.GetFileName (FullPath));
+ string source = FullPath;
+
+ if (!Driver.SymlinkAssembly (App, source, target, Path.GetDirectoryName (target))) {
+ symlink_failed = true;
+ CopyAssembly (source, target);
+ }
+
+ if (Satellites is not null) {
+ foreach (var a in Satellites) {
+ string s_target_dir = Path.Combine (Target.TargetDirectory, Path.GetFileName (Path.GetDirectoryName (a)));
+ string s_target = Path.Combine (s_target_dir, Path.GetFileName (a));
+
+ if (!Driver.SymlinkAssembly (App, a, s_target, s_target_dir)) {
+ CopyAssembly (a, s_target);
+ }
+ }
+ }
+
+ return symlink_failed;
+ }
+
+ public void LoadAssembly (string filename)
+ {
+ try {
+ AssemblyDefinition = Target.Resolver.Load (filename);
+ FullPath = AssemblyDefinition.MainModule.FileName;
+ if (symbols_loaded.HasValue && symbols_loaded.Value) {
+ symbols_loaded = null;
+ LoadSymbols ();
+ }
+ Driver.Log (3, "Loaded '{0}'", FullPath);
+ } catch (Exception e) {
+ // cecil might not be able to load the assembly, e.g. bug #758
+ throw new ProductException (1010, true, e, Errors.MT1010, FullPath, e.Message);
+ }
+ }
+ }
+}
diff --git a/tools/mtouch/Errors.designer.cs b/tools/mtouch/Errors.designer.cs
index c223284a271e..31d3592c1daa 100644
--- a/tools/mtouch/Errors.designer.cs
+++ b/tools/mtouch/Errors.designer.cs
@@ -8,4269 +8,4209 @@
//------------------------------------------------------------------------------
namespace Xamarin.Bundler {
- using System;
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- /// This class was generated by MSBuild using the GenerateResource task.
- /// To add or remove a member, edit your .resx file then rerun MSBuild.
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Build.Tasks.StronglyTypedResourceBuilder", "15.1.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- public class Errors {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Errors() {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- public static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Xamarin.Bundler.Errors", typeof(Errors).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- public static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
-
- ///
- /// Looks up a localized string similar to The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new.
- ///
- public static string _default {
- get {
- return ResourceManager.GetString("default", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to This version of Xamarin.Mac requires Mono {0} (the current Mono version is {1}). Please update the Mono.framework from http://mono-project.com/Downloads
- /// .
- ///
- public static string MM0001 {
- get {
- return ResourceManager.GetString("MM0001", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to You should provide one root assembly only, found {0} assemblies: '{1}'
- /// .
- ///
- public static string MM0008 {
- get {
- return ResourceManager.GetString("MM0008", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Application name '{0}.exe' conflicts with another user assembly.
- /// .
- ///
- public static string MM0023 {
- get {
- return ResourceManager.GetString("MM0023", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to You cannot provide a root assembly if --no-root-assembly is passed, found {0} assemblies: '{1}'
- /// .
- ///
- public static string MM0050 {
- get {
- return ResourceManager.GetString("MM0050", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to An output directory (--output) is required if --no-root-assembly is passed.
- /// .
- ///
- public static string MM0051 {
- get {
- return ResourceManager.GetString("MM0051", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to No executable was copied into the app bundle. Please contact 'support@xamarin.com'
- /// .
- ///
- public static string MM0079 {
- get {
- return ResourceManager.GetString("MM0079", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to machine.config file '{0}' can not be found.
- /// .
- ///
- public static string MM0097 {
- get {
- return ResourceManager.GetString("MM0097", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Hybrid AOT compilation requires all assemblies to be AOT compiled
- /// .
- ///
- public static string MM0114 {
- get {
- return ResourceManager.GetString("MM0114", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Projects using the Classic API are not supported anymore. Please migrate the project to the Unified API.
- /// .
- ///
- public static string MM0143 {
- get {
- return ResourceManager.GetString("MM0143", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Building 32-bit apps is not supported anymore. Please change the architecture in the project's Mac Build options to 'x86_64'.
- /// .
- ///
- public static string MM0144 {
- get {
- return ResourceManager.GetString("MM0144", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unable to parse the cflags '{0} from pkg-config: {1}
- /// .
- ///
- public static string MM0147 {
- get {
- return ResourceManager.GetString("MM0147", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not create symlink '{0}' -> '{1}': error {2}
- /// .
- ///
- public static string MM1034 {
- get {
- return ResourceManager.GetString("MM1034", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The required 'Xamarin.Mac.dll' assembly is missing from the references
- /// .
- ///
- public static string MM1401 {
- get {
- return ResourceManager.GetString("MM1401", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The assembly '{0}' is not compatible with this tool or profile
- /// .
- ///
- public static string MM1402 {
- get {
- return ResourceManager.GetString("MM1402", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to {0} {1} could not be found. Target framework '{2}' is unusable to package the application.
- /// .
- ///
- public static string MM1403 {
- get {
- return ResourceManager.GetString("MM1403", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Target framework '{0}' is invalid.
- /// .
- ///
- public static string MM1404 {
- get {
- return ResourceManager.GetString("MM1404", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to useFullXamMacFramework must always target framework .NET 4.5, not '{0}' which is invalid.
- /// .
- ///
- public static string MM1405 {
- get {
- return ResourceManager.GetString("MM1405", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Mismatch between Xamarin.Mac reference '{0}' and target framework selected '{1}'.
- /// .
- ///
- public static string MM1407 {
- get {
- return ResourceManager.GetString("MM1407", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Can not resolve reference: {0}
- /// .
- ///
- public static string MM1501 {
- get {
- return ResourceManager.GetString("MM1501", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Native library '{0}' was referenced but could not be found.
- /// .
- ///
- public static string MM2006 {
- get {
- return ResourceManager.GetString("MM2006", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Xamarin.Mac Unified API against a full .NET framework does not support linking SDK or All assemblies. Pass either the `-nolink` or `-linkplatform` flag.
- /// .
- ///
- public static string MM2007 {
- get {
- return ResourceManager.GetString("MM2007", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Referenced by {0}.{1}
- /// .
- ///
- public static string MM2009 {
- get {
- return ResourceManager.GetString("MM2009", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Only first {0} of {1} \"Referenced by\" warnings shown.
- /// .
- ///
- public static string MM2012 {
- get {
- return ResourceManager.GetString("MM2012", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to resolve the reference to \"{0}\", referenced in \"{1}\". The app will not include the referenced assembly, and may fail at runtime.
- /// .
- ///
- public static string MM2013 {
- get {
- return ResourceManager.GetString("MM2013", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the previous instruction was unexpected ({3})
- /// .
- ///
- public static string MM2106 {
- get {
- return ResourceManager.GetString("MM2106", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because could not determine the type of the delegate type of the first argument (instruction: {3})
- /// .
- ///
- public static string MM2106_A {
- get {
- return ResourceManager.GetString("MM2106_A", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.{2} in {0} because the type of the value passed as the first argument (the trampoline) is {1}, which makes it impossible to compute the block signature.
- /// .
- ///
- public static string MM2106_B {
- get {
- return ResourceManager.GetString("MM2106_B", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.SetupBlock in {0} at offset {1}: {2}.
- /// .
- ///
- public static string MM2106_D {
- get {
- return ResourceManager.GetString("MM2106_D", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to It's not safe to remove the dynamic registrar, because {0} references '{1}.{2} ({3})'.
- /// .
- ///
- public static string MM2107 {
- get {
- return ResourceManager.GetString("MM2107", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to {0} was stripped of architectures except {1} to comply with App Store restrictions. This could break existing codesigning signatures. Consider stripping the library with lipo or disabling with --optimize=-trim-architectures
- /// .
- ///
- public static string MM2108 {
- get {
- return ResourceManager.GetString("MM2108", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Xamarin.Mac 'Partial Static' registrar does not support linking. Disable linking or use another registrar mode.
- /// .
- ///
- public static string MM2110 {
- get {
- return ResourceManager.GetString("MM2110", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to AOT of '{0}' was requested but was not found
- /// .
- ///
- public static string MM3009 {
- get {
- return ResourceManager.GetString("MM3009", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Exclusion of AOT of '{0}' was requested but was not found
- /// .
- ///
- public static string MM3010 {
- get {
- return ResourceManager.GetString("MM3010", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Your application is using the '{0}' framework, which isn't included in the {3} SDK you're using to build your app (this framework was introduced in {3} {2}, while you're building with the {3} {1} SDK.) This configuration is not supported with the static registrar (pass --registrar:dynamic as an additional mmp argument in your project's Mac Build option to select). Alternatively select a newer SDK in your app's Mac Build options.
- /// .
- ///
- public static string MM4134 {
- get {
- return ResourceManager.GetString("MM4134", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to compile. Error code - {0}. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MM5103 {
- get {
- return ResourceManager.GetString("MM5103", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Native linking failed with error code 1. Check build log for details.
- /// .
- ///
- public static string MM5109 {
- get {
- return ResourceManager.GetString("MM5109", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Mono.framework MDK is missing. Please install the MDK for your Mono.framework version from https://www.mono-project.com/download/
- /// .
- ///
- public static string MM5202 {
- get {
- return ResourceManager.GetString("MM5202", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Can't find {0}, likely because of a corrupted Xamarin.Mac installation. Please reinstall Xamarin.Mac.
- /// .
- ///
- public static string MM5203 {
- get {
- return ResourceManager.GetString("MM5203", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid architecture '{0}'. The only valid architectures is x86_64.
- /// .
- ///
- public static string MM5205 {
- get {
- return ResourceManager.GetString("MM5205", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Skipping framework '{0}'. It is prohibited (rejected) by the Mac App Store
- /// .
- ///
- public static string MM5220 {
- get {
- return ResourceManager.GetString("MM5220", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Linking against framework '{0}'. It is prohibited (rejected) by the Mac App Store
- /// .
- ///
- public static string MM5221 {
- get {
- return ResourceManager.GetString("MM5221", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Xcode license agreement may not have been accepted. Please launch Xcode.
- /// .
- ///
- public static string MM5308 {
- get {
- return ResourceManager.GetString("MM5308", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to install_name_tool failed with an error code '{0}'. Check build log for details.
- /// .
- ///
- public static string MM5310 {
- get {
- return ResourceManager.GetString("MM5310", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT0000 {
- get {
- return ResourceManager.GetString("MT0000", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to '-devname' was provided without any device-specific action
- /// .
- ///
- public static string MT0001 {
- get {
- return ResourceManager.GetString("MT0001", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not parse the environment variable '{0}'
- /// .
- ///
- public static string MT0002 {
- get {
- return ResourceManager.GetString("MT0002", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to New refcounting logic requires SGen to be enabled too.
- /// .
- ///
- public static string MT0004 {
- get {
- return ResourceManager.GetString("MT0004", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The output directory * does not exist.
- /// .
- ///
- public static string MT0005 {
- get {
- return ResourceManager.GetString("MT0005", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to There is no devel platform at {0}, use --platform=PLAT to specify the SDK.
- /// .
- ///
- public static string MT0006 {
- get {
- return ResourceManager.GetString("MT0006", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to {0} was built against a more recent runtime ({1}) than Xamarin.iOS supports.
- /// .
- ///
- public static string MT0011 {
- get {
- return ResourceManager.GetString("MT0011", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Incomplete data is provided to complete *.
- /// .
- ///
- public static string MT0012 {
- get {
- return ResourceManager.GetString("MT0012", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Profiling support requires sgen to be enabled too.
- /// .
- ///
- public static string MT0013 {
- get {
- return ResourceManager.GetString("MT0013", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The iOS {0} SDK does not support building applications targeting {1}.
- /// .
- ///
- public static string MT0014 {
- get {
- return ResourceManager.GetString("MT0014", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid ABI: {0}. Supported ABIs are: i386, x86_64, armv7, armv7+llvm, armv7+llvm+thumb2, armv7s, armv7s+llvm, armv7s+llvm+thumb2, armv7k, armv7k+llvm, arm64, arm64+llvm, arm64_32 and arm64_32+llvm.
- /// .
- ///
- public static string MT0015 {
- get {
- return ResourceManager.GetString("MT0015", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Only one --[log|install|kill|launch]dev or --[launch|debug]sim option can be used.
- /// .
- ///
- public static string MT0019 {
- get {
- return ResourceManager.GetString("MT0019", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot compile using gcc/g++ (--use-gcc) when using the static registrar (this is the default when compiling for device). Either remove the --use-gcc flag or use the dynamic registrar (--registrar:dynamic).
- /// .
- ///
- public static string MT0021 {
- get {
- return ResourceManager.GetString("MT0021", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The options '--unsupported--enable-generics-in-registrar' and '--registrar' are not compatible.
- /// .
- ///
- public static string MT0022 {
- get {
- return ResourceManager.GetString("MT0022", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The root assembly {0} conflicts with another assembly ({1}).
- /// .
- ///
- public static string MT0023 {
- get {
- return ResourceManager.GetString("MT0023", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not find required file '{0}'.
- /// .
- ///
- public static string MT0024 {
- get {
- return ResourceManager.GetString("MT0024", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to No SDK version was provided. Please add --sdk=X.Y to specify which {0} SDK should be used to build your application.
- /// .
- ///
- public static string MT0025 {
- get {
- return ResourceManager.GetString("MT0025", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The options '\*' and '\*' are not compatible.
- /// .
- ///
- public static string MT0027 {
- get {
- return ResourceManager.GetString("MT0027", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot enable PIE (-pie) when targeting iOS 4.1 or earlier. Please disable PIE (-pie:false) or set the deployment target to at least iOS 4.2
- /// .
- ///
- public static string MT0028 {
- get {
- return ResourceManager.GetString("MT0028", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to REPL (--enable-repl) is only supported in the simulator (--sim).
- /// .
- ///
- public static string MT0029 {
- get {
- return ResourceManager.GetString("MT0029", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The executable name ({0}) and the app name ({1}) are different, this may prevent crash logs from getting symbolicated properly.
- /// .
- ///
- public static string MT0030 {
- get {
- return ResourceManager.GetString("MT0030", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The command line arguments '--enable-background-fetch' and '--launch-for-background-fetch' require '--launchsim' too.
- /// .
- ///
- public static string MT0031 {
- get {
- return ResourceManager.GetString("MT0031", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The option '--debugtrack' is ignored unless '--debug' is also specified.
- /// .
- ///
- public static string MT0032 {
- get {
- return ResourceManager.GetString("MT0032", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot reference '{0}.dll' in a {1} project - it is implicitly referenced by '{2}'.
- /// .
- ///
- public static string MT0034 {
- get {
- return ResourceManager.GetString("MT0034", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot launch a * simulator for a * app. Please enable the correct architecture(s) in your project's iOS Build options (Advanced page).
- /// .
- ///
- public static string MT0036 {
- get {
- return ResourceManager.GetString("MT0036", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not find the assembly '\*', referenced by '\*'.
- /// .
- ///
- public static string MT0040 {
- get {
- return ResourceManager.GetString("MT0040", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot reference '{0}' in a {1} app.
- /// .
- ///
- public static string MT0041 {
- get {
- return ResourceManager.GetString("MT0041", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to --listsim is only supported with Xcode 6.0 or later.
- /// .
- ///
- public static string MT0044 {
- get {
- return ResourceManager.GetString("MT0044", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to --extension is only supported when using the iOS 8.0 (or later) SDK.
- /// .
- ///
- public static string MT0045 {
- get {
- return ResourceManager.GetString("MT0045", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The minimum deployment target for Unified applications is 5.1.1, the current deployment target is '*'. Please select a newer deployment target in your project's iOS Application options.
- /// .
- ///
- public static string MT0047 {
- get {
- return ResourceManager.GetString("MT0047", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to {0}.framework is supported only if deployment target is 8.0 or later. {0} features might not work correctly.
- /// .
- ///
- public static string MT0049 {
- get {
- return ResourceManager.GetString("MT0049", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to {3} {0} requires Xcode {4} or later. The current Xcode version (found in {2}) is {1}.
- /// .
- ///
- public static string MT0051 {
- get {
- return ResourceManager.GetString("MT0051", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to No command specified.
- /// .
- ///
- public static string MT0052 {
- get {
- return ResourceManager.GetString("MT0052", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unable to canonicalize the path '{0}': {1} ({2}).
- /// .
- ///
- public static string MT0054 {
- get {
- return ResourceManager.GetString("MT0054", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The Xcode path '{0}' does not exist.
- /// .
- ///
- public static string MT0055 {
- get {
- return ResourceManager.GetString("MT0055", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot determine the path to Xcode.app from the sdk root '{0}'. Please specify the full path to the Xcode.app bundle.
- /// .
- ///
- public static string MT0057 {
- get {
- return ResourceManager.GetString("MT0057", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The Xcode.app '{0}' is invalid (the file '{1}' does not exist).
- /// .
- ///
- public static string MT0058 {
- get {
- return ResourceManager.GetString("MT0058", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to No Xcode.app specified (using --sdkroot), using the system Xcode as reported by 'xcode-select --print-path': {0}
- /// .
- ///
- public static string MT0061 {
- get {
- return ResourceManager.GetString("MT0061", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to No Xcode.app specified (using --sdkroot or 'xcode-select --print-path'), using the default Xcode instead: {0}
- /// .
- ///
- public static string MT0062 {
- get {
- return ResourceManager.GetString("MT0062", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot find the executable in the extension * (no CFBundleExecutable entry in its Info.plist)
- /// .
- ///
- public static string MT0063 {
- get {
- return ResourceManager.GetString("MT0063", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Xamarin.iOS only supports embedded frameworks when deployment target is at least 8.0 (current deployment target: '{0}'; embedded frameworks: '{1}')
- /// .
- ///
- public static string MT0065 {
- get {
- return ResourceManager.GetString("MT0065", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Xamarin.iOS only supports embedded frameworks when deployment target is at least 2.0 (current deployment target: '{0}'; embedded frameworks: '{1}')
- /// .
- ///
- public static string MT0065_A {
- get {
- return ResourceManager.GetString("MT0065_A", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid build registrar assembly: *
- /// .
- ///
- public static string MT0066 {
- get {
- return ResourceManager.GetString("MT0066", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid registrar: {0}
- /// .
- ///
- public static string MT0067 {
- get {
- return ResourceManager.GetString("MT0067", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Extensions are not supported for the platform '{0}'.
- /// .
- ///
- public static string MT0072 {
- get {
- return ResourceManager.GetString("MT0072", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to {4} {0} does not support a deployment target of {1} for {3} (the minimum is {2}). Please select a newer deployment target in your project's Info.plist or change the SupportedOSPlatformVersion property in your project file.
- /// .
- ///
- public static string MT0073 {
- get {
- return ResourceManager.GetString("MT0073", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid architecture '{0}' for {1} projects. Valid architectures are: {2}
- /// .
- ///
- public static string MT0075 {
- get {
- return ResourceManager.GetString("MT0075", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to No architecture specified (using the --abi argument). An architecture is required for {0} projects.
- /// .
- ///
- public static string MT0076 {
- get {
- return ResourceManager.GetString("MT0076", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to WatchOS projects must be extensions.
- /// .
- ///
- public static string MT0077 {
- get {
- return ResourceManager.GetString("MT0077", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Incremental builds are enabled with a deployment target < 8.0 (currently {0}). This is not supported (the resulting application will not launch on iOS 9), so the deployment target will be set to 8.0.
- /// .
- ///
- public static string MT0078 {
- get {
- return ResourceManager.GetString("MT0078", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The recommended Xcode version for {4} {0} is Xcode {3} or later. The current Xcode version (found in {2}) is {1}.
- /// .
- ///
- public static string MT0079 {
- get {
- return ResourceManager.GetString("MT0079", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The command line argument --download-crash-report also requires --download-crash-report-to.
- /// .
- ///
- public static string MT0081 {
- get {
- return ResourceManager.GetString("MT0081", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to REPL (--enable-repl) is only supported when linking is not used (--nolink).
- /// .
- ///
- public static string MT0082 {
- get {
- return ResourceManager.GetString("MT0082", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Asm-only bitcode is not supported on watchOS. Use either --bitcode:marker or --bitcode:full.
- /// .
- ///
- public static string MT0083 {
- get {
- return ResourceManager.GetString("MT0083", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Bitcode is not supported in the simulator. Do not pass --bitcode when building for the simulator.
- /// .
- ///
- public static string MT0084 {
- get {
- return ResourceManager.GetString("MT0084", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to No reference to '{0}' was found. It will be added automatically.
- /// .
- ///
- public static string MT0085 {
- get {
- return ResourceManager.GetString("MT0085", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Incremental builds (--fastdev) is not supported with the Boehm GC. Incremental builds will be disabled.
- /// .
- ///
- public static string MT0087 {
- get {
- return ResourceManager.GetString("MT0087", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not find 'mlaunch'.
- /// .
- ///
- public static string MT0093 {
- get {
- return ResourceManager.GetString("MT0093", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Aot files could not be copied to the destination directory {0}: {1}
- /// .
- ///
- public static string MT0095 {
- get {
- return ResourceManager.GetString("MT0095", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Aot files could not be copied to the destination directory {0}: Could not start process.
- /// .
- ///
- public static string MT0095_A {
- get {
- return ResourceManager.GetString("MT0095_A", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Aot files could not be copied to the destination directory {0}
- /// .
- ///
- public static string MT0095_B {
- get {
- return ResourceManager.GetString("MT0095_B", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid assembly build target: '{0}'. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new).
- /// .
- ///
- public static string MT0100 {
- get {
- return ResourceManager.GetString("MT0100", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The assembly '{0}' is specified multiple times in --assembly-build-target arguments.
- /// .
- ///
- public static string MT0101 {
- get {
- return ResourceManager.GetString("MT0101", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The assemblies '{0}' and '{1}' have the same target name ('{2}'), but different targets ('{3}' and '{4}').
- /// .
- ///
- public static string MT0102 {
- get {
- return ResourceManager.GetString("MT0102", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The static object '{0}' contains more than one assembly ('{1}'), but each static object must correspond with exactly one assembly.
- /// .
- ///
- public static string MT0103 {
- get {
- return ResourceManager.GetString("MT0103", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to No assembly build target was specified for '{0}'.
- /// .
- ///
- public static string MT0105 {
- get {
- return ResourceManager.GetString("MT0105", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The assembly build target name '{0}' is invalid: the character '{1}' is not allowed.
- /// .
- ///
- public static string MT0106 {
- get {
- return ResourceManager.GetString("MT0106", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The assemblies '{0}' have different custom LLVM optimizations ('{1}'), which is not allowed when they are all compiled to a single binary.
- /// .
- ///
- public static string MT0107 {
- get {
- return ResourceManager.GetString("MT0107", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The assembly build target '{0}' did not match any assemblies.
- /// .
- ///
- public static string MT0108 {
- get {
- return ResourceManager.GetString("MT0108", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The assembly '{0}' was loaded from a different path than the provided path (provided path: {1}, actual path: {2}).
- /// .
- ///
- public static string MT0109 {
- get {
- return ResourceManager.GetString("MT0109", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Bitcode has been enabled because this version of Xamarin.iOS does not support building watchOS projects using LLVM without enabling bitcode.
- /// .
- ///
- public static string MT0111 {
- get {
- return ResourceManager.GetString("MT0111", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Native code sharing has been disabled because {0}
- /// .
- ///
- public static string MT0112 {
- get {
- return ResourceManager.GetString("MT0112", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the container app's deployment target is earlier than iOS 8.0 (it's {0}).
- /// .
- ///
- public static string MT0112_a {
- get {
- return ResourceManager.GetString("MT0112_a", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the container app includes I18N assemblies ({0}).
- /// .
- ///
- public static string MT0112_b {
- get {
- return ResourceManager.GetString("MT0112_b", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the container app has custom xml definitions for the managed linker ({0}).
- /// .
- ///
- public static string MT0112_c {
- get {
- return ResourceManager.GetString("MT0112_c", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Native code sharing has been disabled for the extension '{0}' because {1}
- /// .
- ///
- public static string MT0113 {
- get {
- return ResourceManager.GetString("MT0113", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the bitcode options differ between the container app ({0}) and the extension ({1}).
- /// .
- ///
- public static string MT0113_a {
- get {
- return ResourceManager.GetString("MT0113_a", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the --assembly-build-target options are different between the container app ({0}) and the extension ({1}).
- /// .
- ///
- public static string MT0113_b {
- get {
- return ResourceManager.GetString("MT0113_b", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the I18N assemblies are different between the container app ({0}) and the extension ({1}).
- /// .
- ///
- public static string MT0113_c {
- get {
- return ResourceManager.GetString("MT0113_c", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the arguments to the AOT compiler are different between the container app ({0}) and the extension ({1}).
- /// .
- ///
- public static string MT0113_d {
- get {
- return ResourceManager.GetString("MT0113_d", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the other arguments to the AOT compiler are different between the container app ({0}) and the extension ({1}).
- /// .
- ///
- public static string MT0113_e {
- get {
- return ResourceManager.GetString("MT0113_e", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to LLVM is not enabled or disabled in both the container app ({0}) and the extension ({1}).
- /// .
- ///
- public static string MT0113_f {
- get {
- return ResourceManager.GetString("MT0113_f", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the managed linker settings are different between the container app ({0}) and the extension ({1}).
- /// .
- ///
- public static string MT0113_g {
- get {
- return ResourceManager.GetString("MT0113_g", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the skipped assemblies for the managed linker are different between the container app ({0}) and the extension ({1}).
- /// .
- ///
- public static string MT0113_h {
- get {
- return ResourceManager.GetString("MT0113_h", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the extension has custom xml definitions for the managed linker ({0}).
- /// .
- ///
- public static string MT0113_i {
- get {
- return ResourceManager.GetString("MT0113_i", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the interpreter settings are different between the container app ({0}) and the extension ({1}).
- /// .
- ///
- public static string MT0113_j {
- get {
- return ResourceManager.GetString("MT0113_j", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the interpreted assemblies are different between the container app ({0}) and the extension ({1}).
- /// .
- ///
- public static string MT0113_k {
- get {
- return ResourceManager.GetString("MT0113_k", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the container app does not build for the ABI {0} (while the extension is building for this ABI).
- /// .
- ///
- public static string MT0113_l {
- get {
- return ResourceManager.GetString("MT0113_l", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the container app is building for the ABI {0}, which is not compatible with the extension's ABI ({1}).
- /// .
- ///
- public static string MT0113_m {
- get {
- return ResourceManager.GetString("MT0113_m", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the remove-dynamic-registrar optimization differ between the container app ({0}) and the extension ({1}).
- /// .
- ///
- public static string MT0113_n {
- get {
- return ResourceManager.GetString("MT0113_n", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to the container app is referencing the assembly '{0}' from '{1}', while the extension references a different version from '{2}'.
- /// .
- ///
- public static string MT0113_o {
- get {
- return ResourceManager.GetString("MT0113_o", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to It is recommended to reference dynamic symbols using code (--dynamic-symbol-mode=code) when bitcode is enabled.
- /// .
- ///
- public static string MT0115 {
- get {
- return ResourceManager.GetString("MT0115", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid architecture: {0}. 32-bit architectures are not supported when deployment target is 11 or later.
- /// .
- ///
- public static string MT0116 {
- get {
- return ResourceManager.GetString("MT0116", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Can't launch a 32-bit app on a simulator that only supports 64-bit.
- /// .
- ///
- public static string MT0117 {
- get {
- return ResourceManager.GetString("MT0117", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The directory {0} containing the mono symbols could not be found.
- /// .
- ///
- public static string MT0118 {
- get {
- return ResourceManager.GetString("MT0118", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The executable assembly {0} does not reference {1}.dll.
- /// .
- ///
- public static string MT0123 {
- get {
- return ResourceManager.GetString("MT0123", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not set the current language to '{0}' (according to LANG={1}): {2}
- /// .
- ///
- public static string MT0124 {
- get {
- return ResourceManager.GetString("MT0124", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The --assembly-build-target command-line argument is ignored in the simulator.
- /// .
- ///
- public static string MT0125 {
- get {
- return ResourceManager.GetString("MT0125", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Incremental builds have been disabled because incremental builds are not supported in the simulator.
- /// .
- ///
- public static string MT0126 {
- get {
- return ResourceManager.GetString("MT0126", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Incremental builds have been disabled because incremental builds are currently not supported in projects that include more than one third-party binding library.
- /// .
- ///
- public static string MT0127 {
- get {
- return ResourceManager.GetString("MT0127", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not touch the file '{0}': {1}
- /// .
- ///
- public static string MT0128 {
- get {
- return ResourceManager.GetString("MT0128", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot find the assembly '{0}' referenced from '{1}'.
- /// .
- ///
- public static string MT0136 {
- get {
- return ResourceManager.GetString("MT0136", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot find the assembly '{0}', referenced by a {2} attribute in '{1}'.
- /// .
- ///
- public static string MT0137 {
- get {
- return ResourceManager.GetString("MT0137", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to File '{0}' is not a valid framework.
- /// .
- ///
- public static string MT0140 {
- get {
- return ResourceManager.GetString("MT0140", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The interpreter is not supported in the simulator. Switching to REPL which provide the same extra features on the simulator.
- /// .
- ///
- public static string MT0141 {
- get {
- return ResourceManager.GetString("MT0141", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot find the assembly '{0}', passed as an argument to --interpreter.
- /// .
- ///
- public static string MT0142 {
- get {
- return ResourceManager.GetString("MT0142", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Please use device specific builds on WatchOS when building for Debug.
- /// .
- ///
- public static string MT0145 {
- get {
- return ResourceManager.GetString("MT0145", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to ARM64_32 Debug mode requires --interpreter[=all], forcing it.
- /// .
- ///
- public static string MT0146 {
- get {
- return ResourceManager.GetString("MT0146", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Internal error: The interpreter is currently only available for 64 bits.
- /// .
- ///
- public static string MT0150 {
- get {
- return ResourceManager.GetString("MT0150", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Internal error: byref array is neither string, NSObject or INativeObject.
- /// .
- ///
- public static string MT0156 {
- get {
- return ResourceManager.GetString("MT0156", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Internal error: can't convert from '{0}' to '{1}' in {2}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new).
- /// .
- ///
- public static string MT0157 {
- get {
- return ResourceManager.GetString("MT0157", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Internal error: the smart enum {0} doesn't seem to be a smart enum after all. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new).
- /// .
- ///
- public static string MT0158 {
- get {
- return ResourceManager.GetString("MT0158", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Internal error: unsupported tokentype ({0}) for {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new).
- /// .
- ///
- public static string MT0159 {
- get {
- return ResourceManager.GetString("MT0159", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Internal error: the static registrar should not execute unless the linker also executed (or was disabled). A potential workaround is to pass '-f' as an additional {0} argument to force a full build. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new).
- /// .
- ///
- public static string MT0160 {
- get {
- return ResourceManager.GetString("MT0160", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Internal error: symbol without a name (type: {0}). Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new).
- /// .
- ///
- public static string MT0161 {
- get {
- return ResourceManager.GetString("MT0161", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Internal error: 'can't convert frameworks to frameworks: {0}'. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new).
- /// .
- ///
- public static string MT0168 {
- get {
- return ResourceManager.GetString("MT0168", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The assembly {0} was referenced by another assembly, but at the same time linked out by the linker.
- /// .
- ///
- public static string MT0174_a {
- get {
- return ResourceManager.GetString("MT0174_a", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The linker output contains more than one assemblies named '{0}':\n\t{1}
- /// .
- ///
- public static string MT0175_a {
- get {
- return ResourceManager.GetString("MT0175_a", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Not all assemblies for {0} have link tasks
- /// .
- ///
- public static string MT0175_b {
- get {
- return ResourceManager.GetString("MT0175_b", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Link tasks for {0} aren't all the same
- /// .
- ///
- public static string MT0175_c {
- get {
- return ResourceManager.GetString("MT0175_c", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not load the assembly '{0}': {1}
- /// .
- ///
- public static string MT1010 {
- get {
- return ResourceManager.GetString("MT1010", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Dependency tracking error: no files to compare. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new with a test case.
- /// .
- ///
- public static string MT1013 {
- get {
- return ResourceManager.GetString("MT1013", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to re-use cached version of '{0}': {1}.
- /// .
- ///
- public static string MT1014 {
- get {
- return ResourceManager.GetString("MT1014", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to create the executable '{0}': {1}
- /// .
- ///
- public static string MT1015 {
- get {
- return ResourceManager.GetString("MT1015", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not copy the directory '{0}' to '{1}': {2}
- /// .
- ///
- public static string MT1022 {
- get {
- return ResourceManager.GetString("MT1022", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot include different versions of the framework '{0}'
- /// .
- ///
- public static string MT1035 {
- get {
- return ResourceManager.GetString("MT1035", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Framework '{0}' included from: {1} (Related to previous error)
- /// .
- ///
- public static string MT1036 {
- get {
- return ResourceManager.GetString("MT1036", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unsupported bitcode platform: {0}.
- /// .
- ///
- public static string MT1300 {
- get {
- return ResourceManager.GetString("MT1300", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unsupported TvOS ABI: {0}.
- /// .
- ///
- public static string MT1301 {
- get {
- return ResourceManager.GetString("MT1301", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not extract the native library '{0}' from '{1}'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
- /// .
- ///
- public static string MT1302 {
- get {
- return ResourceManager.GetString("MT1302", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid escape sequence when converting .s to .ll, \\ as the last characted in {0}:{1}.
- /// .
- ///
- public static string MT1302_A {
- get {
- return ResourceManager.GetString("MT1302_A", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid escape sequence when converting .s to .ll, bad octal escape in {0}:{1} due to {2}.
- /// .
- ///
- public static string MT1302_B {
- get {
- return ResourceManager.GetString("MT1302_B", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not decompress the native framework '{0}' from '{1}'. Please review the build log for more information from the native 'unzip' command.
- /// .
- ///
- public static string MT1303 {
- get {
- return ResourceManager.GetString("MT1303", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The binding library '{0}' contains a user framework ({0}), but embedded user frameworks require iOS 8.0 (the deployment target is {1}). Please set the deployment target in the Info.plist file to at least 8.0.
- /// .
- ///
- public static string MT1305 {
- get {
- return ResourceManager.GetString("MT1305", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Not a Mach-O static library (unknown header '{0}', expected '!<arch>').
- /// .
- ///
- public static string MT1601 {
- get {
- return ResourceManager.GetString("MT1601", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid entry '{0}' in the static library '{1}', entry header doesn't end with 0x60 0x0A (found '0x{2} 0x{3}')
- /// .
- ///
- public static string MT1605 {
- get {
- return ResourceManager.GetString("MT1605", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Can not resolve reference: {0}
- /// .
- ///
- public static string MT2002 {
- get {
- return ResourceManager.GetString("MT2002", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Option '--optimize={0}{1}' will be ignored since the static registrar is not enabled
- /// .
- ///
- public static string MT2003 {
- get {
- return ResourceManager.GetString("MT2003", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Option '--optimize={0}{1}' will be ignored since linking is disabled
- /// .
- ///
- public static string MT2003_B {
- get {
- return ResourceManager.GetString("MT2003_B", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Option '--optimize={0}' will be ignored since it's only applicable to {1}..
- ///
- public static string MT2003_C {
- get {
- return ResourceManager.GetString("MT2003_C", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Can not load mscorlib.dll from: '{0}'. Please reinstall Xamarin.iOS.
- /// .
- ///
- public static string MT2006 {
- get {
- return ResourceManager.GetString("MT2006", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to resolve "{0}" reference from "{1}"
- /// .
- ///
- public static string MT2007 {
- get {
- return ResourceManager.GetString("MT2007", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unknown HttpMessageHandler `{0}`. Valid values are HttpClientHandler (default), CFNetworkHandler or NSUrlSessionHandler
- /// .
- ///
- public static string MT2010 {
- get {
- return ResourceManager.GetString("MT2010", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unable to link assembly '{0}' as it is mixed-mode.
- /// .
- ///
- public static string MT2014 {
- get {
- return ResourceManager.GetString("MT2014", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid HttpMessageHandler `{0}` for watchOS. The only valid value is NSUrlSessionHandler.
- /// .
- ///
- public static string MT2015 {
- get {
- return ResourceManager.GetString("MT2015", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The assembly '{0}' is referenced from two different locations: '{1}' and '{2}'.
- /// .
- ///
- public static string MT2018 {
- get {
- return ResourceManager.GetString("MT2018", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Can not load the root assembly '{0}'.
- /// .
- ///
- public static string MT2019 {
- get {
- return ResourceManager.GetString("MT2019", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Can't resolve the reference '{0}', referenced from the method '{1}' in '{2}'.
- /// .
- ///
- public static string MT2101 {
- get {
- return ResourceManager.GetString("MT2101", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Error processing the method '{0}' in the assembly '{1}': {2}
- /// .
- ///
- public static string MT2102 {
- get {
- return ResourceManager.GetString("MT2102", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Error processing the method '{0}' in the assembly '{1}'
- /// .
- ///
- public static string MT2102_A {
- get {
- return ResourceManager.GetString("MT2102_A", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The [BindingImpl] attribute on the member '{0}' is invalid: did not expect fields.
- /// .
- ///
- public static string MT2105_A {
- get {
- return ResourceManager.GetString("MT2105_A", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The [BindingImpl] attribute on the member '{0}' is invalid: did not expect properties.
- /// .
- ///
- public static string MT2105_B {
- get {
- return ResourceManager.GetString("MT2105_B", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The [BindingImpl] attribute on the member '{0}' is invalid: did not expect a constructor with a '{1}' parameter type (expected 'ObjCRuntime.BindingImplOptions).
- /// .
- ///
- public static string MT2105_C {
- get {
- return ResourceManager.GetString("MT2105_C", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The [BindingImpl] attribute on the member '{0}' is invalid: did not expect a constructor with a {1} parameters (expected 1 parameters).
- /// .
- ///
- public static string MT2105_D {
- get {
- return ResourceManager.GetString("MT2105_D", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The property {0}.{1} contains a '{2}' exception clause, which is currently not supported when compiling for bitcode. This property will throw an exception if called.
- /// .
- ///
- public static string MT2105_E {
- get {
- return ResourceManager.GetString("MT2105_E", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The method {0}.{1} contains a '{2}' exception clause, which is currently not supported when compiling for bitcode. This method will throw an exception if called.
- /// .
- ///
- public static string MT2105_F {
- get {
- return ResourceManager.GetString("MT2105_F", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Debugging is not supported when building with LLVM. Debugging has been disabled.
- /// .
- ///
- public static string MT3003 {
- get {
- return ResourceManager.GetString("MT3003", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not AOT the assembly '{0}' because it doesn't exist.
- /// .
- ///
- public static string MT3004 {
- get {
- return ResourceManager.GetString("MT3004", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The dependency '{0}' of the assembly '{1}' was not found. Please review the project's references.
- /// .
- ///
- public static string MT3005 {
- get {
- return ResourceManager.GetString("MT3005", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not compute a complete dependency map for the project. This will result in slower build times because Xamarin.iOS can't properly detect what needs to be rebuilt (and what does not need to be rebuilt). Please review previous warnings for more details.
- /// .
- ///
- public static string MT3006 {
- get {
- return ResourceManager.GetString("MT3006", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Bitcode support requires the use of LLVM (--abi=arm64+llvm etc.)
- /// .
- ///
- public static string MT3008 {
- get {
- return ResourceManager.GetString("MT3008", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The main template could not be expanded to `{0}`.
- /// .
- ///
- public static string MT4001 {
- get {
- return ResourceManager.GetString("MT4001", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to compile the generated code for P/Invoke methods. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT4002 {
- get {
- return ResourceManager.GetString("MT4002", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar cannot build a signature for type `{0}`.
- /// .
- ///
- public static string MT4101 {
- get {
- return ResourceManager.GetString("MT4101", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar found an invalid type `{0}` in signature for method `{2}`. Use `{1}` instead.
- /// .
- ///
- public static string MT4102 {
- get {
- return ResourceManager.GetString("MT4102", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar found an invalid type `{0}` in signature for method `{1}`: The type implements INativeObject, but does not have a constructor that takes two (IntPtr, bool) arguments.
- /// .
- ///
- public static string MT4103 {
- get {
- return ResourceManager.GetString("MT4103", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar cannot marshal the return value for type `{0}` in signature for method `{1}`.
- /// .
- ///
- public static string MT4104 {
- get {
- return ResourceManager.GetString("MT4104", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar cannot marshal the return value of type `{0}` in the method `{1}.{2}`.
- /// .
- ///
- public static string MT4104_A {
- get {
- return ResourceManager.GetString("MT4104_A", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar cannot marshal the parameter of type `{0}` in signature for method `{1}`.
- /// .
- ///
- public static string MT4105 {
- get {
- return ResourceManager.GetString("MT4105", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar cannot get the ObjectiveC type for managed type `{0}`.
- /// .
- ///
- public static string MT4108 {
- get {
- return ResourceManager.GetString("MT4108", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to compile the generated registrar code. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT4109 {
- get {
- return ResourceManager.GetString("MT4109", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar cannot marshal the out parameter of type `{0}` in signature for method `{1}`.
- /// .
- ///
- public static string MT4110 {
- get {
- return ResourceManager.GetString("MT4110", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar cannot build a signature for type `{0}' in method `{1}`.
- /// .
- ///
- public static string MT4111 {
- get {
- return ResourceManager.GetString("MT4111", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar found a generic method: '{0}'. Exporting generic methods is not supported, and will lead to random behavior and/or crashes
- /// .
- ///
- public static string MT4113 {
- get {
- return ResourceManager.GetString("MT4113", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unexpected error in the registrar for the method '{0}.{1}' - Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT4114 {
- get {
- return ResourceManager.GetString("MT4114", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not register the assembly '{0}': {1}
- /// .
- ///
- public static string MT4116 {
- get {
- return ResourceManager.GetString("MT4116", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar found a signature mismatch in the method '{0}.{1}' - the selector '{4}' indicates the method takes {2} parameters, while the managed method has {3} parameters.
- /// .
- ///
- public static string MT4117 {
- get {
- return ResourceManager.GetString("MT4117", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register two managed types ('{0}' and '{1}') with the same native name ('{2}').
- /// .
- ///
- public static string MT4118 {
- get {
- return ResourceManager.GetString("MT4118", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not register the selector '{0}' of the member '{1}.{2}' because the selector is already registered on the member '{3}'.
- /// .
- ///
- public static string MT4119 {
- get {
- return ResourceManager.GetString("MT4119", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar found an unknown field type '{0}' in field '{1}.{2}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT4120 {
- get {
- return ResourceManager.GetString("MT4120", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot use GCC/G++ to compile the generated code from the static registrar when using the Accounts framework (the header files provided by Apple used during the compilation require Clang). Either use Clang (--compiler:clang) or the dynamic registrar (--registrar:dynamic).
- /// .
- ///
- public static string MT4121 {
- get {
- return ResourceManager.GetString("MT4121", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The type of the variadic parameter in the variadic function '{0}' must be System.IntPtr.
- /// .
- ///
- public static string MT4123 {
- get {
- return ResourceManager.GetString("MT4123", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid {0} found on '{1}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT4124 {
- get {
- return ResourceManager.GetString("MT4124", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid RegisterAttribute property {1} found on '{0}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT4124_A {
- get {
- return ResourceManager.GetString("MT4124_A", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid AdoptsAttribute found on '{0}': expected 1 constructor arguments, got {1}. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT4124_B {
- get {
- return ResourceManager.GetString("MT4124_B", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid BindAsAttribute found on '{0}.{1}': unknown field {2}. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT4124_C {
- get {
- return ResourceManager.GetString("MT4124_C", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid {0} found on '{1}.{2}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT4124_D {
- get {
- return ResourceManager.GetString("MT4124_D", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid BindAsAttribute found on '{0}': should have 1 constructor arguments, found {1}. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT4124_E {
- get {
- return ResourceManager.GetString("MT4124_E", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid BindAsAttribute found on '{0}': could not find the underlying enum type of {1}. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT4124_H {
- get {
- return ResourceManager.GetString("MT4124_H", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid {0} found on '{1}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new.
- ///
- public static string MT4124_I {
- get {
- return ResourceManager.GetString("MT4124_I", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar found an invalid type '{0}' in signature for method '{1}': The interface must have a Protocol attribute specifying its wrapper type.
- /// .
- ///
- public static string MT4125 {
- get {
- return ResourceManager.GetString("MT4125", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register two managed protocols ('{0}' and '{1}') with the same native name ('{2}').
- /// .
- ///
- public static string MT4126 {
- get {
- return ResourceManager.GetString("MT4126", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register more than one interface method for the method '{0}.{1}'.
- /// .
- ///
- public static string MT4127 {
- get {
- return ResourceManager.GetString("MT4127", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar found an invalid generic parameter type '{0}' in the parameter {2} of the method '{1}'. The generic parameter must have an 'NSObject' constraint.
- /// .
- ///
- public static string MT4128 {
- get {
- return ResourceManager.GetString("MT4128", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar found an invalid generic return type '{0}' in the method '{1}'. The generic return type must have an 'NSObject' constraint.
- /// .
- ///
- public static string MT4129 {
- get {
- return ResourceManager.GetString("MT4129", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar cannot export static methods in generic classes ('{0}').
- /// .
- ///
- public static string MT4130 {
- get {
- return ResourceManager.GetString("MT4130", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar cannot export static properties in generic classes ('{0}.{1}').
- /// .
- ///
- public static string MT4131 {
- get {
- return ResourceManager.GetString("MT4131", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar found an invalid generic return type '{0}' in the property '{1}.{2}'. The return type must have an 'NSObject' constraint.
- /// .
- ///
- public static string MT4132 {
- get {
- return ResourceManager.GetString("MT4132", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Your application is using the '{0}' framework, which isn't included in the {3} SDK you're using to build your app (this framework was introduced in {3} {2}, while you're building with the {3} {1} SDK.) Please select a newer SDK in your app's {3} Build options.
- /// .
- ///
- public static string MT4134 {
- get {
- return ResourceManager.GetString("MT4134", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The member '{0}' has an Export attribute without a selector. A selector is required.
- /// .
- ///
- public static string MT4135 {
- get {
- return ResourceManager.GetString("MT4135", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar cannot marshal the parameter type '{0}' of the parameter '{1}' in the method '{2}.{3}'
- /// .
- ///
- public static string MT4136 {
- get {
- return ResourceManager.GetString("MT4136", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The method '{0}.{1}' is implementing '{2}.{3}'.
- /// .
- ///
- public static string MT4137 {
- get {
- return ResourceManager.GetString("MT4137", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar cannot marshal the property type '{0}' of the property '{1}.{2}'.
- /// .
- ///
- public static string MT4138 {
- get {
- return ResourceManager.GetString("MT4138", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar cannot marshal the property type '{0}' of the property '{1}.{2}'. Properties with the [Connect] attribute must have a property type of NSObject (or a subclass of NSObject).
- /// .
- ///
- public static string MT4139 {
- get {
- return ResourceManager.GetString("MT4139", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar found a signature mismatch in the method '{0}.{1}' - the selector '{4}' indicates the variadic method takes {2} parameters, while the managed method has {3} parameters.
- /// .
- ///
- public static string MT4140 {
- get {
- return ResourceManager.GetString("MT4140", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register the selector '{0}' on the member '{1}.{2}' because this selector is already implicitly registered.
- /// .
- ///
- public static string MT4141 {
- get {
- return ResourceManager.GetString("MT4141", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid enum '{0}': enums with the [Native] attribute must have a underlying enum type of either 'long' or 'ulong'.
- /// .
- ///
- public static string MT4145 {
- get {
- return ResourceManager.GetString("MT4145", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The Name parameter of the Registrar attribute on the class '{0}' ('{3}') contains an invalid character: '{1}' (0x{2}).
- /// .
- ///
- public static string MT4146 {
- get {
- return ResourceManager.GetString("MT4146", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid {0} found on '{1}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT4147 {
- get {
- return ResourceManager.GetString("MT4147", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar found a generic protocol: '{0}'. Exporting generic protocols is not supported.
- /// .
- ///
- public static string MT4148 {
- get {
- return ResourceManager.GetString("MT4148", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register the extension method '{0}.{1}' because the type of the first parameter ('{2}') does not match the category type ('{3}').
- /// .
- ///
- public static string MT4149 {
- get {
- return ResourceManager.GetString("MT4149", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register the type '{0}' because the category type '{1}' in its Category attribute does not inherit from NSObject.
- /// .
- ///
- public static string MT4150 {
- get {
- return ResourceManager.GetString("MT4150", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register the type '{0}' because the Type property in its Category attribute isn't set.
- /// .
- ///
- public static string MT4151 {
- get {
- return ResourceManager.GetString("MT4151", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register the type '{0}' as a category because it implements INativeObject or subclasses NSObject.
- /// .
- ///
- public static string MT4152 {
- get {
- return ResourceManager.GetString("MT4152", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register the type '{0}' as a category because it's generic.
- /// .
- ///
- public static string MT4153 {
- get {
- return ResourceManager.GetString("MT4153", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register the method '{0}.{1}' as a category method because it's generic.
- /// .
- ///
- public static string MT4154 {
- get {
- return ResourceManager.GetString("MT4154", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register two categories ('{0}' and '{1}') with the same native name ('{2}')
- /// .
- ///
- public static string MT4156 {
- get {
- return ResourceManager.GetString("MT4156", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register the category method '{0}.{1}' because at least one parameter is required for extension methods (and its type must match the category type '{2}').
- /// .
- ///
- public static string MT4157 {
- get {
- return ResourceManager.GetString("MT4157", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register the constructor {0}.{1} in the category {0} because constructors in categories are not supported.
- /// .
- ///
- public static string MT4158 {
- get {
- return ResourceManager.GetString("MT4158", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register the method '{0}.{1}' as a category method because category methods must be static.
- /// .
- ///
- public static string MT4159 {
- get {
- return ResourceManager.GetString("MT4159", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid character '{0}' (0x{1}) found in selector '{2}' for '{3}.{4}'
- /// .
- ///
- public static string MT4160 {
- get {
- return ResourceManager.GetString("MT4160", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar found an unsupported structure '{0}': All fields in a structure must also be structures (field '{1}' with type '{2}' is not a structure).
- /// .
- ///
- public static string MT4161 {
- get {
- return ResourceManager.GetString("MT4161", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The type '{0}' is not available in {3} {4} (it was introduced in {3} {5}){6} Please build with a newer {3} SDK (usually done by using the most recent version of Xcode).
- /// .
- ///
- public static string MT4162_A {
- get {
- return ResourceManager.GetString("MT4162_A", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The type '{0}' (used as a base type of {1}) is not available in {2} {3} (it was introduced in {2} {4}){5} Please build with a newer {2} SDK (usually done by using the most recent version of Xcode).
- /// .
- ///
- public static string MT4162_BaseType {
- get {
- return ResourceManager.GetString("MT4162_BaseType", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The type '{0}' (used as a parameter in {1}) is not available in {2} {3} (it was introduced in {2} {4}){5} Please build with a newer {2} SDK (usually done by using the most recent version of Xcode).
- /// .
- ///
- public static string MT4162_Parameter {
- get {
- return ResourceManager.GetString("MT4162_Parameter", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The type '{0}' (used as the property type of {1}) is not available in {2} {3} (it was introduced in {2} {4}){5} Please build with a newer {2} SDK (usually done by using the most recent version of Xcode).
- /// .
- ///
- public static string MT4162_PropertyType {
- get {
- return ResourceManager.GetString("MT4162_PropertyType", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The type '{0}' (used as a return type in {1}) is not available in {2} {3} (it was introduced in {2} {4}){5} Please build with a newer {2} SDK (usually done by using the most recent version of Xcode).
- /// .
- ///
- public static string MT4162_ReturnType {
- get {
- return ResourceManager.GetString("MT4162_ReturnType", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Internal error in the registrar ({0} ctor with {1} arguments). Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT4163 {
- get {
- return ResourceManager.GetString("MT4163", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Internal error in the registrar (Unknown availability kind: {0}). Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT4163_A {
- get {
- return ResourceManager.GetString("MT4163_A", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Internal error in the registrar (BindAs parameters can't be ref/out: {0}). Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT4163_B {
- get {
- return ResourceManager.GetString("MT4163_B", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot export the property '{0}' because its selector '{1}' is an Objective-C keyword. Please use a different name.
- /// .
- ///
- public static string MT4164 {
- get {
- return ResourceManager.GetString("MT4164", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar couldn't find the type 'System.Void' in any of the referenced assemblies.
- /// .
- ///
- public static string MT4165 {
- get {
- return ResourceManager.GetString("MT4165", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register the method '{0}' because the signature contains a type ({1}) that isn't a reference type.
- /// .
- ///
- public static string MT4166 {
- get {
- return ResourceManager.GetString("MT4166", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register the method '{0}' because the signature contains a generic type ({1}) with a generic argument type that doesn't implement INativeObject ({2}).
- /// .
- ///
- public static string MT4167 {
- get {
- return ResourceManager.GetString("MT4167", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot register the type '{0}' because its Objective-C name '{1}' is an Objective-C keyword. Please use a different name.
- /// .
- ///
- public static string MT4168 {
- get {
- return ResourceManager.GetString("MT4168", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to generate a P/Invoke wrapper for {0}: {1}
- /// .
- ///
- public static string MT4169 {
- get {
- return ResourceManager.GetString("MT4169", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar can't convert from '{0}' to '{1}' for the return value in the method {2}.
- /// .
- ///
- public static string MT4170 {
- get {
- return ResourceManager.GetString("MT4170", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The BindAs attribute on the return value of the method {0} is invalid: the BindAs type {1} is different from the return type {2}.
- /// .
- ///
- public static string MT4171 {
- get {
- return ResourceManager.GetString("MT4171", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The BindAs attribute on the parameter #{0} is invalid: the BindAs type {1} is different from the parameter type {2}.
- /// .
- ///
- public static string MT4171_A {
- get {
- return ResourceManager.GetString("MT4171_A", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The BindAs attribute on the property {0}.{1} is invalid: the BindAs type {2} is different from the property type {1}.
- /// .
- ///
- public static string MT4171_B {
- get {
- return ResourceManager.GetString("MT4171_B", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar can't convert from '{0}' to '{1}' for the parameter '{2}' in the method {3}.
- /// .
- ///
- public static string MT4172 {
- get {
- return ResourceManager.GetString("MT4172", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar can't compute the block signature for the delegate of type {0} in the method {1} because {0} doesn't have a specific signature.
- /// .
- ///
- public static string MT4173 {
- get {
- return ResourceManager.GetString("MT4173", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar can't compute the block signature for the delegate of type {0} in the method {1} because it couldn't find the Invoke method of the delegate type.
- /// .
- ///
- public static string MT4173_A {
- get {
- return ResourceManager.GetString("MT4173_A", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unable to locate the block to delegate conversion method for the method {0}'s parameter #{1}.
- /// .
- ///
- public static string MT4174 {
- get {
- return ResourceManager.GetString("MT4174", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unable to locate the block to delegate conversion method for the method {0}'s parameter #{1}.
- /// .
- ///
- public static string MT4175 {
- get {
- return ResourceManager.GetString("MT4175", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unable to locate the delegate to block conversion type for the return value of the method {0}.
- /// .
- ///
- public static string MT4176 {
- get {
- return ResourceManager.GetString("MT4176", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The 'ProtocolType' parameter of the 'Adopts' attribute used in class '{0}' contains an invalid character. Value used: '{1}' Invalid Char: '{2}'
- /// .
- ///
- public static string MT4177 {
- get {
- return ResourceManager.GetString("MT4177", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The class '{0}' will not be registered because the {1} framework has been removed from the {2} SDK.
- /// .
- ///
- public static string MT4178 {
- get {
- return ResourceManager.GetString("MT4178", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar found the abstract type '{0}' in the signature for '{1}'. Abstract types should not be used in the signature for a member exported to Objective-C.
- /// .
- ///
- public static string MT4179 {
- get {
- return ResourceManager.GetString("MT4179", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Internal error in the registrar (BindAs parameters can't be ref/out: {0}). Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT4184 {
- get {
- return ResourceManager.GetString("MT4184", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar can't compute the block signature for the delegate of type {0} in the method {1} because it couldn't find the Invoke method of the delegate type.
- /// .
- ///
- public static string MT4185 {
- get {
- return ResourceManager.GetString("MT4185", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The registrar found a non-optimal type `{0}`: the type does not have a constructor that takes two (ObjCRuntime.NativeHandle, bool) arguments. However, a constructor that takes two (System.IntPtr, bool) arguments was found (and will be used instead). It's highly recommended to change the signature of the (System.IntPtr, bool) constructor to be (ObjCRuntime.NativeHandle, bool)..
- ///
- public static string MT4186 {
- get {
- return ResourceManager.GetString("MT4186", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The class '{0}' will not be registered because the {1} framework has been deprecated from the {2} SDK..
- ///
- public static string MT4190 {
- get {
- return ResourceManager.GetString("MT4190", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Missing '{0}' compiler. Please install Xcode 'Command-Line Tools' component
- /// .
- ///
- public static string MT5101 {
- get {
- return ResourceManager.GetString("MT5101", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not find neither the '{0}' nor the '{1}' compiler. Please install Xcode 'Command-Line Tools' component
- /// .
- ///
- public static string MT5103 {
- get {
- return ResourceManager.GetString("MT5103", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to compile the file(s) '{0}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT5103_A {
- get {
- return ResourceManager.GetString("MT5103_A", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not compile the file(s) '{0}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT5106 {
- get {
- return ResourceManager.GetString("MT5106", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The assembly '{0}' can't be AOT-compiled for 32-bit architectures because the native code is too big for the 32-bit ARM architecture.
- /// .
- ///
- public static string MT5107 {
- get {
- return ResourceManager.GetString("MT5107", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The compiler output is too long, it's been limited to 1000 lines.
- /// .
- ///
- public static string MT5108 {
- get {
- return ResourceManager.GetString("MT5108", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Native linking failed. Please review the build log and the user flags provided to gcc: {0}
- /// .
- ///
- public static string MT5201 {
- get {
- return ResourceManager.GetString("MT5201", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Native linking failed. Please review the build log.
- /// .
- ///
- public static string MT5202 {
- get {
- return ResourceManager.GetString("MT5202", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Native linking warning: {0}
- /// .
- ///
- public static string MT5203 {
- get {
- return ResourceManager.GetString("MT5203", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Native linking failed. Please review the build log.
- /// .
- ///
- public static string MT5204 {
- get {
- return ResourceManager.GetString("MT5204", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Native linking error: {0}
- /// .
- ///
- public static string MT5209 {
- get {
- return ResourceManager.GetString("MT5209", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Native linking failed, undefined symbol: {0}. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
- /// .
- ///
- public static string MT5210 {
- get {
- return ResourceManager.GetString("MT5210", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Native linking failed, undefined Objective-C class: {0}. The symbol '{1}' could not be found in any of the libraries or frameworks linked with your application.
- /// .
- ///
- public static string MT5211 {
- get {
- return ResourceManager.GetString("MT5211", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Native linking failed, duplicate symbol: '{0}'.
- /// .
- ///
- public static string MT5212 {
- get {
- return ResourceManager.GetString("MT5212", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Duplicate symbol in: {0} (Location related to previous error)
- /// .
- ///
- public static string MT5213 {
- get {
- return ResourceManager.GetString("MT5213", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Native linking failed, undefined symbol: {0}. This symbol was referenced by the managed member {1}.{2}. Please verify that all the necessary frameworks have been referenced and native libraries linked.
- /// .
- ///
- public static string MT5214 {
- get {
- return ResourceManager.GetString("MT5214", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to References to '{0}' might require additional -framework=XXX or -lXXX instructions to the native linker
- /// .
- ///
- public static string MT5215 {
- get {
- return ResourceManager.GetString("MT5215", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Native linking failed for '{0}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MT5216 {
- get {
- return ResourceManager.GetString("MT5216", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Native linking failed because the linker command line was too long ({0} characters).
- /// .
- ///
- public static string MT5217 {
- get {
- return ResourceManager.GetString("MT5217", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Can't ignore the dynamic symbol {0} (--ignore-dynamic-symbol={0}) because it was not detected as a dynamic symbol.
- /// .
- ///
- public static string MT5218 {
- get {
- return ResourceManager.GetString("MT5218", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Not linking with WatchKit because it has been removed from iOS.
- /// .
- ///
- public static string MT5219 {
- get {
- return ResourceManager.GetString("MT5219", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Missing 'strip' tool. Please install Xcode 'Command-Line Tools' component
- /// .
- ///
- public static string MT5301 {
- get {
- return ResourceManager.GetString("MT5301", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Missing 'dsymutil' tool. Please install Xcode 'Command-Line Tools' component
- /// .
- ///
- public static string MT5302 {
- get {
- return ResourceManager.GetString("MT5302", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to generate the debug symbols (dSYM directory). Please review the build log.
- /// .
- ///
- public static string MT5303 {
- get {
- return ResourceManager.GetString("MT5303", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to strip the final binary. Please review the build log.
- /// .
- ///
- public static string MT5304 {
- get {
- return ResourceManager.GetString("MT5304", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to create the a fat library. Please review the build log.
- /// .
- ///
- public static string MT5306 {
- get {
- return ResourceManager.GetString("MT5306", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Internal consistency error. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new.
- /// .
- ///
- public static string MT8018 {
- get {
- return ResourceManager.GetString("MT8018", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The linker step '{0}' failed during processing: {1}.
- ///
- public static string MX_ConfigurationAwareStep {
- get {
- return ResourceManager.GetString("MX_ConfigurationAwareStep", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The linker step '{0}' failed while processing {1}: {2}.
- ///
- public static string MX_ConfigurationAwareStepWithAssembly {
- get {
- return ResourceManager.GetString("MX_ConfigurationAwareStepWithAssembly", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The linker step '{0}' failed processing `{1}`..
- ///
- public static string MX_ExceptionalSubSteps {
- get {
- return ResourceManager.GetString("MX_ExceptionalSubSteps", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Application name '{0}.exe' conflicts with an SDK or product assembly (.dll) name.
- /// .
- ///
- public static string MX0003 {
- get {
- return ResourceManager.GetString("MX0003", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The root assembly '{0}' does not exist
- /// .
- ///
- public static string MX0007 {
- get {
- return ResourceManager.GetString("MX0007", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Error while loading assemblies: {0}.
- /// .
- ///
- public static string MX0009 {
- get {
- return ResourceManager.GetString("MX0009", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not parse the command line arguments: {0}
- /// .
- ///
- public static string MX0010 {
- get {
- return ResourceManager.GetString("MX0010", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The option '{0}' has been deprecated.
- /// .
- ///
- public static string MX0016 {
- get {
- return ResourceManager.GetString("MX0016", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to You should provide a root assembly.
- /// .
- ///
- public static string MX0017 {
- get {
- return ResourceManager.GetString("MX0017", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unknown command line argument: '{0}'
- /// .
- ///
- public static string MX0018 {
- get {
- return ResourceManager.GetString("MX0018", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The valid options for '{0}' are '{1}'.
- /// .
- ///
- public static string MX0020 {
- get {
- return ResourceManager.GetString("MX0020", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not parse the command line argument '-{0}': {1}
- /// .
- ///
- public static string MX0026 {
- get {
- return ResourceManager.GetString("MX0026", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The Boehm garbage collector is not supported. The SGen garbage collector has been selected instead.
- /// .
- ///
- public static string MX0043 {
- get {
- return ResourceManager.GetString("MX0043", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Cannot find Xcode in the default location (/Applications/Xcode.app). Please install Xcode, or pass a custom path using --sdkroot <path>.
- /// .
- ///
- public static string MX0056 {
- get {
- return ResourceManager.GetString("MX0056", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not find the currently selected Xcode on the system: {0}
- /// .
- ///
- public static string MX0059 {
- get {
- return ResourceManager.GetString("MX0059", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not find the currently selected Xcode on the system. 'xcode-select --print-path' returned '{0}', but that directory does not exist.
- /// .
- ///
- public static string MX0060 {
- get {
- return ResourceManager.GetString("MX0060", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid value for target framework: {0}.
- /// .
- ///
- public static string MX0068 {
- get {
- return ResourceManager.GetString("MX0068", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid target framework: {0}. Valid target frameworks are: {1}.
- /// .
- ///
- public static string MX0070 {
- get {
- return ResourceManager.GetString("MX0070", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unknown platform: {0}. This usually indicates a bug in {1}; please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new with a test case.
- /// .
- ///
- public static string MX0071 {
- get {
- return ResourceManager.GetString("MX0071", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to {4} {0} does not support a deployment target of {1} for {3} (the maximum is {2}). Please select an older deployment target in your project's Info.plist or change the SupportedOSPlatformVersion property in your project file, or upgrade to a newer version of {4}.
- /// .
- ///
- public static string MX0074 {
- get {
- return ResourceManager.GetString("MX0074", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Disabling the new refcount logic is deprecated.
- /// .
- ///
- public static string MX0080 {
- get {
- return ResourceManager.GetString("MX0080", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to A target framework (--target-framework) must be specified.
- /// .
- ///
- public static string MX0086 {
- get {
- return ResourceManager.GetString("MX0086", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The target framework '{0}' is deprecated. Use '{1}' instead.
- /// .
- ///
- public static string MX0090 {
- get {
- return ResourceManager.GetString("MX0090", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Internal error: {0}. Please file an issue at https://github.com/xamarin/xamarin-macios/issues/new.
- /// .
- ///
- public static string MX0099 {
- get {
- return ResourceManager.GetString("MX0099", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Debugging symbol file for '{0}' does not match the assembly and is ignored.
- /// .
- ///
- public static string MX0129 {
- get {
- return ResourceManager.GetString("MX0129", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to No root assemblies found. You should provide at least one root assembly.
- /// .
- ///
- public static string MX0130 {
- get {
- return ResourceManager.GetString("MX0130", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Product assembly '{0}' not found in assembly list: '{1}'
- /// .
- ///
- public static string MX0131 {
- get {
- return ResourceManager.GetString("MX0131", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unknown optimization: '{0}'. Valid optimizations are: {1}.
- /// .
- ///
- public static string MX0132 {
- get {
- return ResourceManager.GetString("MX0132", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Found more than 1 assembly matching '{0}' choosing first:{1}{2}
- /// .
- ///
- public static string MX0133 {
- get {
- return ResourceManager.GetString("MX0133", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Did not link system framework '{0}' (referenced by assembly '{1}') because it was introduced in {2} {3}, and we're using the {2} {4} SDK.
- /// .
- ///
- public static string MX0135 {
- get {
- return ResourceManager.GetString("MX0135", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unable to parse the linker flags '{0}' from the LinkWith attribute for the library '{1}' in {2} : {3}
- /// .
- ///
- public static string MX0148 {
- get {
- return ResourceManager.GetString("MX0148", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The assembly '{0}' was resolved from the system's GAC: {1}. This could potentially be a problem in the future; to avoid such problems, please make sure to not use assemblies only available in the system's GAC.
- /// .
- ///
- public static string MX0176 {
- get {
- return ResourceManager.GetString("MX0176", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unknown platform: {0}. This usually indicates a bug; please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new with a test case..
- ///
- public static string MX0177 {
- get {
- return ResourceManager.GetString("MX0177", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Debugging symbol file for '{0}' is not valid and was ignored.
- /// .
- ///
- public static string MX0178 {
- get {
- return ResourceManager.GetString("MX0178", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to This version of {0} requires the {1} {2} SDK (shipped with Xcode {3}). Either upgrade Xcode to get the required header files or use the dynamic registrar or set the managed linker behaviour to Link Platform or Link Framework SDKs Only in your project's Mac Build Options > Linker Behavior) (to try to avoid the new APIs)..
- ///
- public static string MX0179 {
- get {
- return ResourceManager.GetString("MX0179", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to This version of {0} requires the {1} {2} SDK (shipped with Xcode {3}). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only in your project's iOS Build Options > Linker Behavior (to try to avoid the new APIs)..
- ///
- public static string MX0180 {
- get {
- return ResourceManager.GetString("MX0180", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Not linking with the framework {0} (used by the type {1}) because it's not available on the current platform ({2})..
- ///
- public static string MX0181 {
- get {
- return ResourceManager.GetString("MX0181", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Not linking with the framework {0} (referenced by a module reference in {1}) because it's not available on the current platform ({2})..
- ///
- public static string MX0182 {
- get {
- return ResourceManager.GetString("MX0182", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not map the Mac Catalyst version {0} to a corresponding macOS version. Valid Mac Catalyst versions are: {1}.
- ///
- public static string MX0183 {
- get {
- return ResourceManager.GetString("MX0183", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not map the macOS version {0} to a corresponding Mac Catalyst version. Valid macOS versions are: {1}.
- ///
- public static string MX0184 {
- get {
- return ResourceManager.GetString("MX0184", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The option '{0}' cannot take the value '{1}' when using CoreCLR..
- ///
- public static string MX0185 {
- get {
- return ResourceManager.GetString("MX0185", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Bitcode is enabled, but bitcode is not supported in Xcode 14+ and has been disabled. Please disable bitcode by removing the 'MtouchEnableBitcode' property from the project file..
- ///
- public static string MX0186 {
- get {
- return ResourceManager.GetString("MX0186", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not copy the assembly '{0}' to '{1}': {2}
- /// .
- ///
- public static string MX1009 {
- get {
- return ResourceManager.GetString("MX1009", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not decompress the file '{0}'. Please review the build log for more information from the native 'unzip' command..
- ///
- public static string MX1306 {
- get {
- return ResourceManager.GetString("MX1306", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not extract the native framework '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'..
- ///
- public static string MX1307 {
- get {
- return ResourceManager.GetString("MX1307", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not extract the native library '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'..
- ///
- public static string MX1308 {
- get {
- return ResourceManager.GetString("MX1308", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to One or more reference(s) to type '{0}' already exists inside '{1}' before linking
- /// .
- ///
- public static string MX1502 {
- get {
- return ResourceManager.GetString("MX1502", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to One or more reference(s) to type '{0}' still exists inside '{1}' after linking
- /// .
- ///
- public static string MX1503 {
- get {
- return ResourceManager.GetString("MX1503", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Not a Mach-O dynamic library (unknown header '0x{0}'): {1}.
- /// .
- ///
- public static string MX1600 {
- get {
- return ResourceManager.GetString("MX1600", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Not a Mach-O dynamic library (unknown header '0x{0}'): {1}.
- /// .
- ///
- public static string MX1602 {
- get {
- return ResourceManager.GetString("MX1602", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unknown format for fat entry at position {0} in {1}.
- /// .
- ///
- public static string MX1603 {
- get {
- return ResourceManager.GetString("MX1603", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to File of type {0} is not a MachO file ({1}).
- /// .
- ///
- public static string MX1604 {
- get {
- return ResourceManager.GetString("MX1604", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not link assemblies. {0}
- /// .
- ///
- public static string MX2001 {
- get {
- return ResourceManager.GetString("MX2001", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Extra linker definitions file '{0}' could not be located.
- /// .
- ///
- public static string MX2004 {
- get {
- return ResourceManager.GetString("MX2004", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Definitions from '{0}' could not be parsed.
- /// .
- ///
- public static string MX2005 {
- get {
- return ResourceManager.GetString("MX2005", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Keeping the dynamic registrar (by passing '--optimize=-remove-dynamic-registrar') is not possible, because the dynamic registrar is not supported when using NativeAOT. Support for dynamic registration will still be removed..
- ///
- public static string MX2016 {
- get {
- return ResourceManager.GetString("MX2016", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not process XML description: {0}
- /// .
- ///
- public static string MX2017 {
- get {
- return ResourceManager.GetString("MX2017", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Error processing assembly '{0}': {1}
- /// .
- ///
- public static string MX2103 {
- get {
- return ResourceManager.GetString("MX2103", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the more than one method named '{3}' was found in the type '{4}..
- ///
- public static string MX2106_E {
- get {
- return ResourceManager.GetString("MX2106_E", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the method '{3}' must have at least one parameter..
- ///
- public static string MX2106_F {
- get {
- return ResourceManager.GetString("MX2106_F", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the first parameter in the method '{3}' isn't 'System.IntPtr', 'void*' or 'ObjCRuntime.BlockLiteral*' (it's '{4}').
- ///
- public static string MX2106_G {
- get {
- return ResourceManager.GetString("MX2106_G", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the method '{3}' does not have an [UnmanagedCallersOnly] attribute..
- ///
- public static string MX2106_H {
- get {
- return ResourceManager.GetString("MX2106_H", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the method '{3}' does not have an [UnmanagedCallersOnly] attribute..
- ///
- public static string MX2106_I {
- get {
- return ResourceManager.GetString("MX2106_I", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Can not find the corlib assembly '{0}' in the list of loaded assemblies.
- /// .
- ///
- public static string MX2111 {
- get {
- return ResourceManager.GetString("MX2111", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not optimize the static constructor in the interface {0} because it did not have the expected instruction sequence (found end of method too soon)..
- ///
- public static string MX2112_A {
- get {
- return ResourceManager.GetString("MX2112_A", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not optimize the static constructor in the interface {0} because it had an unexpected instruction {1} at offset {2}..
- ///
- public static string MX2112_B {
- get {
- return ResourceManager.GetString("MX2112_B", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not {0} the assembly '{1}'
- /// .
- ///
- public static string MX3001 {
- get {
- return ResourceManager.GetString("MX3001", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Debug info files (*.mdb / *.pdb) will not be loaded when llvm is enabled.
- /// .
- ///
- public static string MX3007 {
- get {
- return ResourceManager.GetString("MX3007", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not find a [UserDelegateType] attribute on the type '{0}'..
- ///
- public static string MX4187 {
- get {
- return ResourceManager.GetString("MX4187", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unable to compute the block signature for the type '{0}': {1}.
- ///
- public static string MX4188 {
- get {
- return ResourceManager.GetString("MX4188", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The class '{0}' will not be registered because it has been removed from the {1} SDK..
- ///
- public static string MX4189 {
- get {
- return ResourceManager.GetString("MX4189", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The native linker failed to execute: {0}. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
- /// .
- ///
- public static string MX5222 {
- get {
- return ResourceManager.GetString("MX5222", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Did not link with the framework '{0}', because the current {1} SDK does not contain support for this framework in the simulator..
- ///
- public static string MX5223 {
- get {
- return ResourceManager.GetString("MX5223", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Missing 'lipo' tool. Please install Xcode 'Command-Line Tools' component
- /// .
- ///
- public static string MX5305 {
- get {
- return ResourceManager.GetString("MX5305", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Missing '{0}' tool. Please install Xcode 'Command-Line Tools' component
- /// .
- ///
- public static string MX5307 {
- get {
- return ResourceManager.GetString("MX5307", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to execute the tool '{0}', it failed with an error code '{1}'. Please check the build log for details.
- /// .
- ///
- public static string MX5309 {
- get {
- return ResourceManager.GetString("MX5309", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to lipo failed with an error code '{0}'. Check build log for details.
- /// .
- ///
- public static string MX5311 {
- get {
- return ResourceManager.GetString("MX5311", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to pkg-config failed with an error code '{0}'. Check build log for details.
- /// .
- ///
- public static string MX5312 {
- get {
- return ResourceManager.GetString("MX5312", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not find {0}. Please install the Mono.framework from https://mono-project.com/Downloads
- /// .
- ///
- public static string MX5313 {
- get {
- return ResourceManager.GetString("MX5313", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to execute pkg-config: '{0}'. Check build log for details.
- /// .
- ///
- public static string MX5314 {
- get {
- return ResourceManager.GetString("MX5314", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details.
- /// .
- ///
- public static string MX5315 {
- get {
- return ResourceManager.GetString("MX5315", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to An error occurred while executing the custom linker steps. Please review the build log for more information..
- ///
- public static string MX7000 {
- get {
- return ResourceManager.GetString("MX7000", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Don't know how to marshal the parameter of type {0} for parameter {1} in call to {2}.
- ///
- public static string MX8037 {
- get {
- return ResourceManager.GetString("MX8037", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Don't know how to marshal back the parameter of type {0} for parameter {1} in call to {2}.
- ///
- public static string MX8038 {
- get {
- return ResourceManager.GetString("MX8038", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unable to marshal from {0} to an Objective-C object. The managed class must either inherit from NSObject or implement INativeObject..
- ///
- public static string MX8039 {
- get {
- return ResourceManager.GetString("MX8039", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Invalid type encoding for parameter..
- ///
- public static string MX8040 {
- get {
- return ResourceManager.GetString("MX8040", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unable to create an instance of the type {0}..
- ///
- public static string MX8041 {
- get {
- return ResourceManager.GetString("MX8041", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to An exception occurred while trying to invoke the function {0}: {1}.
- ///
- public static string MX8042 {
- get {
- return ResourceManager.GetString("MX8042", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to An exception occurred while validating the static registrar code for {0}: {1}.
- ///
- public static string MX8043 {
- get {
- return ResourceManager.GetString("MX8043", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The assembly {0} has been modified since the app was built, invalidating the generated static registrar code. The MVID for the loaded assembly is {1}, while the MVID for the assembly the generated static registrar code corresponds to is {2}..
- ///
- public static string MX8044 {
- get {
- return ResourceManager.GetString("MX8044", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unable to call release on an instance of the type {0}.
- ///
- public static string MX8045 {
- get {
- return ResourceManager.GetString("MX8045", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Unable to find the method '{0}' in the type '{1}'.
- ///
- public static string MX8046 {
- get {
- return ResourceManager.GetString("MX8046", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The trampoline method {0} must have at least one parameter..
- ///
- public static string MX8048 {
- get {
- return ResourceManager.GetString("MX8048", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The first parameter in the trampoline method {0} must be either 'System.IntPtr', 'void*' or 'ObjCRuntime.BlockLiteral*'..
- ///
- public static string MX8049 {
- get {
- return ResourceManager.GetString("MX8049", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to BlockLiteral.GetBlockSignature is not supported when the dynamic registrar has been linked away..
- ///
- public static string MX8050 {
- get {
- return ResourceManager.GetString("MX8050", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The trampoline method {0} must have an [UnmanagedCallersOnly] attribute..
- ///
- public static string MX8051 {
- get {
- return ResourceManager.GetString("MX8051", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The signature must be a non-empty string..
- ///
- public static string MX8052 {
- get {
- return ResourceManager.GetString("MX8052", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not resolve the module in the assembly {0}..
- ///
- public static string MX8053 {
- get {
- return ResourceManager.GetString("MX8053", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Can't resolve metadata tokens for methods when using the managed static registrar (token: 0x{0})..
- ///
- public static string MX8054 {
- get {
- return ResourceManager.GetString("MX8054", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Could not find the type 'ObjCRuntime.__Registrar__' in the assembly '{0}'..
- ///
- public static string MX8055 {
- get {
- return ResourceManager.GetString("MX8055", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Failed to marshal the Objective-C object 0x{0} (type: {1}). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance of generic type {2}..
- ///
- public static string MX8056 {
- get {
- return ResourceManager.GetString("MX8056", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to .NET for {0} does not support server garbage collection..
- ///
- public static string MX8057 {
- get {
- return ResourceManager.GetString("MX8057", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to The dynamic registrar does not support calling base Objective-C constructors with arguments (type: %s, selector: %s). Please use any of the static registrars..
- ///
- public static string MX8058 {
- get {
- return ResourceManager.GetString("MX8058", resourceCulture);
- }
- }
- }
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ /// This class was generated by MSBuild using the GenerateResource task.
+ /// To add or remove a member, edit your .resx file then rerun MSBuild.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Build.Tasks.StronglyTypedResourceBuilder", "15.1.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ public class Errors {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Errors() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ public static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Xamarin.Bundler.Errors", typeof(Errors).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ public static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The error message for code {0} could not be found. Please report this missing message on GitHub at https://github.com/xamarin/xamarin-macios/issues/new.
+ ///
+ public static string _default {
+ get {
+ return ResourceManager.GetString("default", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to This version of Xamarin.Mac requires Mono {0} (the current Mono version is {1}). Please update the Mono.framework from http://mono-project.com/Downloads
+ /// .
+ ///
+ public static string MM0001 {
+ get {
+ return ResourceManager.GetString("MM0001", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to You should provide one root assembly only, found {0} assemblies: '{1}'
+ /// .
+ ///
+ public static string MM0008 {
+ get {
+ return ResourceManager.GetString("MM0008", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Application name '{0}.exe' conflicts with another user assembly.
+ /// .
+ ///
+ public static string MM0023 {
+ get {
+ return ResourceManager.GetString("MM0023", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to You cannot provide a root assembly if --no-root-assembly is passed, found {0} assemblies: '{1}'
+ /// .
+ ///
+ public static string MM0050 {
+ get {
+ return ResourceManager.GetString("MM0050", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to An output directory (--output) is required if --no-root-assembly is passed.
+ /// .
+ ///
+ public static string MM0051 {
+ get {
+ return ResourceManager.GetString("MM0051", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to No executable was copied into the app bundle. Please contact 'support@xamarin.com'
+ /// .
+ ///
+ public static string MM0079 {
+ get {
+ return ResourceManager.GetString("MM0079", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to machine.config file '{0}' can not be found.
+ /// .
+ ///
+ public static string MM0097 {
+ get {
+ return ResourceManager.GetString("MM0097", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Hybrid AOT compilation requires all assemblies to be AOT compiled
+ /// .
+ ///
+ public static string MM0114 {
+ get {
+ return ResourceManager.GetString("MM0114", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Projects using the Classic API are not supported anymore. Please migrate the project to the Unified API.
+ /// .
+ ///
+ public static string MM0143 {
+ get {
+ return ResourceManager.GetString("MM0143", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Building 32-bit apps is not supported anymore. Please change the architecture in the project's Mac Build options to 'x86_64'.
+ /// .
+ ///
+ public static string MM0144 {
+ get {
+ return ResourceManager.GetString("MM0144", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unable to parse the cflags '{0} from pkg-config: {1}
+ /// .
+ ///
+ public static string MM0147 {
+ get {
+ return ResourceManager.GetString("MM0147", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not create symlink '{0}' -> '{1}': error {2}
+ /// .
+ ///
+ public static string MM1034 {
+ get {
+ return ResourceManager.GetString("MM1034", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The required 'Xamarin.Mac.dll' assembly is missing from the references
+ /// .
+ ///
+ public static string MM1401 {
+ get {
+ return ResourceManager.GetString("MM1401", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The assembly '{0}' is not compatible with this tool or profile
+ /// .
+ ///
+ public static string MM1402 {
+ get {
+ return ResourceManager.GetString("MM1402", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to {0} {1} could not be found. Target framework '{2}' is unusable to package the application.
+ /// .
+ ///
+ public static string MM1403 {
+ get {
+ return ResourceManager.GetString("MM1403", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Target framework '{0}' is invalid.
+ /// .
+ ///
+ public static string MM1404 {
+ get {
+ return ResourceManager.GetString("MM1404", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to useFullXamMacFramework must always target framework .NET 4.5, not '{0}' which is invalid.
+ /// .
+ ///
+ public static string MM1405 {
+ get {
+ return ResourceManager.GetString("MM1405", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Mismatch between Xamarin.Mac reference '{0}' and target framework selected '{1}'.
+ /// .
+ ///
+ public static string MM1407 {
+ get {
+ return ResourceManager.GetString("MM1407", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Can not resolve reference: {0}
+ /// .
+ ///
+ public static string MM1501 {
+ get {
+ return ResourceManager.GetString("MM1501", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Native library '{0}' was referenced but could not be found.
+ /// .
+ ///
+ public static string MM2006 {
+ get {
+ return ResourceManager.GetString("MM2006", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Xamarin.Mac Unified API against a full .NET framework does not support linking SDK or All assemblies. Pass either the `-nolink` or `-linkplatform` flag.
+ /// .
+ ///
+ public static string MM2007 {
+ get {
+ return ResourceManager.GetString("MM2007", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Referenced by {0}.{1}
+ /// .
+ ///
+ public static string MM2009 {
+ get {
+ return ResourceManager.GetString("MM2009", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Only first {0} of {1} \"Referenced by\" warnings shown.
+ /// .
+ ///
+ public static string MM2012 {
+ get {
+ return ResourceManager.GetString("MM2012", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to resolve the reference to \"{0}\", referenced in \"{1}\". The app will not include the referenced assembly, and may fail at runtime.
+ /// .
+ ///
+ public static string MM2013 {
+ get {
+ return ResourceManager.GetString("MM2013", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the previous instruction was unexpected ({3})
+ /// .
+ ///
+ public static string MM2106 {
+ get {
+ return ResourceManager.GetString("MM2106", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because could not determine the type of the delegate type of the first argument (instruction: {3})
+ /// .
+ ///
+ public static string MM2106_A {
+ get {
+ return ResourceManager.GetString("MM2106_A", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.{2} in {0} because the type of the value passed as the first argument (the trampoline) is {1}, which makes it impossible to compute the block signature.
+ /// .
+ ///
+ public static string MM2106_B {
+ get {
+ return ResourceManager.GetString("MM2106_B", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.SetupBlock in {0} at offset {1}: {2}.
+ /// .
+ ///
+ public static string MM2106_D {
+ get {
+ return ResourceManager.GetString("MM2106_D", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to It's not safe to remove the dynamic registrar, because {0} references '{1}.{2} ({3})'.
+ /// .
+ ///
+ public static string MM2107 {
+ get {
+ return ResourceManager.GetString("MM2107", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to {0} was stripped of architectures except {1} to comply with App Store restrictions. This could break existing codesigning signatures. Consider stripping the library with lipo or disabling with --optimize=-trim-architectures
+ /// .
+ ///
+ public static string MM2108 {
+ get {
+ return ResourceManager.GetString("MM2108", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Xamarin.Mac 'Partial Static' registrar does not support linking. Disable linking or use another registrar mode.
+ /// .
+ ///
+ public static string MM2110 {
+ get {
+ return ResourceManager.GetString("MM2110", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to AOT of '{0}' was requested but was not found
+ /// .
+ ///
+ public static string MM3009 {
+ get {
+ return ResourceManager.GetString("MM3009", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Exclusion of AOT of '{0}' was requested but was not found
+ /// .
+ ///
+ public static string MM3010 {
+ get {
+ return ResourceManager.GetString("MM3010", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Your application is using the '{0}' framework, which isn't included in the {3} SDK you're using to build your app (this framework was introduced in {3} {2}, while you're building with the {3} {1} SDK.) This configuration is not supported with the static registrar (pass --registrar:dynamic as an additional mmp argument in your project's Mac Build option to select). Alternatively select a newer SDK in your app's Mac Build options.
+ /// .
+ ///
+ public static string MM4134 {
+ get {
+ return ResourceManager.GetString("MM4134", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to compile. Error code - {0}. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MM5103 {
+ get {
+ return ResourceManager.GetString("MM5103", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Native linking failed with error code 1. Check build log for details.
+ /// .
+ ///
+ public static string MM5109 {
+ get {
+ return ResourceManager.GetString("MM5109", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Mono.framework MDK is missing. Please install the MDK for your Mono.framework version from https://www.mono-project.com/download/
+ /// .
+ ///
+ public static string MM5202 {
+ get {
+ return ResourceManager.GetString("MM5202", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Can't find {0}, likely because of a corrupted Xamarin.Mac installation. Please reinstall Xamarin.Mac.
+ /// .
+ ///
+ public static string MM5203 {
+ get {
+ return ResourceManager.GetString("MM5203", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid architecture '{0}'. The only valid architectures is x86_64.
+ /// .
+ ///
+ public static string MM5205 {
+ get {
+ return ResourceManager.GetString("MM5205", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Skipping framework '{0}'. It is prohibited (rejected) by the Mac App Store
+ /// .
+ ///
+ public static string MM5220 {
+ get {
+ return ResourceManager.GetString("MM5220", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Linking against framework '{0}'. It is prohibited (rejected) by the Mac App Store
+ /// .
+ ///
+ public static string MM5221 {
+ get {
+ return ResourceManager.GetString("MM5221", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Xcode license agreement may not have been accepted. Please launch Xcode.
+ /// .
+ ///
+ public static string MM5308 {
+ get {
+ return ResourceManager.GetString("MM5308", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to install_name_tool failed with an error code '{0}'. Check build log for details.
+ /// .
+ ///
+ public static string MM5310 {
+ get {
+ return ResourceManager.GetString("MM5310", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unexpected error - Please fill a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT0000 {
+ get {
+ return ResourceManager.GetString("MT0000", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to '-devname' was provided without any device-specific action
+ /// .
+ ///
+ public static string MT0001 {
+ get {
+ return ResourceManager.GetString("MT0001", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not parse the environment variable '{0}'
+ /// .
+ ///
+ public static string MT0002 {
+ get {
+ return ResourceManager.GetString("MT0002", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to New refcounting logic requires SGen to be enabled too.
+ /// .
+ ///
+ public static string MT0004 {
+ get {
+ return ResourceManager.GetString("MT0004", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The output directory * does not exist.
+ /// .
+ ///
+ public static string MT0005 {
+ get {
+ return ResourceManager.GetString("MT0005", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to There is no devel platform at {0}, use --platform=PLAT to specify the SDK.
+ /// .
+ ///
+ public static string MT0006 {
+ get {
+ return ResourceManager.GetString("MT0006", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to {0} was built against a more recent runtime ({1}) than Xamarin.iOS supports.
+ /// .
+ ///
+ public static string MT0011 {
+ get {
+ return ResourceManager.GetString("MT0011", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Incomplete data is provided to complete *.
+ /// .
+ ///
+ public static string MT0012 {
+ get {
+ return ResourceManager.GetString("MT0012", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Profiling support requires sgen to be enabled too.
+ /// .
+ ///
+ public static string MT0013 {
+ get {
+ return ResourceManager.GetString("MT0013", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The iOS {0} SDK does not support building applications targeting {1}.
+ /// .
+ ///
+ public static string MT0014 {
+ get {
+ return ResourceManager.GetString("MT0014", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid ABI: {0}. Supported ABIs are: i386, x86_64, armv7, armv7+llvm, armv7+llvm+thumb2, armv7s, armv7s+llvm, armv7s+llvm+thumb2, armv7k, armv7k+llvm, arm64, arm64+llvm, arm64_32 and arm64_32+llvm.
+ /// .
+ ///
+ public static string MT0015 {
+ get {
+ return ResourceManager.GetString("MT0015", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Only one --[log|install|kill|launch]dev or --[launch|debug]sim option can be used.
+ /// .
+ ///
+ public static string MT0019 {
+ get {
+ return ResourceManager.GetString("MT0019", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot compile using gcc/g++ (--use-gcc) when using the static registrar (this is the default when compiling for device). Either remove the --use-gcc flag or use the dynamic registrar (--registrar:dynamic).
+ /// .
+ ///
+ public static string MT0021 {
+ get {
+ return ResourceManager.GetString("MT0021", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The options '--unsupported--enable-generics-in-registrar' and '--registrar' are not compatible.
+ /// .
+ ///
+ public static string MT0022 {
+ get {
+ return ResourceManager.GetString("MT0022", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The root assembly {0} conflicts with another assembly ({1}).
+ /// .
+ ///
+ public static string MT0023 {
+ get {
+ return ResourceManager.GetString("MT0023", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not find required file '{0}'.
+ /// .
+ ///
+ public static string MT0024 {
+ get {
+ return ResourceManager.GetString("MT0024", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to No SDK version was provided. Please add --sdk=X.Y to specify which {0} SDK should be used to build your application.
+ /// .
+ ///
+ public static string MT0025 {
+ get {
+ return ResourceManager.GetString("MT0025", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The options '\*' and '\*' are not compatible.
+ /// .
+ ///
+ public static string MT0027 {
+ get {
+ return ResourceManager.GetString("MT0027", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot enable PIE (-pie) when targeting iOS 4.1 or earlier. Please disable PIE (-pie:false) or set the deployment target to at least iOS 4.2
+ /// .
+ ///
+ public static string MT0028 {
+ get {
+ return ResourceManager.GetString("MT0028", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to REPL (--enable-repl) is only supported in the simulator (--sim).
+ /// .
+ ///
+ public static string MT0029 {
+ get {
+ return ResourceManager.GetString("MT0029", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The executable name ({0}) and the app name ({1}) are different, this may prevent crash logs from getting symbolicated properly.
+ /// .
+ ///
+ public static string MT0030 {
+ get {
+ return ResourceManager.GetString("MT0030", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The command line arguments '--enable-background-fetch' and '--launch-for-background-fetch' require '--launchsim' too.
+ /// .
+ ///
+ public static string MT0031 {
+ get {
+ return ResourceManager.GetString("MT0031", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The option '--debugtrack' is ignored unless '--debug' is also specified.
+ /// .
+ ///
+ public static string MT0032 {
+ get {
+ return ResourceManager.GetString("MT0032", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot reference '{0}.dll' in a {1} project - it is implicitly referenced by '{2}'.
+ /// .
+ ///
+ public static string MT0034 {
+ get {
+ return ResourceManager.GetString("MT0034", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot launch a * simulator for a * app. Please enable the correct architecture(s) in your project's iOS Build options (Advanced page).
+ /// .
+ ///
+ public static string MT0036 {
+ get {
+ return ResourceManager.GetString("MT0036", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not find the assembly '\*', referenced by '\*'.
+ /// .
+ ///
+ public static string MT0040 {
+ get {
+ return ResourceManager.GetString("MT0040", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot reference '{0}' in a {1} app.
+ /// .
+ ///
+ public static string MT0041 {
+ get {
+ return ResourceManager.GetString("MT0041", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to --listsim is only supported with Xcode 6.0 or later.
+ /// .
+ ///
+ public static string MT0044 {
+ get {
+ return ResourceManager.GetString("MT0044", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to --extension is only supported when using the iOS 8.0 (or later) SDK.
+ /// .
+ ///
+ public static string MT0045 {
+ get {
+ return ResourceManager.GetString("MT0045", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The minimum deployment target for Unified applications is 5.1.1, the current deployment target is '*'. Please select a newer deployment target in your project's iOS Application options.
+ /// .
+ ///
+ public static string MT0047 {
+ get {
+ return ResourceManager.GetString("MT0047", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to {0}.framework is supported only if deployment target is 8.0 or later. {0} features might not work correctly.
+ /// .
+ ///
+ public static string MT0049 {
+ get {
+ return ResourceManager.GetString("MT0049", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to {3} {0} requires Xcode {4} or later. The current Xcode version (found in {2}) is {1}.
+ /// .
+ ///
+ public static string MT0051 {
+ get {
+ return ResourceManager.GetString("MT0051", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to No command specified.
+ /// .
+ ///
+ public static string MT0052 {
+ get {
+ return ResourceManager.GetString("MT0052", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unable to canonicalize the path '{0}': {1} ({2}).
+ /// .
+ ///
+ public static string MT0054 {
+ get {
+ return ResourceManager.GetString("MT0054", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The Xcode path '{0}' does not exist.
+ /// .
+ ///
+ public static string MT0055 {
+ get {
+ return ResourceManager.GetString("MT0055", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot determine the path to Xcode.app from the sdk root '{0}'. Please specify the full path to the Xcode.app bundle.
+ /// .
+ ///
+ public static string MT0057 {
+ get {
+ return ResourceManager.GetString("MT0057", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The Xcode.app '{0}' is invalid (the file '{1}' does not exist).
+ /// .
+ ///
+ public static string MT0058 {
+ get {
+ return ResourceManager.GetString("MT0058", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to No Xcode.app specified (using --sdkroot), using the system Xcode as reported by 'xcode-select --print-path': {0}
+ /// .
+ ///
+ public static string MT0061 {
+ get {
+ return ResourceManager.GetString("MT0061", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to No Xcode.app specified (using --sdkroot or 'xcode-select --print-path'), using the default Xcode instead: {0}
+ /// .
+ ///
+ public static string MT0062 {
+ get {
+ return ResourceManager.GetString("MT0062", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot find the executable in the extension * (no CFBundleExecutable entry in its Info.plist)
+ /// .
+ ///
+ public static string MT0063 {
+ get {
+ return ResourceManager.GetString("MT0063", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Xamarin.iOS only supports embedded frameworks when deployment target is at least 8.0 (current deployment target: '{0}'; embedded frameworks: '{1}')
+ /// .
+ ///
+ public static string MT0065 {
+ get {
+ return ResourceManager.GetString("MT0065", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Xamarin.iOS only supports embedded frameworks when deployment target is at least 2.0 (current deployment target: '{0}'; embedded frameworks: '{1}')
+ /// .
+ ///
+ public static string MT0065_A {
+ get {
+ return ResourceManager.GetString("MT0065_A", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid build registrar assembly: *
+ /// .
+ ///
+ public static string MT0066 {
+ get {
+ return ResourceManager.GetString("MT0066", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid registrar: {0}
+ /// .
+ ///
+ public static string MT0067 {
+ get {
+ return ResourceManager.GetString("MT0067", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Extensions are not supported for the platform '{0}'.
+ /// .
+ ///
+ public static string MT0072 {
+ get {
+ return ResourceManager.GetString("MT0072", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to {4} {0} does not support a deployment target of {1} for {3} (the minimum is {2}). Please select a newer deployment target in your project's Info.plist or change the SupportedOSPlatformVersion property in your project file.
+ /// .
+ ///
+ public static string MT0073 {
+ get {
+ return ResourceManager.GetString("MT0073", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid architecture '{0}' for {1} projects. Valid architectures are: {2}
+ /// .
+ ///
+ public static string MT0075 {
+ get {
+ return ResourceManager.GetString("MT0075", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to No architecture specified (using the --abi argument). An architecture is required for {0} projects.
+ /// .
+ ///
+ public static string MT0076 {
+ get {
+ return ResourceManager.GetString("MT0076", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Incremental builds are enabled with a deployment target < 8.0 (currently {0}). This is not supported (the resulting application will not launch on iOS 9), so the deployment target will be set to 8.0.
+ /// .
+ ///
+ public static string MT0078 {
+ get {
+ return ResourceManager.GetString("MT0078", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The recommended Xcode version for {4} {0} is Xcode {3} or later. The current Xcode version (found in {2}) is {1}.
+ /// .
+ ///
+ public static string MT0079 {
+ get {
+ return ResourceManager.GetString("MT0079", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The command line argument --download-crash-report also requires --download-crash-report-to.
+ /// .
+ ///
+ public static string MT0081 {
+ get {
+ return ResourceManager.GetString("MT0081", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to REPL (--enable-repl) is only supported when linking is not used (--nolink).
+ /// .
+ ///
+ public static string MT0082 {
+ get {
+ return ResourceManager.GetString("MT0082", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Bitcode is not supported in the simulator. Do not pass --bitcode when building for the simulator.
+ /// .
+ ///
+ public static string MT0084 {
+ get {
+ return ResourceManager.GetString("MT0084", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to No reference to '{0}' was found. It will be added automatically.
+ /// .
+ ///
+ public static string MT0085 {
+ get {
+ return ResourceManager.GetString("MT0085", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Incremental builds (--fastdev) is not supported with the Boehm GC. Incremental builds will be disabled.
+ /// .
+ ///
+ public static string MT0087 {
+ get {
+ return ResourceManager.GetString("MT0087", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not find 'mlaunch'.
+ /// .
+ ///
+ public static string MT0093 {
+ get {
+ return ResourceManager.GetString("MT0093", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Aot files could not be copied to the destination directory {0}: {1}
+ /// .
+ ///
+ public static string MT0095 {
+ get {
+ return ResourceManager.GetString("MT0095", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Aot files could not be copied to the destination directory {0}: Could not start process.
+ /// .
+ ///
+ public static string MT0095_A {
+ get {
+ return ResourceManager.GetString("MT0095_A", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Aot files could not be copied to the destination directory {0}
+ /// .
+ ///
+ public static string MT0095_B {
+ get {
+ return ResourceManager.GetString("MT0095_B", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid assembly build target: '{0}'. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new).
+ /// .
+ ///
+ public static string MT0100 {
+ get {
+ return ResourceManager.GetString("MT0100", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The assembly '{0}' is specified multiple times in --assembly-build-target arguments.
+ /// .
+ ///
+ public static string MT0101 {
+ get {
+ return ResourceManager.GetString("MT0101", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The assemblies '{0}' and '{1}' have the same target name ('{2}'), but different targets ('{3}' and '{4}').
+ /// .
+ ///
+ public static string MT0102 {
+ get {
+ return ResourceManager.GetString("MT0102", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The static object '{0}' contains more than one assembly ('{1}'), but each static object must correspond with exactly one assembly.
+ /// .
+ ///
+ public static string MT0103 {
+ get {
+ return ResourceManager.GetString("MT0103", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to No assembly build target was specified for '{0}'.
+ /// .
+ ///
+ public static string MT0105 {
+ get {
+ return ResourceManager.GetString("MT0105", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The assembly build target name '{0}' is invalid: the character '{1}' is not allowed.
+ /// .
+ ///
+ public static string MT0106 {
+ get {
+ return ResourceManager.GetString("MT0106", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The assemblies '{0}' have different custom LLVM optimizations ('{1}'), which is not allowed when they are all compiled to a single binary.
+ /// .
+ ///
+ public static string MT0107 {
+ get {
+ return ResourceManager.GetString("MT0107", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The assembly build target '{0}' did not match any assemblies.
+ /// .
+ ///
+ public static string MT0108 {
+ get {
+ return ResourceManager.GetString("MT0108", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The assembly '{0}' was loaded from a different path than the provided path (provided path: {1}, actual path: {2}).
+ /// .
+ ///
+ public static string MT0109 {
+ get {
+ return ResourceManager.GetString("MT0109", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Native code sharing has been disabled because {0}
+ /// .
+ ///
+ public static string MT0112 {
+ get {
+ return ResourceManager.GetString("MT0112", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the container app's deployment target is earlier than iOS 8.0 (it's {0}).
+ /// .
+ ///
+ public static string MT0112_a {
+ get {
+ return ResourceManager.GetString("MT0112_a", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the container app includes I18N assemblies ({0}).
+ /// .
+ ///
+ public static string MT0112_b {
+ get {
+ return ResourceManager.GetString("MT0112_b", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the container app has custom xml definitions for the managed linker ({0}).
+ /// .
+ ///
+ public static string MT0112_c {
+ get {
+ return ResourceManager.GetString("MT0112_c", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Native code sharing has been disabled for the extension '{0}' because {1}
+ /// .
+ ///
+ public static string MT0113 {
+ get {
+ return ResourceManager.GetString("MT0113", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the bitcode options differ between the container app ({0}) and the extension ({1}).
+ /// .
+ ///
+ public static string MT0113_a {
+ get {
+ return ResourceManager.GetString("MT0113_a", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the --assembly-build-target options are different between the container app ({0}) and the extension ({1}).
+ /// .
+ ///
+ public static string MT0113_b {
+ get {
+ return ResourceManager.GetString("MT0113_b", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the I18N assemblies are different between the container app ({0}) and the extension ({1}).
+ /// .
+ ///
+ public static string MT0113_c {
+ get {
+ return ResourceManager.GetString("MT0113_c", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the arguments to the AOT compiler are different between the container app ({0}) and the extension ({1}).
+ /// .
+ ///
+ public static string MT0113_d {
+ get {
+ return ResourceManager.GetString("MT0113_d", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the other arguments to the AOT compiler are different between the container app ({0}) and the extension ({1}).
+ /// .
+ ///
+ public static string MT0113_e {
+ get {
+ return ResourceManager.GetString("MT0113_e", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to LLVM is not enabled or disabled in both the container app ({0}) and the extension ({1}).
+ /// .
+ ///
+ public static string MT0113_f {
+ get {
+ return ResourceManager.GetString("MT0113_f", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the managed linker settings are different between the container app ({0}) and the extension ({1}).
+ /// .
+ ///
+ public static string MT0113_g {
+ get {
+ return ResourceManager.GetString("MT0113_g", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the skipped assemblies for the managed linker are different between the container app ({0}) and the extension ({1}).
+ /// .
+ ///
+ public static string MT0113_h {
+ get {
+ return ResourceManager.GetString("MT0113_h", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the extension has custom xml definitions for the managed linker ({0}).
+ /// .
+ ///
+ public static string MT0113_i {
+ get {
+ return ResourceManager.GetString("MT0113_i", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the interpreter settings are different between the container app ({0}) and the extension ({1}).
+ /// .
+ ///
+ public static string MT0113_j {
+ get {
+ return ResourceManager.GetString("MT0113_j", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the interpreted assemblies are different between the container app ({0}) and the extension ({1}).
+ /// .
+ ///
+ public static string MT0113_k {
+ get {
+ return ResourceManager.GetString("MT0113_k", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the container app does not build for the ABI {0} (while the extension is building for this ABI).
+ /// .
+ ///
+ public static string MT0113_l {
+ get {
+ return ResourceManager.GetString("MT0113_l", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the container app is building for the ABI {0}, which is not compatible with the extension's ABI ({1}).
+ /// .
+ ///
+ public static string MT0113_m {
+ get {
+ return ResourceManager.GetString("MT0113_m", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the remove-dynamic-registrar optimization differ between the container app ({0}) and the extension ({1}).
+ /// .
+ ///
+ public static string MT0113_n {
+ get {
+ return ResourceManager.GetString("MT0113_n", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to the container app is referencing the assembly '{0}' from '{1}', while the extension references a different version from '{2}'.
+ /// .
+ ///
+ public static string MT0113_o {
+ get {
+ return ResourceManager.GetString("MT0113_o", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to It is recommended to reference dynamic symbols using code (--dynamic-symbol-mode=code) when bitcode is enabled.
+ /// .
+ ///
+ public static string MT0115 {
+ get {
+ return ResourceManager.GetString("MT0115", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid architecture: {0}. 32-bit architectures are not supported when deployment target is 11 or later.
+ /// .
+ ///
+ public static string MT0116 {
+ get {
+ return ResourceManager.GetString("MT0116", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Can't launch a 32-bit app on a simulator that only supports 64-bit.
+ /// .
+ ///
+ public static string MT0117 {
+ get {
+ return ResourceManager.GetString("MT0117", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The directory {0} containing the mono symbols could not be found.
+ /// .
+ ///
+ public static string MT0118 {
+ get {
+ return ResourceManager.GetString("MT0118", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The executable assembly {0} does not reference {1}.dll.
+ /// .
+ ///
+ public static string MT0123 {
+ get {
+ return ResourceManager.GetString("MT0123", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not set the current language to '{0}' (according to LANG={1}): {2}
+ /// .
+ ///
+ public static string MT0124 {
+ get {
+ return ResourceManager.GetString("MT0124", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The --assembly-build-target command-line argument is ignored in the simulator.
+ /// .
+ ///
+ public static string MT0125 {
+ get {
+ return ResourceManager.GetString("MT0125", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Incremental builds have been disabled because incremental builds are not supported in the simulator.
+ /// .
+ ///
+ public static string MT0126 {
+ get {
+ return ResourceManager.GetString("MT0126", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Incremental builds have been disabled because incremental builds are currently not supported in projects that include more than one third-party binding library.
+ /// .
+ ///
+ public static string MT0127 {
+ get {
+ return ResourceManager.GetString("MT0127", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not touch the file '{0}': {1}
+ /// .
+ ///
+ public static string MT0128 {
+ get {
+ return ResourceManager.GetString("MT0128", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot find the assembly '{0}' referenced from '{1}'.
+ /// .
+ ///
+ public static string MT0136 {
+ get {
+ return ResourceManager.GetString("MT0136", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot find the assembly '{0}', referenced by a {2} attribute in '{1}'.
+ /// .
+ ///
+ public static string MT0137 {
+ get {
+ return ResourceManager.GetString("MT0137", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to File '{0}' is not a valid framework.
+ /// .
+ ///
+ public static string MT0140 {
+ get {
+ return ResourceManager.GetString("MT0140", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The interpreter is not supported in the simulator. Switching to REPL which provide the same extra features on the simulator.
+ /// .
+ ///
+ public static string MT0141 {
+ get {
+ return ResourceManager.GetString("MT0141", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot find the assembly '{0}', passed as an argument to --interpreter.
+ /// .
+ ///
+ public static string MT0142 {
+ get {
+ return ResourceManager.GetString("MT0142", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Internal error: The interpreter is currently only available for 64 bits.
+ /// .
+ ///
+ public static string MT0150 {
+ get {
+ return ResourceManager.GetString("MT0150", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Internal error: byref array is neither string, NSObject or INativeObject.
+ /// .
+ ///
+ public static string MT0156 {
+ get {
+ return ResourceManager.GetString("MT0156", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Internal error: can't convert from '{0}' to '{1}' in {2}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new).
+ /// .
+ ///
+ public static string MT0157 {
+ get {
+ return ResourceManager.GetString("MT0157", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Internal error: the smart enum {0} doesn't seem to be a smart enum after all. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new).
+ /// .
+ ///
+ public static string MT0158 {
+ get {
+ return ResourceManager.GetString("MT0158", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Internal error: unsupported tokentype ({0}) for {1}. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new).
+ /// .
+ ///
+ public static string MT0159 {
+ get {
+ return ResourceManager.GetString("MT0159", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Internal error: the static registrar should not execute unless the linker also executed (or was disabled). A potential workaround is to pass '-f' as an additional {0} argument to force a full build. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new).
+ /// .
+ ///
+ public static string MT0160 {
+ get {
+ return ResourceManager.GetString("MT0160", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Internal error: symbol without a name (type: {0}). Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new).
+ /// .
+ ///
+ public static string MT0161 {
+ get {
+ return ResourceManager.GetString("MT0161", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Internal error: 'can't convert frameworks to frameworks: {0}'. Please file a bug report with a test case (https://github.com/xamarin/xamarin-macios/issues/new).
+ /// .
+ ///
+ public static string MT0168 {
+ get {
+ return ResourceManager.GetString("MT0168", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The assembly {0} was referenced by another assembly, but at the same time linked out by the linker.
+ /// .
+ ///
+ public static string MT0174_a {
+ get {
+ return ResourceManager.GetString("MT0174_a", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The linker output contains more than one assemblies named '{0}':\n\t{1}
+ /// .
+ ///
+ public static string MT0175_a {
+ get {
+ return ResourceManager.GetString("MT0175_a", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Not all assemblies for {0} have link tasks
+ /// .
+ ///
+ public static string MT0175_b {
+ get {
+ return ResourceManager.GetString("MT0175_b", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Link tasks for {0} aren't all the same
+ /// .
+ ///
+ public static string MT0175_c {
+ get {
+ return ResourceManager.GetString("MT0175_c", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not load the assembly '{0}': {1}
+ /// .
+ ///
+ public static string MT1010 {
+ get {
+ return ResourceManager.GetString("MT1010", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Dependency tracking error: no files to compare. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new with a test case.
+ /// .
+ ///
+ public static string MT1013 {
+ get {
+ return ResourceManager.GetString("MT1013", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to re-use cached version of '{0}': {1}.
+ /// .
+ ///
+ public static string MT1014 {
+ get {
+ return ResourceManager.GetString("MT1014", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to create the executable '{0}': {1}
+ /// .
+ ///
+ public static string MT1015 {
+ get {
+ return ResourceManager.GetString("MT1015", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not copy the directory '{0}' to '{1}': {2}
+ /// .
+ ///
+ public static string MT1022 {
+ get {
+ return ResourceManager.GetString("MT1022", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot include different versions of the framework '{0}'
+ /// .
+ ///
+ public static string MT1035 {
+ get {
+ return ResourceManager.GetString("MT1035", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Framework '{0}' included from: {1} (Related to previous error)
+ /// .
+ ///
+ public static string MT1036 {
+ get {
+ return ResourceManager.GetString("MT1036", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unsupported bitcode platform: {0}.
+ /// .
+ ///
+ public static string MT1300 {
+ get {
+ return ResourceManager.GetString("MT1300", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unsupported TvOS ABI: {0}.
+ /// .
+ ///
+ public static string MT1301 {
+ get {
+ return ResourceManager.GetString("MT1301", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not extract the native library '{0}' from '{1}'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
+ /// .
+ ///
+ public static string MT1302 {
+ get {
+ return ResourceManager.GetString("MT1302", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid escape sequence when converting .s to .ll, \\ as the last characted in {0}:{1}.
+ /// .
+ ///
+ public static string MT1302_A {
+ get {
+ return ResourceManager.GetString("MT1302_A", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid escape sequence when converting .s to .ll, bad octal escape in {0}:{1} due to {2}.
+ /// .
+ ///
+ public static string MT1302_B {
+ get {
+ return ResourceManager.GetString("MT1302_B", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not decompress the native framework '{0}' from '{1}'. Please review the build log for more information from the native 'unzip' command.
+ /// .
+ ///
+ public static string MT1303 {
+ get {
+ return ResourceManager.GetString("MT1303", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The binding library '{0}' contains a user framework ({0}), but embedded user frameworks require iOS 8.0 (the deployment target is {1}). Please set the deployment target in the Info.plist file to at least 8.0.
+ /// .
+ ///
+ public static string MT1305 {
+ get {
+ return ResourceManager.GetString("MT1305", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Not a Mach-O static library (unknown header '{0}', expected '!<arch>').
+ /// .
+ ///
+ public static string MT1601 {
+ get {
+ return ResourceManager.GetString("MT1601", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid entry '{0}' in the static library '{1}', entry header doesn't end with 0x60 0x0A (found '0x{2} 0x{3}')
+ /// .
+ ///
+ public static string MT1605 {
+ get {
+ return ResourceManager.GetString("MT1605", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Can not resolve reference: {0}
+ /// .
+ ///
+ public static string MT2002 {
+ get {
+ return ResourceManager.GetString("MT2002", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Option '--optimize={0}{1}' will be ignored since the static registrar is not enabled
+ /// .
+ ///
+ public static string MT2003 {
+ get {
+ return ResourceManager.GetString("MT2003", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Option '--optimize={0}{1}' will be ignored since linking is disabled
+ /// .
+ ///
+ public static string MT2003_B {
+ get {
+ return ResourceManager.GetString("MT2003_B", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Option '--optimize={0}' will be ignored since it's only applicable to {1}..
+ ///
+ public static string MT2003_C {
+ get {
+ return ResourceManager.GetString("MT2003_C", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Can not load mscorlib.dll from: '{0}'. Please reinstall Xamarin.iOS.
+ /// .
+ ///
+ public static string MT2006 {
+ get {
+ return ResourceManager.GetString("MT2006", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to resolve "{0}" reference from "{1}"
+ /// .
+ ///
+ public static string MT2007 {
+ get {
+ return ResourceManager.GetString("MT2007", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unknown HttpMessageHandler `{0}`. Valid values are HttpClientHandler (default), CFNetworkHandler or NSUrlSessionHandler
+ /// .
+ ///
+ public static string MT2010 {
+ get {
+ return ResourceManager.GetString("MT2010", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unable to link assembly '{0}' as it is mixed-mode.
+ /// .
+ ///
+ public static string MT2014 {
+ get {
+ return ResourceManager.GetString("MT2014", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The assembly '{0}' is referenced from two different locations: '{1}' and '{2}'.
+ /// .
+ ///
+ public static string MT2018 {
+ get {
+ return ResourceManager.GetString("MT2018", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Can not load the root assembly '{0}'.
+ /// .
+ ///
+ public static string MT2019 {
+ get {
+ return ResourceManager.GetString("MT2019", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Can't resolve the reference '{0}', referenced from the method '{1}' in '{2}'.
+ /// .
+ ///
+ public static string MT2101 {
+ get {
+ return ResourceManager.GetString("MT2101", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Error processing the method '{0}' in the assembly '{1}': {2}
+ /// .
+ ///
+ public static string MT2102 {
+ get {
+ return ResourceManager.GetString("MT2102", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Error processing the method '{0}' in the assembly '{1}'
+ /// .
+ ///
+ public static string MT2102_A {
+ get {
+ return ResourceManager.GetString("MT2102_A", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The [BindingImpl] attribute on the member '{0}' is invalid: did not expect fields.
+ /// .
+ ///
+ public static string MT2105_A {
+ get {
+ return ResourceManager.GetString("MT2105_A", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The [BindingImpl] attribute on the member '{0}' is invalid: did not expect properties.
+ /// .
+ ///
+ public static string MT2105_B {
+ get {
+ return ResourceManager.GetString("MT2105_B", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The [BindingImpl] attribute on the member '{0}' is invalid: did not expect a constructor with a '{1}' parameter type (expected 'ObjCRuntime.BindingImplOptions).
+ /// .
+ ///
+ public static string MT2105_C {
+ get {
+ return ResourceManager.GetString("MT2105_C", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The [BindingImpl] attribute on the member '{0}' is invalid: did not expect a constructor with a {1} parameters (expected 1 parameters).
+ /// .
+ ///
+ public static string MT2105_D {
+ get {
+ return ResourceManager.GetString("MT2105_D", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The property {0}.{1} contains a '{2}' exception clause, which is currently not supported when compiling for bitcode. This property will throw an exception if called.
+ /// .
+ ///
+ public static string MT2105_E {
+ get {
+ return ResourceManager.GetString("MT2105_E", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The method {0}.{1} contains a '{2}' exception clause, which is currently not supported when compiling for bitcode. This method will throw an exception if called.
+ /// .
+ ///
+ public static string MT2105_F {
+ get {
+ return ResourceManager.GetString("MT2105_F", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Debugging is not supported when building with LLVM. Debugging has been disabled.
+ /// .
+ ///
+ public static string MT3003 {
+ get {
+ return ResourceManager.GetString("MT3003", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not AOT the assembly '{0}' because it doesn't exist.
+ /// .
+ ///
+ public static string MT3004 {
+ get {
+ return ResourceManager.GetString("MT3004", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The dependency '{0}' of the assembly '{1}' was not found. Please review the project's references.
+ /// .
+ ///
+ public static string MT3005 {
+ get {
+ return ResourceManager.GetString("MT3005", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not compute a complete dependency map for the project. This will result in slower build times because Xamarin.iOS can't properly detect what needs to be rebuilt (and what does not need to be rebuilt). Please review previous warnings for more details.
+ /// .
+ ///
+ public static string MT3006 {
+ get {
+ return ResourceManager.GetString("MT3006", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Bitcode support requires the use of LLVM (--abi=arm64+llvm etc.)
+ /// .
+ ///
+ public static string MT3008 {
+ get {
+ return ResourceManager.GetString("MT3008", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The main template could not be expanded to `{0}`.
+ /// .
+ ///
+ public static string MT4001 {
+ get {
+ return ResourceManager.GetString("MT4001", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to compile the generated code for P/Invoke methods. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT4002 {
+ get {
+ return ResourceManager.GetString("MT4002", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar cannot build a signature for type `{0}`.
+ /// .
+ ///
+ public static string MT4101 {
+ get {
+ return ResourceManager.GetString("MT4101", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar found an invalid type `{0}` in signature for method `{2}`. Use `{1}` instead.
+ /// .
+ ///
+ public static string MT4102 {
+ get {
+ return ResourceManager.GetString("MT4102", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar found an invalid type `{0}` in signature for method `{1}`: The type implements INativeObject, but does not have a constructor that takes two (IntPtr, bool) arguments.
+ /// .
+ ///
+ public static string MT4103 {
+ get {
+ return ResourceManager.GetString("MT4103", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar cannot marshal the return value for type `{0}` in signature for method `{1}`.
+ /// .
+ ///
+ public static string MT4104 {
+ get {
+ return ResourceManager.GetString("MT4104", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar cannot marshal the return value of type `{0}` in the method `{1}.{2}`.
+ /// .
+ ///
+ public static string MT4104_A {
+ get {
+ return ResourceManager.GetString("MT4104_A", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar cannot marshal the parameter of type `{0}` in signature for method `{1}`.
+ /// .
+ ///
+ public static string MT4105 {
+ get {
+ return ResourceManager.GetString("MT4105", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar cannot get the ObjectiveC type for managed type `{0}`.
+ /// .
+ ///
+ public static string MT4108 {
+ get {
+ return ResourceManager.GetString("MT4108", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to compile the generated registrar code. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT4109 {
+ get {
+ return ResourceManager.GetString("MT4109", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar cannot marshal the out parameter of type `{0}` in signature for method `{1}`.
+ /// .
+ ///
+ public static string MT4110 {
+ get {
+ return ResourceManager.GetString("MT4110", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar cannot build a signature for type `{0}' in method `{1}`.
+ /// .
+ ///
+ public static string MT4111 {
+ get {
+ return ResourceManager.GetString("MT4111", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar found a generic method: '{0}'. Exporting generic methods is not supported, and will lead to random behavior and/or crashes
+ /// .
+ ///
+ public static string MT4113 {
+ get {
+ return ResourceManager.GetString("MT4113", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unexpected error in the registrar for the method '{0}.{1}' - Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT4114 {
+ get {
+ return ResourceManager.GetString("MT4114", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not register the assembly '{0}': {1}
+ /// .
+ ///
+ public static string MT4116 {
+ get {
+ return ResourceManager.GetString("MT4116", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar found a signature mismatch in the method '{0}.{1}' - the selector '{4}' indicates the method takes {2} parameters, while the managed method has {3} parameters.
+ /// .
+ ///
+ public static string MT4117 {
+ get {
+ return ResourceManager.GetString("MT4117", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register two managed types ('{0}' and '{1}') with the same native name ('{2}').
+ /// .
+ ///
+ public static string MT4118 {
+ get {
+ return ResourceManager.GetString("MT4118", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not register the selector '{0}' of the member '{1}.{2}' because the selector is already registered on the member '{3}'.
+ /// .
+ ///
+ public static string MT4119 {
+ get {
+ return ResourceManager.GetString("MT4119", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar found an unknown field type '{0}' in field '{1}.{2}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT4120 {
+ get {
+ return ResourceManager.GetString("MT4120", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot use GCC/G++ to compile the generated code from the static registrar when using the Accounts framework (the header files provided by Apple used during the compilation require Clang). Either use Clang (--compiler:clang) or the dynamic registrar (--registrar:dynamic).
+ /// .
+ ///
+ public static string MT4121 {
+ get {
+ return ResourceManager.GetString("MT4121", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The type of the variadic parameter in the variadic function '{0}' must be System.IntPtr.
+ /// .
+ ///
+ public static string MT4123 {
+ get {
+ return ResourceManager.GetString("MT4123", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid {0} found on '{1}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT4124 {
+ get {
+ return ResourceManager.GetString("MT4124", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid RegisterAttribute property {1} found on '{0}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT4124_A {
+ get {
+ return ResourceManager.GetString("MT4124_A", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid AdoptsAttribute found on '{0}': expected 1 constructor arguments, got {1}. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT4124_B {
+ get {
+ return ResourceManager.GetString("MT4124_B", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid BindAsAttribute found on '{0}.{1}': unknown field {2}. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT4124_C {
+ get {
+ return ResourceManager.GetString("MT4124_C", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid {0} found on '{1}.{2}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT4124_D {
+ get {
+ return ResourceManager.GetString("MT4124_D", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid BindAsAttribute found on '{0}': should have 1 constructor arguments, found {1}. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT4124_E {
+ get {
+ return ResourceManager.GetString("MT4124_E", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid BindAsAttribute found on '{0}': could not find the underlying enum type of {1}. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT4124_H {
+ get {
+ return ResourceManager.GetString("MT4124_H", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid {0} found on '{1}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new.
+ ///
+ public static string MT4124_I {
+ get {
+ return ResourceManager.GetString("MT4124_I", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar found an invalid type '{0}' in signature for method '{1}': The interface must have a Protocol attribute specifying its wrapper type.
+ /// .
+ ///
+ public static string MT4125 {
+ get {
+ return ResourceManager.GetString("MT4125", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register two managed protocols ('{0}' and '{1}') with the same native name ('{2}').
+ /// .
+ ///
+ public static string MT4126 {
+ get {
+ return ResourceManager.GetString("MT4126", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register more than one interface method for the method '{0}.{1}'.
+ /// .
+ ///
+ public static string MT4127 {
+ get {
+ return ResourceManager.GetString("MT4127", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar found an invalid generic parameter type '{0}' in the parameter {2} of the method '{1}'. The generic parameter must have an 'NSObject' constraint.
+ /// .
+ ///
+ public static string MT4128 {
+ get {
+ return ResourceManager.GetString("MT4128", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar found an invalid generic return type '{0}' in the method '{1}'. The generic return type must have an 'NSObject' constraint.
+ /// .
+ ///
+ public static string MT4129 {
+ get {
+ return ResourceManager.GetString("MT4129", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar cannot export static methods in generic classes ('{0}').
+ /// .
+ ///
+ public static string MT4130 {
+ get {
+ return ResourceManager.GetString("MT4130", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar cannot export static properties in generic classes ('{0}.{1}').
+ /// .
+ ///
+ public static string MT4131 {
+ get {
+ return ResourceManager.GetString("MT4131", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar found an invalid generic return type '{0}' in the property '{1}.{2}'. The return type must have an 'NSObject' constraint.
+ /// .
+ ///
+ public static string MT4132 {
+ get {
+ return ResourceManager.GetString("MT4132", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Your application is using the '{0}' framework, which isn't included in the {3} SDK you're using to build your app (this framework was introduced in {3} {2}, while you're building with the {3} {1} SDK.) Please select a newer SDK in your app's {3} Build options.
+ /// .
+ ///
+ public static string MT4134 {
+ get {
+ return ResourceManager.GetString("MT4134", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The member '{0}' has an Export attribute without a selector. A selector is required.
+ /// .
+ ///
+ public static string MT4135 {
+ get {
+ return ResourceManager.GetString("MT4135", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar cannot marshal the parameter type '{0}' of the parameter '{1}' in the method '{2}.{3}'
+ /// .
+ ///
+ public static string MT4136 {
+ get {
+ return ResourceManager.GetString("MT4136", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The method '{0}.{1}' is implementing '{2}.{3}'.
+ /// .
+ ///
+ public static string MT4137 {
+ get {
+ return ResourceManager.GetString("MT4137", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar cannot marshal the property type '{0}' of the property '{1}.{2}'.
+ /// .
+ ///
+ public static string MT4138 {
+ get {
+ return ResourceManager.GetString("MT4138", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar cannot marshal the property type '{0}' of the property '{1}.{2}'. Properties with the [Connect] attribute must have a property type of NSObject (or a subclass of NSObject).
+ /// .
+ ///
+ public static string MT4139 {
+ get {
+ return ResourceManager.GetString("MT4139", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar found a signature mismatch in the method '{0}.{1}' - the selector '{4}' indicates the variadic method takes {2} parameters, while the managed method has {3} parameters.
+ /// .
+ ///
+ public static string MT4140 {
+ get {
+ return ResourceManager.GetString("MT4140", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register the selector '{0}' on the member '{1}.{2}' because this selector is already implicitly registered.
+ /// .
+ ///
+ public static string MT4141 {
+ get {
+ return ResourceManager.GetString("MT4141", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid enum '{0}': enums with the [Native] attribute must have a underlying enum type of either 'long' or 'ulong'.
+ /// .
+ ///
+ public static string MT4145 {
+ get {
+ return ResourceManager.GetString("MT4145", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The Name parameter of the Registrar attribute on the class '{0}' ('{3}') contains an invalid character: '{1}' (0x{2}).
+ /// .
+ ///
+ public static string MT4146 {
+ get {
+ return ResourceManager.GetString("MT4146", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid {0} found on '{1}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT4147 {
+ get {
+ return ResourceManager.GetString("MT4147", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar found a generic protocol: '{0}'. Exporting generic protocols is not supported.
+ /// .
+ ///
+ public static string MT4148 {
+ get {
+ return ResourceManager.GetString("MT4148", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register the extension method '{0}.{1}' because the type of the first parameter ('{2}') does not match the category type ('{3}').
+ /// .
+ ///
+ public static string MT4149 {
+ get {
+ return ResourceManager.GetString("MT4149", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register the type '{0}' because the category type '{1}' in its Category attribute does not inherit from NSObject.
+ /// .
+ ///
+ public static string MT4150 {
+ get {
+ return ResourceManager.GetString("MT4150", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register the type '{0}' because the Type property in its Category attribute isn't set.
+ /// .
+ ///
+ public static string MT4151 {
+ get {
+ return ResourceManager.GetString("MT4151", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register the type '{0}' as a category because it implements INativeObject or subclasses NSObject.
+ /// .
+ ///
+ public static string MT4152 {
+ get {
+ return ResourceManager.GetString("MT4152", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register the type '{0}' as a category because it's generic.
+ /// .
+ ///
+ public static string MT4153 {
+ get {
+ return ResourceManager.GetString("MT4153", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register the method '{0}.{1}' as a category method because it's generic.
+ /// .
+ ///
+ public static string MT4154 {
+ get {
+ return ResourceManager.GetString("MT4154", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register two categories ('{0}' and '{1}') with the same native name ('{2}')
+ /// .
+ ///
+ public static string MT4156 {
+ get {
+ return ResourceManager.GetString("MT4156", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register the category method '{0}.{1}' because at least one parameter is required for extension methods (and its type must match the category type '{2}').
+ /// .
+ ///
+ public static string MT4157 {
+ get {
+ return ResourceManager.GetString("MT4157", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register the constructor {0}.{1} in the category {0} because constructors in categories are not supported.
+ /// .
+ ///
+ public static string MT4158 {
+ get {
+ return ResourceManager.GetString("MT4158", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register the method '{0}.{1}' as a category method because category methods must be static.
+ /// .
+ ///
+ public static string MT4159 {
+ get {
+ return ResourceManager.GetString("MT4159", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid character '{0}' (0x{1}) found in selector '{2}' for '{3}.{4}'
+ /// .
+ ///
+ public static string MT4160 {
+ get {
+ return ResourceManager.GetString("MT4160", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar found an unsupported structure '{0}': All fields in a structure must also be structures (field '{1}' with type '{2}' is not a structure).
+ /// .
+ ///
+ public static string MT4161 {
+ get {
+ return ResourceManager.GetString("MT4161", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The type '{0}' is not available in {3} {4} (it was introduced in {3} {5}){6} Please build with a newer {3} SDK (usually done by using the most recent version of Xcode).
+ /// .
+ ///
+ public static string MT4162_A {
+ get {
+ return ResourceManager.GetString("MT4162_A", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The type '{0}' (used as a base type of {1}) is not available in {2} {3} (it was introduced in {2} {4}){5} Please build with a newer {2} SDK (usually done by using the most recent version of Xcode).
+ /// .
+ ///
+ public static string MT4162_BaseType {
+ get {
+ return ResourceManager.GetString("MT4162_BaseType", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The type '{0}' (used as a parameter in {1}) is not available in {2} {3} (it was introduced in {2} {4}){5} Please build with a newer {2} SDK (usually done by using the most recent version of Xcode).
+ /// .
+ ///
+ public static string MT4162_Parameter {
+ get {
+ return ResourceManager.GetString("MT4162_Parameter", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The type '{0}' (used as the property type of {1}) is not available in {2} {3} (it was introduced in {2} {4}){5} Please build with a newer {2} SDK (usually done by using the most recent version of Xcode).
+ /// .
+ ///
+ public static string MT4162_PropertyType {
+ get {
+ return ResourceManager.GetString("MT4162_PropertyType", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The type '{0}' (used as a return type in {1}) is not available in {2} {3} (it was introduced in {2} {4}){5} Please build with a newer {2} SDK (usually done by using the most recent version of Xcode).
+ /// .
+ ///
+ public static string MT4162_ReturnType {
+ get {
+ return ResourceManager.GetString("MT4162_ReturnType", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Internal error in the registrar ({0} ctor with {1} arguments). Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT4163 {
+ get {
+ return ResourceManager.GetString("MT4163", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Internal error in the registrar (Unknown availability kind: {0}). Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT4163_A {
+ get {
+ return ResourceManager.GetString("MT4163_A", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Internal error in the registrar (BindAs parameters can't be ref/out: {0}). Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT4163_B {
+ get {
+ return ResourceManager.GetString("MT4163_B", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot export the property '{0}' because its selector '{1}' is an Objective-C keyword. Please use a different name.
+ /// .
+ ///
+ public static string MT4164 {
+ get {
+ return ResourceManager.GetString("MT4164", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar couldn't find the type 'System.Void' in any of the referenced assemblies.
+ /// .
+ ///
+ public static string MT4165 {
+ get {
+ return ResourceManager.GetString("MT4165", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register the method '{0}' because the signature contains a type ({1}) that isn't a reference type.
+ /// .
+ ///
+ public static string MT4166 {
+ get {
+ return ResourceManager.GetString("MT4166", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register the method '{0}' because the signature contains a generic type ({1}) with a generic argument type that doesn't implement INativeObject ({2}).
+ /// .
+ ///
+ public static string MT4167 {
+ get {
+ return ResourceManager.GetString("MT4167", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot register the type '{0}' because its Objective-C name '{1}' is an Objective-C keyword. Please use a different name.
+ /// .
+ ///
+ public static string MT4168 {
+ get {
+ return ResourceManager.GetString("MT4168", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to generate a P/Invoke wrapper for {0}: {1}
+ /// .
+ ///
+ public static string MT4169 {
+ get {
+ return ResourceManager.GetString("MT4169", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar can't convert from '{0}' to '{1}' for the return value in the method {2}.
+ /// .
+ ///
+ public static string MT4170 {
+ get {
+ return ResourceManager.GetString("MT4170", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The BindAs attribute on the return value of the method {0} is invalid: the BindAs type {1} is different from the return type {2}.
+ /// .
+ ///
+ public static string MT4171 {
+ get {
+ return ResourceManager.GetString("MT4171", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The BindAs attribute on the parameter #{0} is invalid: the BindAs type {1} is different from the parameter type {2}.
+ /// .
+ ///
+ public static string MT4171_A {
+ get {
+ return ResourceManager.GetString("MT4171_A", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The BindAs attribute on the property {0}.{1} is invalid: the BindAs type {2} is different from the property type {1}.
+ /// .
+ ///
+ public static string MT4171_B {
+ get {
+ return ResourceManager.GetString("MT4171_B", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar can't convert from '{0}' to '{1}' for the parameter '{2}' in the method {3}.
+ /// .
+ ///
+ public static string MT4172 {
+ get {
+ return ResourceManager.GetString("MT4172", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar can't compute the block signature for the delegate of type {0} in the method {1} because {0} doesn't have a specific signature.
+ /// .
+ ///
+ public static string MT4173 {
+ get {
+ return ResourceManager.GetString("MT4173", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar can't compute the block signature for the delegate of type {0} in the method {1} because it couldn't find the Invoke method of the delegate type.
+ /// .
+ ///
+ public static string MT4173_A {
+ get {
+ return ResourceManager.GetString("MT4173_A", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unable to locate the block to delegate conversion method for the method {0}'s parameter #{1}.
+ /// .
+ ///
+ public static string MT4174 {
+ get {
+ return ResourceManager.GetString("MT4174", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unable to locate the block to delegate conversion method for the method {0}'s parameter #{1}.
+ /// .
+ ///
+ public static string MT4175 {
+ get {
+ return ResourceManager.GetString("MT4175", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unable to locate the delegate to block conversion type for the return value of the method {0}.
+ /// .
+ ///
+ public static string MT4176 {
+ get {
+ return ResourceManager.GetString("MT4176", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The 'ProtocolType' parameter of the 'Adopts' attribute used in class '{0}' contains an invalid character. Value used: '{1}' Invalid Char: '{2}'
+ /// .
+ ///
+ public static string MT4177 {
+ get {
+ return ResourceManager.GetString("MT4177", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The class '{0}' will not be registered because the {1} framework has been removed from the {2} SDK.
+ /// .
+ ///
+ public static string MT4178 {
+ get {
+ return ResourceManager.GetString("MT4178", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar found the abstract type '{0}' in the signature for '{1}'. Abstract types should not be used in the signature for a member exported to Objective-C.
+ /// .
+ ///
+ public static string MT4179 {
+ get {
+ return ResourceManager.GetString("MT4179", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Internal error in the registrar (BindAs parameters can't be ref/out: {0}). Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT4184 {
+ get {
+ return ResourceManager.GetString("MT4184", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar can't compute the block signature for the delegate of type {0} in the method {1} because it couldn't find the Invoke method of the delegate type.
+ /// .
+ ///
+ public static string MT4185 {
+ get {
+ return ResourceManager.GetString("MT4185", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The registrar found a non-optimal type `{0}`: the type does not have a constructor that takes two (ObjCRuntime.NativeHandle, bool) arguments. However, a constructor that takes two (System.IntPtr, bool) arguments was found (and will be used instead). It's highly recommended to change the signature of the (System.IntPtr, bool) constructor to be (ObjCRuntime.NativeHandle, bool)..
+ ///
+ public static string MT4186 {
+ get {
+ return ResourceManager.GetString("MT4186", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The class '{0}' will not be registered because the {1} framework has been deprecated from the {2} SDK..
+ ///
+ public static string MT4190 {
+ get {
+ return ResourceManager.GetString("MT4190", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Missing '{0}' compiler. Please install Xcode 'Command-Line Tools' component
+ /// .
+ ///
+ public static string MT5101 {
+ get {
+ return ResourceManager.GetString("MT5101", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not find neither the '{0}' nor the '{1}' compiler. Please install Xcode 'Command-Line Tools' component
+ /// .
+ ///
+ public static string MT5103 {
+ get {
+ return ResourceManager.GetString("MT5103", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to compile the file(s) '{0}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT5103_A {
+ get {
+ return ResourceManager.GetString("MT5103_A", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not compile the file(s) '{0}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT5106 {
+ get {
+ return ResourceManager.GetString("MT5106", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The assembly '{0}' can't be AOT-compiled for 32-bit architectures because the native code is too big for the 32-bit ARM architecture.
+ /// .
+ ///
+ public static string MT5107 {
+ get {
+ return ResourceManager.GetString("MT5107", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The compiler output is too long, it's been limited to 1000 lines.
+ /// .
+ ///
+ public static string MT5108 {
+ get {
+ return ResourceManager.GetString("MT5108", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Native linking failed. Please review the build log and the user flags provided to gcc: {0}
+ /// .
+ ///
+ public static string MT5201 {
+ get {
+ return ResourceManager.GetString("MT5201", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Native linking failed. Please review the build log.
+ /// .
+ ///
+ public static string MT5202 {
+ get {
+ return ResourceManager.GetString("MT5202", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Native linking warning: {0}
+ /// .
+ ///
+ public static string MT5203 {
+ get {
+ return ResourceManager.GetString("MT5203", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Native linking failed. Please review the build log.
+ /// .
+ ///
+ public static string MT5204 {
+ get {
+ return ResourceManager.GetString("MT5204", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Native linking error: {0}
+ /// .
+ ///
+ public static string MT5209 {
+ get {
+ return ResourceManager.GetString("MT5209", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Native linking failed, undefined symbol: {0}. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
+ /// .
+ ///
+ public static string MT5210 {
+ get {
+ return ResourceManager.GetString("MT5210", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Native linking failed, undefined Objective-C class: {0}. The symbol '{1}' could not be found in any of the libraries or frameworks linked with your application.
+ /// .
+ ///
+ public static string MT5211 {
+ get {
+ return ResourceManager.GetString("MT5211", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Native linking failed, duplicate symbol: '{0}'.
+ /// .
+ ///
+ public static string MT5212 {
+ get {
+ return ResourceManager.GetString("MT5212", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Duplicate symbol in: {0} (Location related to previous error)
+ /// .
+ ///
+ public static string MT5213 {
+ get {
+ return ResourceManager.GetString("MT5213", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Native linking failed, undefined symbol: {0}. This symbol was referenced by the managed member {1}.{2}. Please verify that all the necessary frameworks have been referenced and native libraries linked.
+ /// .
+ ///
+ public static string MT5214 {
+ get {
+ return ResourceManager.GetString("MT5214", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to References to '{0}' might require additional -framework=XXX or -lXXX instructions to the native linker
+ /// .
+ ///
+ public static string MT5215 {
+ get {
+ return ResourceManager.GetString("MT5215", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Native linking failed for '{0}'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MT5216 {
+ get {
+ return ResourceManager.GetString("MT5216", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Native linking failed because the linker command line was too long ({0} characters).
+ /// .
+ ///
+ public static string MT5217 {
+ get {
+ return ResourceManager.GetString("MT5217", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Can't ignore the dynamic symbol {0} (--ignore-dynamic-symbol={0}) because it was not detected as a dynamic symbol.
+ /// .
+ ///
+ public static string MT5218 {
+ get {
+ return ResourceManager.GetString("MT5218", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Not linking with WatchKit because it has been removed from iOS.
+ /// .
+ ///
+ public static string MT5219 {
+ get {
+ return ResourceManager.GetString("MT5219", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Missing 'strip' tool. Please install Xcode 'Command-Line Tools' component
+ /// .
+ ///
+ public static string MT5301 {
+ get {
+ return ResourceManager.GetString("MT5301", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Missing 'dsymutil' tool. Please install Xcode 'Command-Line Tools' component
+ /// .
+ ///
+ public static string MT5302 {
+ get {
+ return ResourceManager.GetString("MT5302", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to generate the debug symbols (dSYM directory). Please review the build log.
+ /// .
+ ///
+ public static string MT5303 {
+ get {
+ return ResourceManager.GetString("MT5303", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to strip the final binary. Please review the build log.
+ /// .
+ ///
+ public static string MT5304 {
+ get {
+ return ResourceManager.GetString("MT5304", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to create the a fat library. Please review the build log.
+ /// .
+ ///
+ public static string MT5306 {
+ get {
+ return ResourceManager.GetString("MT5306", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Internal consistency error. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new.
+ /// .
+ ///
+ public static string MT8018 {
+ get {
+ return ResourceManager.GetString("MT8018", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The linker step '{0}' failed during processing: {1}.
+ ///
+ public static string MX_ConfigurationAwareStep {
+ get {
+ return ResourceManager.GetString("MX_ConfigurationAwareStep", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The linker step '{0}' failed while processing {1}: {2}.
+ ///
+ public static string MX_ConfigurationAwareStepWithAssembly {
+ get {
+ return ResourceManager.GetString("MX_ConfigurationAwareStepWithAssembly", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The linker step '{0}' failed processing `{1}`..
+ ///
+ public static string MX_ExceptionalSubSteps {
+ get {
+ return ResourceManager.GetString("MX_ExceptionalSubSteps", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Application name '{0}.exe' conflicts with an SDK or product assembly (.dll) name.
+ /// .
+ ///
+ public static string MX0003 {
+ get {
+ return ResourceManager.GetString("MX0003", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The root assembly '{0}' does not exist
+ /// .
+ ///
+ public static string MX0007 {
+ get {
+ return ResourceManager.GetString("MX0007", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Error while loading assemblies: {0}.
+ /// .
+ ///
+ public static string MX0009 {
+ get {
+ return ResourceManager.GetString("MX0009", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not parse the command line arguments: {0}
+ /// .
+ ///
+ public static string MX0010 {
+ get {
+ return ResourceManager.GetString("MX0010", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The option '{0}' has been deprecated.
+ /// .
+ ///
+ public static string MX0016 {
+ get {
+ return ResourceManager.GetString("MX0016", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to You should provide a root assembly.
+ /// .
+ ///
+ public static string MX0017 {
+ get {
+ return ResourceManager.GetString("MX0017", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unknown command line argument: '{0}'
+ /// .
+ ///
+ public static string MX0018 {
+ get {
+ return ResourceManager.GetString("MX0018", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The valid options for '{0}' are '{1}'.
+ /// .
+ ///
+ public static string MX0020 {
+ get {
+ return ResourceManager.GetString("MX0020", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not parse the command line argument '-{0}': {1}
+ /// .
+ ///
+ public static string MX0026 {
+ get {
+ return ResourceManager.GetString("MX0026", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The Boehm garbage collector is not supported. The SGen garbage collector has been selected instead.
+ /// .
+ ///
+ public static string MX0043 {
+ get {
+ return ResourceManager.GetString("MX0043", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cannot find Xcode in the default location (/Applications/Xcode.app). Please install Xcode, or pass a custom path using --sdkroot <path>.
+ /// .
+ ///
+ public static string MX0056 {
+ get {
+ return ResourceManager.GetString("MX0056", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not find the currently selected Xcode on the system: {0}
+ /// .
+ ///
+ public static string MX0059 {
+ get {
+ return ResourceManager.GetString("MX0059", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not find the currently selected Xcode on the system. 'xcode-select --print-path' returned '{0}', but that directory does not exist.
+ /// .
+ ///
+ public static string MX0060 {
+ get {
+ return ResourceManager.GetString("MX0060", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid value for target framework: {0}.
+ /// .
+ ///
+ public static string MX0068 {
+ get {
+ return ResourceManager.GetString("MX0068", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid target framework: {0}. Valid target frameworks are: {1}.
+ /// .
+ ///
+ public static string MX0070 {
+ get {
+ return ResourceManager.GetString("MX0070", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unknown platform: {0}. This usually indicates a bug in {1}; please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new with a test case.
+ /// .
+ ///
+ public static string MX0071 {
+ get {
+ return ResourceManager.GetString("MX0071", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to {4} {0} does not support a deployment target of {1} for {3} (the maximum is {2}). Please select an older deployment target in your project's Info.plist or change the SupportedOSPlatformVersion property in your project file, or upgrade to a newer version of {4}.
+ /// .
+ ///
+ public static string MX0074 {
+ get {
+ return ResourceManager.GetString("MX0074", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Disabling the new refcount logic is deprecated.
+ /// .
+ ///
+ public static string MX0080 {
+ get {
+ return ResourceManager.GetString("MX0080", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to A target framework (--target-framework) must be specified.
+ /// .
+ ///
+ public static string MX0086 {
+ get {
+ return ResourceManager.GetString("MX0086", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The target framework '{0}' is deprecated. Use '{1}' instead.
+ /// .
+ ///
+ public static string MX0090 {
+ get {
+ return ResourceManager.GetString("MX0090", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Internal error: {0}. Please file an issue at https://github.com/xamarin/xamarin-macios/issues/new.
+ /// .
+ ///
+ public static string MX0099 {
+ get {
+ return ResourceManager.GetString("MX0099", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Debugging symbol file for '{0}' does not match the assembly and is ignored.
+ /// .
+ ///
+ public static string MX0129 {
+ get {
+ return ResourceManager.GetString("MX0129", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to No root assemblies found. You should provide at least one root assembly.
+ /// .
+ ///
+ public static string MX0130 {
+ get {
+ return ResourceManager.GetString("MX0130", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Product assembly '{0}' not found in assembly list: '{1}'
+ /// .
+ ///
+ public static string MX0131 {
+ get {
+ return ResourceManager.GetString("MX0131", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unknown optimization: '{0}'. Valid optimizations are: {1}.
+ /// .
+ ///
+ public static string MX0132 {
+ get {
+ return ResourceManager.GetString("MX0132", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Found more than 1 assembly matching '{0}' choosing first:{1}{2}
+ /// .
+ ///
+ public static string MX0133 {
+ get {
+ return ResourceManager.GetString("MX0133", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Did not link system framework '{0}' (referenced by assembly '{1}') because it was introduced in {2} {3}, and we're using the {2} {4} SDK.
+ /// .
+ ///
+ public static string MX0135 {
+ get {
+ return ResourceManager.GetString("MX0135", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unable to parse the linker flags '{0}' from the LinkWith attribute for the library '{1}' in {2} : {3}
+ /// .
+ ///
+ public static string MX0148 {
+ get {
+ return ResourceManager.GetString("MX0148", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The assembly '{0}' was resolved from the system's GAC: {1}. This could potentially be a problem in the future; to avoid such problems, please make sure to not use assemblies only available in the system's GAC.
+ /// .
+ ///
+ public static string MX0176 {
+ get {
+ return ResourceManager.GetString("MX0176", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unknown platform: {0}. This usually indicates a bug; please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new with a test case..
+ ///
+ public static string MX0177 {
+ get {
+ return ResourceManager.GetString("MX0177", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Debugging symbol file for '{0}' is not valid and was ignored.
+ /// .
+ ///
+ public static string MX0178 {
+ get {
+ return ResourceManager.GetString("MX0178", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to This version of {0} requires the {1} {2} SDK (shipped with Xcode {3}). Either upgrade Xcode to get the required header files or use the dynamic registrar or set the managed linker behaviour to Link Platform or Link Framework SDKs Only in your project's Mac Build Options > Linker Behavior) (to try to avoid the new APIs)..
+ ///
+ public static string MX0179 {
+ get {
+ return ResourceManager.GetString("MX0179", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to This version of {0} requires the {1} {2} SDK (shipped with Xcode {3}). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only in your project's iOS Build Options > Linker Behavior (to try to avoid the new APIs)..
+ ///
+ public static string MX0180 {
+ get {
+ return ResourceManager.GetString("MX0180", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Not linking with the framework {0} (used by the type {1}) because it's not available on the current platform ({2})..
+ ///
+ public static string MX0181 {
+ get {
+ return ResourceManager.GetString("MX0181", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Not linking with the framework {0} (referenced by a module reference in {1}) because it's not available on the current platform ({2})..
+ ///
+ public static string MX0182 {
+ get {
+ return ResourceManager.GetString("MX0182", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not map the Mac Catalyst version {0} to a corresponding macOS version. Valid Mac Catalyst versions are: {1}.
+ ///
+ public static string MX0183 {
+ get {
+ return ResourceManager.GetString("MX0183", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not map the macOS version {0} to a corresponding Mac Catalyst version. Valid macOS versions are: {1}.
+ ///
+ public static string MX0184 {
+ get {
+ return ResourceManager.GetString("MX0184", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The option '{0}' cannot take the value '{1}' when using CoreCLR..
+ ///
+ public static string MX0185 {
+ get {
+ return ResourceManager.GetString("MX0185", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Bitcode is enabled, but bitcode is not supported in Xcode 14+ and has been disabled. Please disable bitcode by removing the 'MtouchEnableBitcode' property from the project file..
+ ///
+ public static string MX0186 {
+ get {
+ return ResourceManager.GetString("MX0186", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not copy the assembly '{0}' to '{1}': {2}
+ /// .
+ ///
+ public static string MX1009 {
+ get {
+ return ResourceManager.GetString("MX1009", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not decompress the file '{0}'. Please review the build log for more information from the native 'unzip' command..
+ ///
+ public static string MX1306 {
+ get {
+ return ResourceManager.GetString("MX1306", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not extract the native framework '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'..
+ ///
+ public static string MX1307 {
+ get {
+ return ResourceManager.GetString("MX1307", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not extract the native library '{0}' from the assembly '{1}', because it doesn't contain the resource '{2}'..
+ ///
+ public static string MX1308 {
+ get {
+ return ResourceManager.GetString("MX1308", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to One or more reference(s) to type '{0}' already exists inside '{1}' before linking
+ /// .
+ ///
+ public static string MX1502 {
+ get {
+ return ResourceManager.GetString("MX1502", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to One or more reference(s) to type '{0}' still exists inside '{1}' after linking
+ /// .
+ ///
+ public static string MX1503 {
+ get {
+ return ResourceManager.GetString("MX1503", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Not a Mach-O dynamic library (unknown header '0x{0}'): {1}.
+ /// .
+ ///
+ public static string MX1600 {
+ get {
+ return ResourceManager.GetString("MX1600", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Not a Mach-O dynamic library (unknown header '0x{0}'): {1}.
+ /// .
+ ///
+ public static string MX1602 {
+ get {
+ return ResourceManager.GetString("MX1602", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unknown format for fat entry at position {0} in {1}.
+ /// .
+ ///
+ public static string MX1603 {
+ get {
+ return ResourceManager.GetString("MX1603", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to File of type {0} is not a MachO file ({1}).
+ /// .
+ ///
+ public static string MX1604 {
+ get {
+ return ResourceManager.GetString("MX1604", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not link assemblies. {0}
+ /// .
+ ///
+ public static string MX2001 {
+ get {
+ return ResourceManager.GetString("MX2001", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Extra linker definitions file '{0}' could not be located.
+ /// .
+ ///
+ public static string MX2004 {
+ get {
+ return ResourceManager.GetString("MX2004", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Definitions from '{0}' could not be parsed.
+ /// .
+ ///
+ public static string MX2005 {
+ get {
+ return ResourceManager.GetString("MX2005", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Keeping the dynamic registrar (by passing '--optimize=-remove-dynamic-registrar') is not possible, because the dynamic registrar is not supported when using NativeAOT. Support for dynamic registration will still be removed..
+ ///
+ public static string MX2016 {
+ get {
+ return ResourceManager.GetString("MX2016", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not process XML description: {0}
+ /// .
+ ///
+ public static string MX2017 {
+ get {
+ return ResourceManager.GetString("MX2017", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Error processing assembly '{0}': {1}
+ /// .
+ ///
+ public static string MX2103 {
+ get {
+ return ResourceManager.GetString("MX2103", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the more than one method named '{3}' was found in the type '{4}..
+ ///
+ public static string MX2106_E {
+ get {
+ return ResourceManager.GetString("MX2106_E", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the method '{3}' must have at least one parameter..
+ ///
+ public static string MX2106_F {
+ get {
+ return ResourceManager.GetString("MX2106_F", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the first parameter in the method '{3}' isn't 'System.IntPtr', 'void*' or 'ObjCRuntime.BlockLiteral*' (it's '{4}').
+ ///
+ public static string MX2106_G {
+ get {
+ return ResourceManager.GetString("MX2106_G", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the method '{3}' does not have an [UnmanagedCallersOnly] attribute..
+ ///
+ public static string MX2106_H {
+ get {
+ return ResourceManager.GetString("MX2106_H", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not optimize the call to BlockLiteral.{2} in {0} at offset {1} because the method '{3}' does not have an [UnmanagedCallersOnly] attribute..
+ ///
+ public static string MX2106_I {
+ get {
+ return ResourceManager.GetString("MX2106_I", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Can not find the corlib assembly '{0}' in the list of loaded assemblies.
+ /// .
+ ///
+ public static string MX2111 {
+ get {
+ return ResourceManager.GetString("MX2111", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not optimize the static constructor in the interface {0} because it did not have the expected instruction sequence (found end of method too soon)..
+ ///
+ public static string MX2112_A {
+ get {
+ return ResourceManager.GetString("MX2112_A", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not optimize the static constructor in the interface {0} because it had an unexpected instruction {1} at offset {2}..
+ ///
+ public static string MX2112_B {
+ get {
+ return ResourceManager.GetString("MX2112_B", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not {0} the assembly '{1}'
+ /// .
+ ///
+ public static string MX3001 {
+ get {
+ return ResourceManager.GetString("MX3001", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Debug info files (*.mdb / *.pdb) will not be loaded when llvm is enabled.
+ /// .
+ ///
+ public static string MX3007 {
+ get {
+ return ResourceManager.GetString("MX3007", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not find a [UserDelegateType] attribute on the type '{0}'..
+ ///
+ public static string MX4187 {
+ get {
+ return ResourceManager.GetString("MX4187", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unable to compute the block signature for the type '{0}': {1}.
+ ///
+ public static string MX4188 {
+ get {
+ return ResourceManager.GetString("MX4188", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The class '{0}' will not be registered because it has been removed from the {1} SDK..
+ ///
+ public static string MX4189 {
+ get {
+ return ResourceManager.GetString("MX4189", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The native linker failed to execute: {0}. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
+ /// .
+ ///
+ public static string MX5222 {
+ get {
+ return ResourceManager.GetString("MX5222", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Did not link with the framework '{0}', because the current {1} SDK does not contain support for this framework in the simulator..
+ ///
+ public static string MX5223 {
+ get {
+ return ResourceManager.GetString("MX5223", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Missing 'lipo' tool. Please install Xcode 'Command-Line Tools' component
+ /// .
+ ///
+ public static string MX5305 {
+ get {
+ return ResourceManager.GetString("MX5305", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Missing '{0}' tool. Please install Xcode 'Command-Line Tools' component
+ /// .
+ ///
+ public static string MX5307 {
+ get {
+ return ResourceManager.GetString("MX5307", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to execute the tool '{0}', it failed with an error code '{1}'. Please check the build log for details.
+ /// .
+ ///
+ public static string MX5309 {
+ get {
+ return ResourceManager.GetString("MX5309", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to lipo failed with an error code '{0}'. Check build log for details.
+ /// .
+ ///
+ public static string MX5311 {
+ get {
+ return ResourceManager.GetString("MX5311", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to pkg-config failed with an error code '{0}'. Check build log for details.
+ /// .
+ ///
+ public static string MX5312 {
+ get {
+ return ResourceManager.GetString("MX5312", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not find {0}. Please install the Mono.framework from https://mono-project.com/Downloads
+ /// .
+ ///
+ public static string MX5313 {
+ get {
+ return ResourceManager.GetString("MX5313", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to execute pkg-config: '{0}'. Check build log for details.
+ /// .
+ ///
+ public static string MX5314 {
+ get {
+ return ResourceManager.GetString("MX5314", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The tool xcrun failed to find result when looking for the tool '{0}' (the file '{1}' does not exist). Check build log for details.
+ /// .
+ ///
+ public static string MX5315 {
+ get {
+ return ResourceManager.GetString("MX5315", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to An error occurred while executing the custom linker steps. Please review the build log for more information..
+ ///
+ public static string MX7000 {
+ get {
+ return ResourceManager.GetString("MX7000", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Don't know how to marshal the parameter of type {0} for parameter {1} in call to {2}.
+ ///
+ public static string MX8037 {
+ get {
+ return ResourceManager.GetString("MX8037", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Don't know how to marshal back the parameter of type {0} for parameter {1} in call to {2}.
+ ///
+ public static string MX8038 {
+ get {
+ return ResourceManager.GetString("MX8038", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unable to marshal from {0} to an Objective-C object. The managed class must either inherit from NSObject or implement INativeObject..
+ ///
+ public static string MX8039 {
+ get {
+ return ResourceManager.GetString("MX8039", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Invalid type encoding for parameter..
+ ///
+ public static string MX8040 {
+ get {
+ return ResourceManager.GetString("MX8040", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unable to create an instance of the type {0}..
+ ///
+ public static string MX8041 {
+ get {
+ return ResourceManager.GetString("MX8041", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to An exception occurred while trying to invoke the function {0}: {1}.
+ ///
+ public static string MX8042 {
+ get {
+ return ResourceManager.GetString("MX8042", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to An exception occurred while validating the static registrar code for {0}: {1}.
+ ///
+ public static string MX8043 {
+ get {
+ return ResourceManager.GetString("MX8043", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The assembly {0} has been modified since the app was built, invalidating the generated static registrar code. The MVID for the loaded assembly is {1}, while the MVID for the assembly the generated static registrar code corresponds to is {2}..
+ ///
+ public static string MX8044 {
+ get {
+ return ResourceManager.GetString("MX8044", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unable to call release on an instance of the type {0}.
+ ///
+ public static string MX8045 {
+ get {
+ return ResourceManager.GetString("MX8045", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unable to find the method '{0}' in the type '{1}'.
+ ///
+ public static string MX8046 {
+ get {
+ return ResourceManager.GetString("MX8046", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The trampoline method {0} must have at least one parameter..
+ ///
+ public static string MX8048 {
+ get {
+ return ResourceManager.GetString("MX8048", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The first parameter in the trampoline method {0} must be either 'System.IntPtr', 'void*' or 'ObjCRuntime.BlockLiteral*'..
+ ///
+ public static string MX8049 {
+ get {
+ return ResourceManager.GetString("MX8049", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to BlockLiteral.GetBlockSignature is not supported when the dynamic registrar has been linked away..
+ ///
+ public static string MX8050 {
+ get {
+ return ResourceManager.GetString("MX8050", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The trampoline method {0} must have an [UnmanagedCallersOnly] attribute..
+ ///
+ public static string MX8051 {
+ get {
+ return ResourceManager.GetString("MX8051", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The signature must be a non-empty string..
+ ///
+ public static string MX8052 {
+ get {
+ return ResourceManager.GetString("MX8052", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not resolve the module in the assembly {0}..
+ ///
+ public static string MX8053 {
+ get {
+ return ResourceManager.GetString("MX8053", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Can't resolve metadata tokens for methods when using the managed static registrar (token: 0x{0})..
+ ///
+ public static string MX8054 {
+ get {
+ return ResourceManager.GetString("MX8054", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not find the type 'ObjCRuntime.__Registrar__' in the assembly '{0}'..
+ ///
+ public static string MX8055 {
+ get {
+ return ResourceManager.GetString("MX8055", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Failed to marshal the Objective-C object 0x{0} (type: {1}). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance of generic type {2}..
+ ///
+ public static string MX8056 {
+ get {
+ return ResourceManager.GetString("MX8056", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to .NET for {0} does not support server garbage collection..
+ ///
+ public static string MX8057 {
+ get {
+ return ResourceManager.GetString("MX8057", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The dynamic registrar does not support calling base Objective-C constructors with arguments (type: %s, selector: %s). Please use any of the static registrars..
+ ///
+ public static string MX8058 {
+ get {
+ return ResourceManager.GetString("MX8058", resourceCulture);
+ }
+ }
+ }
}
diff --git a/tools/mtouch/Errors.resx b/tools/mtouch/Errors.resx
index 12f69735ad57..136ae14ea517 100644
--- a/tools/mtouch/Errors.resx
+++ b/tools/mtouch/Errors.resx
@@ -397,10 +397,7 @@
-
- WatchOS projects must be extensions.
-
-
+
Incremental builds are enabled with a deployment target < 8.0 (currently {0}). This is not supported (the resulting application will not launch on iOS 9), so the deployment target will be set to 8.0.
@@ -433,10 +430,7 @@
-
- Asm-only bitcode is not supported on watchOS. Use either --bitcode:marker or --bitcode:full.
-
-
+
Bitcode is not supported in the simulator. Do not pass --bitcode when building for the simulator.
@@ -458,6 +452,9 @@
+
+
+
The target framework '{0}' is deprecated. Use '{1}' instead.
@@ -548,11 +545,7 @@
-
-
- Bitcode has been enabled because this version of Xamarin.iOS does not support building watchOS projects using LLVM without enabling bitcode.
-
-
+
Native code sharing has been disabled because {0}
@@ -780,15 +773,8 @@
-
- Please use device specific builds on WatchOS when building for Debug.
-
-
-
-
- ARM64_32 Debug mode requires --interpreter[=all], forcing it.
-
-
+
+
Unable to parse the cflags '{0} from pkg-config: {1}
@@ -1163,10 +1149,7 @@
-
- Invalid HttpMessageHandler `{0}` for watchOS. The only valid value is NSUrlSessionHandler.
-
-
+
Keeping the dynamic registrar (by passing '--optimize=-remove-dynamic-registrar') is not possible, because the dynamic registrar is not supported when using NativeAOT. Support for dynamic registration will still be removed.
@@ -1326,7 +1309,7 @@
-
+
@@ -2076,7 +2059,7 @@
Did not link with the framework '{0}', because the current {1} SDK does not contain support for this framework in the simulator.
This is a warning explaining why a native framework won't be referenced from the app when building for the simulator. The following are literal names and should not be translated: SDK
{0}: The name of the native framework
- {1}: The current platform (will be either iOS, tvOS, watchOS or macOS).
+ {1}: The current platform (will be either iOS, tvOS, Mac Catalyst or macOS).