diff --git a/GoogleSignIn/Sources/GIDSignInStrings.m b/GoogleSignIn/Sources/GIDSignInStrings.m index 23dc9446..364a1dd5 100644 --- a/GoogleSignIn/Sources/GIDSignInStrings.m +++ b/GoogleSignIn/Sources/GIDSignInStrings.m @@ -31,6 +31,9 @@ @implementation GIDSignInStrings + (nullable NSString *)localizedStringForKey:(NSString *)key text:(NSString *)text { NSBundle *frameworkBundle = [NSBundle gid_frameworkBundle]; + if (frameworkBundle == nil) { + return text; + } return [frameworkBundle localizedStringForKey:key value:text table:kStringsTableName]; }