Skip to content

Commit 3f5d11e

Browse files
committed
Updates for Xcode 16.
1 parent 3e69792 commit 3f5d11e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.readme-images/edit-scheme.png

-302 KB
Loading

LOCAL_DEVELOPMENT_SETUP.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ It is not possible to run the [build system](https://blog.swiftpackageindex.com/
88

99
### Setup the Back End
1010

11-
Once you have the project cloned locally, the `Makefile` defines a set of useful commands to get you up and running.
12-
1311
Ensure that the latest version of Xcode is "selected" and not the command line tools. You can check this with `xcode-select -p` and set it with `xcode-select -s`.
1412

13+
Once you have the project cloned locally, the `Makefile` defines a set of useful commands to get you up and running.
14+
1515
You'll need some environment variables configured before you can run the project. There are template files in the repository as `.env.testing.template` and `.env.development.template` and your first step should be to copy these files as `.env.testing` and `.env.development` and review their content in case your setup deviates from the default.
1616

1717
Then, to create Postgres databases in Docker for your development and test environments, run:
@@ -26,9 +26,9 @@ Then, to set up the schema and migrate the database to the latest version, run:
2626
make migrate
2727
```
2828

29-
Then, either run `make run` to start the server, or in most situations, you'll find working with Xcode easier at this stage. Open the project with Xcode and open the Product menu, select "Scheme" and "Manage Schemes…".
29+
Then, either run `make run` to start the server, or in most situations, you'll find working with Xcode easier. Open the project with Xcode and open the Product menu, select "Scheme" and "Manage Schemes…".
3030

31-
Select the "SPI-Server" scheme and click the "Edit…" button. Select the "Run" scheme action from the source list and switch to the "Options" tab. Find the "Working Directory" setting and tick "Use a custom working directory:", then select the directory where you have your working copy of the project.
31+
Select the "SPI-Server-Package" scheme and click the "Edit…" button. Select the "Run" scheme action from the source list and on the "Info" tab, set the "Executable" to "Run". Then, switch to the "Options" tab. Find the "Working Directory" setting and tick "Use a custom working directory:", then select the directory where you have your checked out copy of the project.
3232

3333
![A screenshot of Xcode showing the Edit Scheme window with the Run scheme action selected.](.readme-images/edit-scheme.png)
3434

0 commit comments

Comments
 (0)