<img src="https://img.shields.io/badge/%20-ENTERPRISE-B10031" style="float:left"/><br /> <img src="https://img.shields.io/badge/iOS-V4-009727?logo=apple" style="float:left"/><br />

To add JWP's video experience to your app, you must import the JWP iOS SDK (app) and then configure your project.

<br />

You can download the SDK using the CocoaPods or Local approaches listed below.

[**CocoaPods**](🔗)• No manual SDK download is required.<br />• Core and optional modules will be added to your app. <br />• Your main project will be modified.
[**Local**](🔗)• SDK must be downloaded and unzipped.<br />• Core and optional modules must be manually added to your app.

<br />

If you have any problems completing any of these tasks and have a valid JWP license, please [log a support ticket](🔗) for assistance.

<br /> <hr />

## CocoaPods

### Install CocoaPods and create a Podfile

  1. At the Terminal prompt, enter `gem install cocoapods` to install CocoaPods.

  2. Enter `cd <path-to-your-project>/<your-project>/` to navigate to your project directory.

  3. Enter `pod init` to create a file named **Podfile**. **Podfile** defines the dependencies for your project.

<br />

### Edit the Podfile

  1. In a text editor, open **Podfile**.

  2. Set the iOS version to `12.0` or greater.

  3. If you are using Objective-C, you can comment out `use_frameworks!`.

  4. Add `JWPlayerKit` as a dependency. To add a specific version of the SDK, be sure to use the proper <a href="https://guides.cocoapods.org/using/the-podfile.html" target="_blank">Podfile syntax</a>.

  5. Save **Podfile** and close the text editor.

<br />

### Install the SDK

  1. At the Terminal prompt of your project directory, enter `pod install` to install the SDK.

  2. Open the **.xcworkspace** file for your project to launch Xcode.

You can now [configure your project](🔗).

<br /> <hr />

## Local

### Download the SDK

  1. On the <a href="" target="_blank"><strong>Players</strong></a> page under **iOS SDK**, click **Downloads**. The **iOS Downloads** screen displays.

  2. In the row of the SDK version to download, click <img src="https://files.readme.io/26aee42-Screen_Shot_2022-07-12_at_10.25.01_PM.png" width="15" height="15" target="_blank"> to download the .zip version to your computer.

  3. On your computer, unzip the SDK .zip file.

<br />

### Import the SDK into your project

  1. From within Xcode, select your project from the project navigator.

  2. Select the target in the left column of the project editor.

  3. Click **General**.

  4. In the **Linked Frameworks and Libraries**, click **+**.

  5. Click **Add Other**.

  6. Select **JWPlayerKit.xcframework** (iOS) from your computer.

  7. Click **Open**.

You can now [configure your project](🔗).

<br />