Skip to content

Commit fa374bf

Browse files
authored
Merge branch 'main' into dependabot/bundler/bundler-6d4d941ed1
2 parents 0400d7b + 4d94ec7 commit fa374bf

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

GoogleSignIn/Sources/GIDSignInStrings.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ @implementation GIDSignInStrings
3131

3232
+ (nullable NSString *)localizedStringForKey:(NSString *)key text:(NSString *)text {
3333
NSBundle *frameworkBundle = [NSBundle gid_frameworkBundle];
34+
if (frameworkBundle == nil) {
35+
return text;
36+
}
3437
return [frameworkBundle localizedStringForKey:key value:text table:kStringsTableName];
3538
}
3639

GoogleSignIn/Sources/Public/GoogleSignIn/GoogleSignIn.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
#import <TargetConditionals.h>
17-
18-
#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
1916
#import "GIDAppCheckError.h"
20-
#endif
2117
#import "GIDConfiguration.h"
2218
#import "GIDGoogleUser.h"
2319
#import "GIDProfileData.h"

0 commit comments

Comments
 (0)