Install FastPix iOS player

Learn how to add the FastPix iOS Player SDK to your Xcode project using Swift Package Manager.

The FastPix iOS Player SDK lets you add video playback to your iOS app. It supports both live and on-demand streaming, and integrates directly into native iOS workflows. You can find the source code in the FastPix iOS player GitHub repository.

Before you begin

Make sure you have:

Add the SDK with Swift Package Manager

  1. Open your project in Xcode.
  2. In the Xcode menu bar, go to File > Add Packages.
  3. In the search field at the top-right corner, enter the SDK repository URL: https://github.com/FastPix/iOS-player
  4. Choose a Dependency Rule to control how Xcode handles SDK updates. By default, Xcode pulls the latest version from the main branch. You can specify a particular version or set a range of compatible versions.
  5. Click Add Package.

Import the SDK

After installing the SDK, import it into the Swift files where you need video playback.

  1. Open the Swift file where you want to use the SDK (for example, ViewController.swift).
  2. Add the following import statement at the top of the file:
1import FastPixPlayerSDK

After importing, you can access all the classes, methods, and features provided by the SDK.

What’s next

iOS player guides

Explore what you can do with the iOS player after installing it.

Getting started

Playback

Player UI

Advanced features

Platforms

Examples