You.i Platform app development is supported on macOS with C++ for:
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.
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
PATH
by following the instructions found in the menu Tools > How to Install For Command Line Use”.cmake --version
from your command prompt.nodejs-lts
and the NPM packager) version 12.10 to 12.xruby --version
from your command prompt.The following tools are optional, but most developers need them. We suggest you install them.
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.
If you’re not planning to develop for a given platform, don’t worry too much about its requirements for now.
Just remember the youi-tv doctor
command and run it again if you expand your target platforms.
You can always use youi-tv doctor --help
to get more information about doctor.
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.