File tree Expand file tree Collapse file tree
Samples/Swift/DaysUntilBirthday
DaysUntilBirthday.xcodeproj Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -560,7 +560,7 @@ - (instancetype)initWithKeychainStore:(GTMKeychainStore *)keychainStore {
560560 initWithAuthorizationEndpoint: [NSURL URLWithString: authorizationEnpointURL]
561561 tokenEndpoint: [NSURL URLWithString: tokenEndpointURL]];
562562 _keychainStore = keychainStore;
563- // Perform migration of auth state from old (before 5.0) versions of the SDK if needed.
563+ // Perform migration of auth state from old versions of the SDK if needed.
564564 GIDAuthStateMigration *migration =
565565 [[GIDAuthStateMigration alloc ] initWithKeychainStore: _keychainStore];
566566 [migration migrateIfNeededWithTokenURL: _appAuthConfiguration.tokenEndpoint
Original file line number Diff line number Diff line change @@ -135,6 +135,8 @@ - (void)testMigrateIfNeeded_NoPreviousMigration {
135135 [[[_mockUserDefaults expect ] andReturnValue: @NO ] boolForKey: kMigrationCheckPerformedKey ];
136136 [[_mockUserDefaults expect ] setBool: YES forKey: kMigrationCheckPerformedKey ];
137137
138+ [[_mockGTMKeychainStore expect ] saveAuthSession: OCMOCK_ANY error: OCMArg.anyObjectRef];
139+
138140#if TARGET_OS_OSX || TARGET_OS_MACCATALYST
139141 [[[_mockGTMKeychainStore expect ] andReturn: kKeychainName ] itemName ];
140142 OIDAuthState *authState = [OIDAuthState testInstance ];
@@ -146,10 +148,8 @@ - (void)testMigrateIfNeeded_NoPreviousMigration {
146148 [self setUpCommonExtractAuthorizationMocksWithFingerPrint: kSavedFingerprint ];
147149#endif
148150
149- [[_mockGTMKeychainStore expect ] saveAuthSession: OCMOCK_ANY error: OCMArg.anyObjectRef];
150-
151151 GIDAuthStateMigration *migration =
152- [[GIDAuthStateMigration alloc ] initWithKeychainStore: _mockGTMKeychainStore];
152+ [[GIDAuthStateMigration alloc ] initWithKeychainStore: _mockGTMKeychainStore];
153153 [migration migrateIfNeededWithTokenURL: [NSURL URLWithString: kTokenURL ]
154154 callbackPath: kCallbackPath
155155 keychainName: kKeychainName
Original file line number Diff line number Diff line change 33 archiveVersion = 1;
44 classes = {
55 };
6- objectVersion = 54 ;
6+ objectVersion = 52 ;
77 objects = {
88
99/* Begin PBXBuildFile section */
663663 COMBINE_HIDPI_IMAGES = YES;
664664 CURRENT_PROJECT_VERSION = 1;
665665 DEVELOPMENT_ASSET_PATHS = "\"macOS/Preview Content\"";
666- DEVELOPMENT_TEAM = V5B29DAW4U ;
666+ DEVELOPMENT_TEAM = "" ;
667667 ENABLE_PREVIEWS = YES;
668668 GENERATE_INFOPLIST_FILE = YES;
669669 INFOPLIST_FILE = macOS/Info.plist;
674674 );
675675 MACOSX_DEPLOYMENT_TARGET = 12.0;
676676 MARKETING_VERSION = 1.0;
677- PRODUCT_BUNDLE_IDENTIFIER = Google.camdenking. DaysUntilBirthdayOnMac;
677+ PRODUCT_BUNDLE_IDENTIFIER = Google.DaysUntilBirthdayOnMac;
678678 PRODUCT_NAME = "$(TARGET_NAME)";
679679 PROVISIONING_PROFILE_SPECIFIER = "";
680680 SDKROOT = macosx;
695695 COMBINE_HIDPI_IMAGES = YES;
696696 CURRENT_PROJECT_VERSION = 1;
697697 DEVELOPMENT_ASSET_PATHS = "\"macOS/Preview Content\"";
698- DEVELOPMENT_TEAM = V5B29DAW4U ;
698+ DEVELOPMENT_TEAM = "" ;
699699 ENABLE_PREVIEWS = YES;
700700 GENERATE_INFOPLIST_FILE = YES;
701701 INFOPLIST_FILE = macOS/Info.plist;
706706 );
707707 MACOSX_DEPLOYMENT_TARGET = 12.0;
708708 MARKETING_VERSION = 1.0;
709- PRODUCT_BUNDLE_IDENTIFIER = Google.camdenking. DaysUntilBirthdayOnMac;
709+ PRODUCT_BUNDLE_IDENTIFIER = Google.DaysUntilBirthdayOnMac;
710710 PRODUCT_NAME = "$(TARGET_NAME)";
711711 PROVISIONING_PROFILE_SPECIFIER = "";
712712 SDKROOT = macosx;
Original file line number Diff line number Diff line change 1515 </array >
1616 </dict >
1717 </array >
18- <key >GIDClientID </key >
19- <string >687389107077-8qr6dh8fr4uaja89sdr5ieqb7mep04qv.apps.googleusercontent.com </string >
18+ <!-- Do not use this client ID in your own app, it will only work for this sample. -->
19+ <key >GIDClientID </key >
20+ <string >687389107077-8qr6dh8fr4uaja89sdr5ieqb7mep04qv.apps.googleusercontent.com </string >
2021</dict >
2122</plist >
You can’t perform that action at this time.
0 commit comments