CONNECT Player SDK 5 for Apple (FPS)
5.14.x 5.13.x 5.12.x 5.11.x 5.10.x 5.9.x 5.8.x 5.7.x 5.6.x 5.5.x 5.4.x 5.3.x 5.2.x 5.1.x 5.0.x
5.14.x 5.13.x 5.12.x 5.11.x 5.10.x 5.9.x 5.8.x 5.7.x 5.6.x 5.5.x 5.4.x 5.3.x 5.2.x 5.1.x 5.0.x

Simulator support

The Player SDK is built with simulator support to enable you to build and test against an Xcode simulator. When doing so, create a FAT framework (iOS and simulator in one library). This sometimes means when building, you may need to remove arm64 support when building for a simulator. 

Excluding simulator support

To exclude the arm64 libraries when building for a simulator:

  1. Go to Build Settings and locate Excluded Architectures.

  2. Select Any iOS Simulator SDK for both Debug and Release and set them to exclude arm64.
    Screenshot 2021-08-19 at 11.29.04.png

  3. You should also set the build flag Validate workspace to Yes as shown below.

    image2021-8-20_12-48-51.png

  4. Repeat the process for tvOS but select Any tvOS Simulator SDK’ for both Debug and Release.