## Setup using SPM

1. Open the **SPMDemo.xcodeproj** project in Xcode.  
2. By default, Xcode fetches the latest release of **PRESTOplay SDK** package from [prestoplay-apple-spm](https://github.com/castlabs/prestoplay-apple-spm).  
   - To use a specific version:  
     - In the navigation panel, go to **SPMDemo** > project **SPMDemo** > **Package Dependencies**.  
     - Select PRESTOplaySDK package, set **Dependency Rule** to *Exact Version* and enter the desired version (e.g., `4.0.15`).  
     - Wait for Xcode to resolve the package.  
3. Add your license key in `AppDelegate.swift`.  
4. Build and run the project.  


![Select SPM dependency version on Xcode](./spm_package_version_select.png)