Building the SDK for macOS¶
This section includes instructions for building and packaging the SDK for macOS systems as discussed next:
- Open a Terminal window and change directory to the root of the unpacked
pcoip_client_sdk*.<rev_info>
package. - Using a text editor, add the following line to ~/.bash_profile:
export LOCAL_THIRD_PARTY=<full path to root of the third party libraries>
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.
- Open the
./build/client.xcodeproj
project file in Xcode. - 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.