Environment Setup

Let’s get your development environment configured with all the dependencies required for creating You.i Platform apps.

Common Prerequisites

Regardless of your choice of development platform—MacOS, Linux or Windows—you’ll need to install common prerequisites. See Hardware and Software Specifications for more details.

Once installed, update your PATH variable to include the newly installed packages as appropriate.

Optional Third-Party Tools

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

  • React Native CLI. Make sure to choose React Native CLI Quickstart.
  • VLC is needed only if you’re using a video player in a You.i React Native project.
  • Python can also be used (Roku - 3.x, other target platforms - latest)

To verify your path is updated to each version of these libraries, open a terminal or Windows command prompt and enter the following one by one:

vlc --version
python --version

macOS Prerequisites

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

Linux Prerequisites

Linux Optional Third-Party Tools

If you’re using VirtualBox to run a Linux guest on a macOS or Windows host, you must install the DKMS package, which allows resolution scaling.

sudo apt-get install virtualbox-guest-dkms

Install GLES rendering libraries to render 2D and 3D graphics.

sudo apt-get install xorg-dev libglu1-mesa-dev libxml2-dev
sudo apt-get install libegl1-mesa-dev libgles2-mesa-dev

Windows Prerequisites

If you are developing on Windows, the instructions below offer a detailed list of mandatory and optional installation components.

If prompted with a Windows Security alert, allow access.

Windows Optional Third-Party Tools and IDEs

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

  • Visual Studio 2019, with the following options:
    • Universal Windows Platform development
    • Desktop development with C++
    • C++/CLI Support
    • Windows 10 SDK (10.0.16299.0) for Desktop C++ or later
  • VLC (64-bit) is needed only if you’re using a video player in a You.i C++ project.
    • Create an environment variable called VLC_PLUGIN_PATH that points to your VideoLAN\VLC\plugins folder. (The default folder is C:\Program Files\VideoLAN\VLC\plugins.)
    • Edit your PATH environment variable and append both the above mentioned plugins folder and the parent VLC folder.