- Warning
- This tutorial expects you to have installed D++ via homebrew. If you haven't, please visit Installing from Homebrew (OSX).
To create a bot with Xcode, follow the steps below to create a working skeleton project you can build upon.
- Make sure you have Xcode downloaded, along with the developer command tools (for AppleClang).
- Clone the template project. Make sure you download the entire project and not just the .cpp file.
- Open Xcode, hit "Open Existing Project" or "File"->"Open", navigate to the template folder and open the .xcodeproj file. You can also double click the file in Finder.
- Replace "add your token here" with your bot's token in the "main" file.
- Click the run button to compile and run your bot!
- Observe the output and watch your bot run! You may get warnings in this stage and that's okay!
Troubleshooting