Skip to content

Commit

Permalink
docs: fixed images, corrected URL for template
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaskowicz1 committed Dec 3, 2023
1 parent bd83ca1 commit 663767b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docpages/make_a_bot/xcode.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ To create a bot with Xcode, follow the steps below to create a *working skeleton
\note Since the brew package for D++ only supports C++17, you can't use coro with this project. If you wish to use coro, you need to \ref buildosx "build from source". If you do build from source, look to replace the include and library paths in this project to `/usr/local/include` and `/usr/local/lib`.

1. Make sure you have Xcode downloaded, along with the developer command tools (for AppleClang).
2. Clone the [template project](https://github.com/brainboxdotcc/mac-bot-template/). **Make sure you download the entire project and not just the .cpp file.**
2. Clone the [template project](https://github.com/Jaskowicz1/mac-bot-template/). **Make sure you download the entire project and not just the .cpp file.**
3. 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.
4. Replace "add your token here" with your bot's token in the "main" file.
\image html xcode_token
\image html xcode_token.png
5. Click the run button to compile and run your bot!
\image html xcode_run
\image html xcode_run.png
6. Observe the output and watch your bot run! You may get warnings in this stage and that's okay!
\image html xcode_output
\image html xcode_output.png

## Troubleshooting

Expand Down

0 comments on commit 663767b

Please sign in to comment.