Skip to content

Building the SDK for macOS

This section includes instructions for building and packaging the SDK for macOS systems as discussed next:

  1. Open a Terminal window and change directory to the root of the unpacked pcoip_client_sdk*.<rev_info> package.
  2. Using a text editor, add the following line to ~/.bash_profile:

export LOCAL_THIRD_PARTY=<full path to root of the third party
libraries>
This adds an environment variable called LOCAL_THIRD_PARTY and points it to the third party libraries.

Run ./gencmake.py.

This will invoke CMake and generate the required Xcode files.

File Permissions

You may need to change the file permissions on gencmake.py in order to run it.

  1. Open the ./build/client.xcodeproj project file in Xcode.
  2. Build the project. For a debugging build, use ALL_BUILD > My Mac (64-bit). For a release build, use Xcode Menu > Product > Build For > Profiling.