From 87ad6f4676b9d2b53e32913ad584647d924422f7 Mon Sep 17 00:00:00 2001 From: dmaclach Date: Wed, 14 Nov 2018 08:21:38 -0800 Subject: Add deprecation markings on GTMServiceManagement. (#207) Apple has deprecated ServiceManagment as of macOS 10.10 and iOS 8.0. --- Foundation/GTMServiceManagementTest.m | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Foundation/GTMServiceManagementTest.m') diff --git a/Foundation/GTMServiceManagementTest.m b/Foundation/GTMServiceManagementTest.m index 79881f3..80d3f3c 100644 --- a/Foundation/GTMServiceManagementTest.m +++ b/Foundation/GTMServiceManagementTest.m @@ -33,6 +33,10 @@ static NSString const *kGTMSocketKey static NSString const *kGTMSocketName = @"GTMServiceManagementTesting"; +#pragma clang diagnostic push +// Ignore all of the deprecation warnings for GTMServiceManagement +#pragma clang diagnostic ignored "-Wdeprecated-declarations" + @interface GTMServiceManagementTest : GTMTestCase @end @@ -215,4 +219,6 @@ static NSString const *kGTMSocketName @end +#pragma clang diagnostic pop + #endif // if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4 -- cgit v1.2.3