@@ -127,15 +127,21 @@ @interface GTMAppAuthFetcherAuthorizationWithEMMSupport : GTMAppAuthFetcherAutho
127127
128128@implementation GTMAppAuthFetcherAuthorizationWithEMMSupport
129129
130+ #pragma clang diagnostic push
131+ #pragma clang diagnostic ignored "-Wdeprecated-implementations"
130132- (void )authorizeRequest : (nullable NSMutableURLRequest *)request
131133 delegate : (id )delegate
132134 didFinishSelector : (SEL )sel {
135+ #pragma clang diagnostic pop
133136 GTMAppAuthFetcherAuthorizationEMMChainedDelegate *chainedDelegate =
134137 [[GTMAppAuthFetcherAuthorizationEMMChainedDelegate alloc ] initWithDelegate: delegate
135138 selector: sel];
139+ #pragma clang diagnostic push
140+ #pragma clang diagnostic ignored "-Wdeprecated-declarations"
136141 [super authorizeRequest: request
137142 delegate: chainedDelegate
138143 didFinishSelector: @selector (authentication:request:finishedWithError: )];
144+ #pragma clang diagnostic pop
139145}
140146
141147- (void )authorizeRequest : (nullable NSMutableURLRequest *)request
@@ -206,7 +212,10 @@ - (NSString *)emmSupport {
206212
207213#pragma mark - Public methods
208214
215+ #pragma clang diagnostic push
216+ #pragma clang diagnostic ignored "-Wdeprecated-declarations"
209217- (id <GTMFetcherAuthorizationProtocol>)fetcherAuthorizer {
218+ #pragma clang diagnostic pop
210219#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
211220 GTMAppAuthFetcherAuthorization *authorization = self.emmSupport ?
212221 [[GTMAppAuthFetcherAuthorizationWithEMMSupport alloc ] initWithAuthState: _authState] :
0 commit comments