We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0400d7b + 4d94ec7 commit fa374bfCopy full SHA for fa374bf
2 files changed
GoogleSignIn/Sources/GIDSignInStrings.m
@@ -31,6 +31,9 @@ @implementation GIDSignInStrings
31
32
+ (nullable NSString *)localizedStringForKey:(NSString *)key text:(NSString *)text {
33
NSBundle *frameworkBundle = [NSBundle gid_frameworkBundle];
34
+ if (frameworkBundle == nil) {
35
+ return text;
36
+ }
37
return [frameworkBundle localizedStringForKey:key value:text table:kStringsTableName];
38
}
39
GoogleSignIn/Sources/Public/GoogleSignIn/GoogleSignIn.h
@@ -13,11 +13,7 @@
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
-#import <TargetConditionals.h>
17
-
18
-#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
19
#import "GIDAppCheckError.h"
20
-#endif
21
#import "GIDConfiguration.h"
22
#import "GIDGoogleUser.h"
23
#import "GIDProfileData.h"
0 commit comments