Set Up macOS for C++ App Development

You.i Platform app development is supported on macOS with C++ for:

  • Amazon Fire TV
  • Android Touch
  • Android TV
  • Apple iOS
  • Apple tvOS
  • Roku with You.i Roku Cloud
  • Samsung TV (Tizen)

macOS is one of the three available development platforms for You.i Platform. See Choose a Development Platform for a complete list of target platforms and associated development platforms.

The instructions below offer a detailed list of mandatory and optional installation components.


Before you get going, there are a few third-party tools to install.

Install Xcode and Xcode Command Line Tools

To develop on macOS, you need Xcode and the Xcode command line tools. You.i Platform release 6.15 supports Xcode version 12.x to 13.x.

You’ll need an Apple Developer ID and signing certificate to use the Xcode IDE. If you don’t have a signing certificate yet, we suggest you create an iOS development certificate. You can use the same certificate for tvOS development. Read a bit more about certificate management in Apple’s Xcode help.

You can install Xcode command line tools from inside Xcode, or from the command line:

xcode-select --install

Other Prerequisites

  • CMake (install the latest 3.19.x release)
    • Add the CMake executable to your PATH by following the instructions found in the menu Tools > How to Install For Command Line Use”.
    • Verify the installation by running cmake --version from your command prompt.
  • node.js (nodejs-lts and the NPM packager) version 12.10 to 12.x
  • Ruby (version 2.0 to 3.x)
    • We suggest you let the installer add the Ruby executables to your PATH. If you choose not to do this, you’ll have to add them manually later.
    • Verify successful installation by running ruby --version from your command prompt.
  • Google Protobuf Ruby Gem (use the latest pre-packaged gem)
  • Watchman (version 4.x or higher)
  • Yarn (version 1.13.x through 1.22.x)

Optional Third-Party Tools and IDEs

The following tools are optional, but most developers need them. We suggest you install them.

Install You.i Platform

Install the You.i TV command line interface tool. Then, using your provided API key, install You.i Platform.

yarn global add youi-cli
youi-tv login    # Enter your API key or user name when prompted.
youi-tv install 6.15.0 # If asked, accept most recent version of Babel or other dependencies

Our CLI comes with a special command, youi-tv doctor, that verifies the availability and versions of third party tools on your system. Use youi-tv doctor to identify any dependency mismatches. Install any missing tools or versions and run doctor again to verify.

What’s Next

Congratulations, you’ve completed the You.i Platform installation for your development platform.

If you’re creating a Roku app, you need to configure environment variables.

Now you can build and generate your first app.