Skip to content

Commit 33fa78a

Browse files
author
Cynthia Jiang
committed
Tweak the comments
1 parent b9c35c4 commit 33fa78a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

auth/src/ios/credential_ios.mm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ @implementation PhoneListenerDataObjC
169169
/**
170170
Linking GameKit.framework without using it on macOS results in App Store rejection.
171171
Thus we don't link GameKit.framework to our SDK directly. `optionalLocalPlayer` is used for
172-
checking whether the APP that consuming our SDK has linked GameKit.framework. If not, a
173-
`GameKitNotLinkedError` will be raised.
172+
checking whether the APP that consuming our SDK has linked GameKit.framework. If not, will
173+
complete with kAuthErrorInvalidCredential error.
174174
**/
175175
GKLocalPlayer *_Nullable optionalLocalPlayer = [[NSClassFromString(@"GKLocalPlayer") alloc] init];
176176

@@ -207,8 +207,8 @@ @implementation PhoneListenerDataObjC
207207
/**
208208
Linking GameKit.framework without using it on macOS results in App Store rejection.
209209
Thus we don't link GameKit.framework to our SDK directly. `optionalLocalPlayer` is used for
210-
checking whether the APP that consuming our SDK has linked GameKit.framework. If not, a
211-
`GameKitNotLinkedError` will be raised.
210+
checking whether the APP that consuming our SDK has linked GameKit.framework. If not,
211+
early out.
212212
**/
213213
GKLocalPlayer *_Nullable optionalLocalPlayer = [[NSClassFromString(@"GKLocalPlayer") alloc] init];
214214
// If the GameKit Framework isn't linked - early out.

0 commit comments

Comments
 (0)