|
|
1 yıl önce | |
|---|---|---|
| .. | ||
| DaysUntilBirthday.xcodeproj | 3 yıl önce | |
| DaysUntilBirthdayForPod.xcodeproj | 2 yıl önce | |
| DaysUntilBirthdayUITests(iOS) | 1 yıl önce | |
| Shared | 3 yıl önce | |
| iOS | 3 yıl önce | |
| macOS | 3 yıl önce | |
| Podfile | 2 yıl önce | |
| README.md | 3 yıl önce | |
In the ../Samples/Swift/DaysUntilBirthday/ folder, run the following
CocoaPods command.
pod install
Open the generated workspace:
open DaysUntilBirthdayForPod.xcworkspace
Run the DaysUntilBirthdayForPod (iOS) or DaysUntilBirthdayForPod (macOS)target.
In the ../Samples/Swift/DaysUntilBirthday/ folder, open the project:
open DaysUntilBirthday.xcodeproj
Run the DaysUntilBirthday (iOS) or DaysUntilBirthday (macOS) target.
If you are running the DaysUntilBirthday sample app on macOS, you may see an
error like the below:
Error! Optional(Error Domain=com.google.GIDSignIn Code=-2 "keychain error" UserInfo={NSLocalizedDescription=keychain error})
This error is related to the signing of the sample app. You have two choices to remedy the problem.
DaysUntilBirthday (macOS) target as a workaround.We run integration tests on the DaysUntilBirthday(iOS) sample app.
These tests attempt to login via Google Sign-in, and so they need an email and
a password.
The email and password that we use are defined as
secrets
on our GitHub repo, and we retrieve these from the workflow environment.
Locally, both the email and password need to be passed to xcodebuild as
arguments: xcodebuild <other args> EMAIL_SECRET=... PASSWORD_SECRET=....
Refer to the repo's Secrets for these values.