Skip to content

Commit 725cc3f

Browse files
authored
Update DaysUntilBirthday instructions for macOS sample (#216)
1 parent 62b7223 commit 725cc3f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Samples/Swift/DaysUntilBirthday/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,25 @@ open DaysUntilBirthday.xcodeproj
2626
```
2727
2. Run the `DaysUntilBirthday (iOS)` or `DaysUntilBirthday (macOS)` target.
2828

29+
## A Note on running the macOS Sample
30+
31+
If you are running the `DaysUntilBirthday` sample app on macOS, you may see an
32+
error like the below:
33+
34+
```
35+
Error! Optional(Error Domain=com.google.GIDSignIn Code=-2 "keychain error" UserInfo={NSLocalizedDescription=keychain error})
36+
```
37+
38+
This error is related to the signing of the sample app.
39+
You have two choices to remedy the problem.
40+
41+
1. We suggest that you manually manage the signing of the macOS sample app so
42+
that you can provide a provisioning profile. Make sure to select a profile
43+
that is able to sign macOS apps.
44+
2. If you do not have the correct provisioning profile, and are unable to
45+
generate one, then you can add the ["Keychain Sharing" capability](https://developer.apple.com/documentation/xcode/configuring-keychain-sharing)
46+
to the `DaysUntilBirthday (macOS)` target as a workaround.
47+
2948
## Integration Tests
3049

3150
We run integration tests on the `DaysUntilBirthday(iOS)` sample app.

0 commit comments

Comments
 (0)