---
id: mac-getting-started
title: Getting Started
slug: /cppsdk/macos/getting-started
sidebar_position: 0
custom_edit_url: https://github.com/modio/modio-sdk-internal/blob/develop/platform/macos/doc/getting-started.mdx
---

# Getting Started

## mod.io MacOS SDK Integration

The use of MacOS with the mod.io SDK is ready by default. You can find the `macos`` directory in the platform subdirectory of your SDK installation.
You can then target `MACOS` to compile the mod.io SDK for MacOS SDK.

## MacOS SDK Versions

The mod.io SDK is built and tested against MacOS using XCode v14 & v15.1. Using different versions of the MacOS SDK may result in compilation issues.

In MacOS, the default way to compile the mod.io SDK requires CMake, which you can install following the [CMake](https://cmake.org/download/) instructions or using a package manager like `brew`:

```cmake
brew install cmake ninja
```

NOTE: You can use Ninja or XCode as project generators. The former works like any other C++ project. The later will create a `.xcodeproj` file in the designated output folder.


## macOS Dependencies

The mod.io SDK for development on macOS / iOS requires Clang 10 or GCC 10 or later, which come included in the XCode installation. XCode 14 or later is recommended. To install CMake 3.20 or Ninja 1.10, it is recommended to use [brew](https://brew.sh) as follows:

```bash
brew install cmake ninja
```

The minimum deployment target is macOS 12.0. 