Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit fe48535

Browse files
Maxadorrnystrom
authored andcommitted
Add steps in the setup to avoid commiting env variables to the repo (#2262)
1 parent 0f533a3 commit fe48535

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Setup.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,14 @@ You will be redirected to the application page where you can access your Client
3434
To add the Client ID and Client Secret to the App, follow these steps:
3535

3636
1. In Xcode, go to `Product` (in the Menu bar) > `Scheme` > `Manage Schemes...`
37-
2. Select `Freetime-AppCenter` and click `Edit...`
38-
3. Go to `Run` > `Arguments`
39-
4. Add your Client ID (`GITHUB_CLIENT_ID` as key) and Client Secret (`GITHUB_CLIENT_SECRET`) to the Environment Variables.
40-
37+
2. Select `Freetime-AppCenter` and click the cog.
38+
3. Click on `Duplicate`.
39+
4. Uncheck the `Shared` checkbox.
40+
5. Select `Copy of Freetime-AppCenter` and click on `Edit...`
41+
6. Go to `Run` > `Arguments`
42+
7. Add your Client ID (`GITHUB_CLIENT_ID` as key) and Client Secret (`GITHUB_CLIENT_SECRET`) to the Environment Variables.
43+
44+
The copy of the scheme is to avoid commiting your private environement variable to the repository.
4145

4246
## 4. Setting up code-signing (With automatic code-signing)
4347

0 commit comments

Comments
 (0)