Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/theoplayer/theolive-sdk-ios


https://github.com/theoplayer/theolive-sdk-ios

Last synced: 15 days ago
JSON representation

Awesome Lists containing this project

README

        

# THEOliveSDK

## Add dependency using SPM

Add a `dependencies` clause to your `Package` and `targets` in the `Package.swift` manifest

```swift
// swift-tools-version:5.9
import PackageDescription

let package = Package(
name: "MyPackage",
dependencies: [
.package(
url: "https://github.com/THEOplayer/theolive-sdk-ios",
.upToNextMinor(from: "3.18.6") // or `.upToNextMajor
)
],
targets: [
.target(
name: "MyTarget",
dependencies: [
.product(name: "THEOliveSDK", package: "theolive-sdk-ios")
]
)
]
)
```

## Add dependency using CocoaPods

- Create a Podfile if you don't already have one. From the root of your project directory, run the following command: `pod init`
- Add `THEOliveSDK` as a dependency in your Podfile: `pod 'THEOliveSDK'`
- Install the pods using `pod install` , then open your `.xcworkspace` file to see the project in Xcode.