This template comes with Xcode build/run support as highlighted in this Ren'Py/Xcode tutorial: https://marquiskurt.net/2019/06/09/post.html.
However, before running the project, there are a few things that must be configured to ensure that it runs properly.
In Config.xcconfig, change the RENPY_TOOL
line to where Ren'Py is installed. For example:
// Change the line below to reflect where your Ren'Py install is!
//RENPY_TOOL=/some/renpy/location/renpy.sh
RENPY_TOOL=/Applications/renpy-6.99.12.4-sdk/renpy.sh
- In the Xcode toolbar, click where it says "DDLCModTemplate > My Mac" and click "Edit Scheme".
- In the Info pane under the 'Run' section, click on the Executable field and select "Other".
- A file dialog should pop up; navigate to where Ren'Py is installed and select
renpy.app
.
When you have made these changes and added the appropriate DDLC files needed to run the template normally, click the Play button or press Command+R on your keyboard to test the build/run procedure.
If you are still receiving problems, follow the tutorial and check to make sure the project's settings are in the correct places.