Creating a bot using an Xcode Project
Are you on macOS and want to develop with Xcode? These instructions are for you!
Last updated
Are you on macOS and want to develop with Xcode? These instructions are for you!
Last updated
Latest version of Xcode (14.1
as of writing)
Open Xcode. You'll be greeted with the following window if no project was open the last time Xcode was closed.
Click on the Create a new Xcode project action
In the window that appears, double-click on the Command Line Tool template under the macOS tab
Choose a name for your project, and click Next I'd recommend choosing a name following the UpperCamelCase convention
Choose a place to store your project, preferably in a folder dedicated to Xcode projects, and check the Create Git repository on my Mac option if you'd like to place your project under source control
Finally, press the Create button, and your newly-created Xcode project should open in a few moments!
Want to see how your project should look after each page? I've created a GitHub repository containing an Xcode project that I made following these instructions. Below each page is a link to a specific branch in the repository, containing a snapshot of how my files looked after each step.