Forráskód Böngészése

Remove the outdated import path

Remove the outdated import path.
henryhl22321 2 éve
szülő
commit
c68ff830d7

+ 1 - 1
GoogleSignIn/Sources/GIDHTTPFetcher/API/GIDHttpFetcher.h

@@ -25,7 +25,7 @@ NS_ASSUME_NONNULL_BEGIN
 /// Fetches the data from an URL request.
 ///
 /// @param urlRequest The url request to fetch data.
-/// @param authorizer The object to add authorization to the request.
+/// @param fetcherService The object to add authorization to the request.
 /// @param comment The comment for logging purpose.
 /// @param completion The block that is called on completion asynchronously.
 - (void)fetchURLRequest:(NSURLRequest *)urlRequest

+ 1 - 4
GoogleSignIn/Sources/GIDHTTPFetcher/Implementations/GIDHTTPFetcher.m

@@ -1,10 +1,7 @@
 #import "GoogleSignIn/Sources/GIDHTTPFetcher/Implementations/GIDHTTPFetcher.h"
 
-//#ifdef SWIFT_PACKAGE
 @import GTMAppAuth;
-//#else
-//#import <GTMAppAuth/GTMAppAuth.h>
-//#endif
+
 #import <GTMSessionFetcher/GTMSessionFetcher.h>
 
 NS_ASSUME_NONNULL_BEGIN

+ 1 - 4
GoogleSignIn/Tests/Unit/GIDHTTPFetcherTest.m

@@ -18,11 +18,8 @@
 
 #import <XCTest/XCTest.h>
 
-#ifdef SWIFT_PACKAGE
 @import GTMAppAuth;
-#else
-#import <GTMAppAuth/GTMAppAuth.h>
-#endif
+
 
 static NSString *const kTestURL = @"https://testURL.com";
 static NSString *const kErrorDomain = @"ERROR_DOMAIN";