diff --git a/KalturaPlayer.podspec b/KalturaPlayer.podspec index cfc7b23..ed39fbc 100644 --- a/KalturaPlayer.podspec +++ b/KalturaPlayer.podspec @@ -43,7 +43,7 @@ Pod::Spec.new do |s| sp.resources = 'Sources/OTT/*.xcdatamodeld' sp.dependency 'KalturaPlayer/Core' - sp.dependency 'PlayKitProviders', '~> 1.11' + sp.dependency 'PlayKitProviders', '~> 1.12' sp.dependency 'PlayKitKava', '~> 1.6' end @@ -52,7 +52,7 @@ Pod::Spec.new do |s| sp.resources = 'Sources/OVP/*.xcdatamodeld' sp.dependency 'KalturaPlayer/Core' - sp.dependency 'PlayKitProviders', '~> 1.11' + sp.dependency 'PlayKitProviders', '~> 1.12' sp.dependency 'PlayKitKava', '~> 1.6' end @@ -82,7 +82,7 @@ Pod::Spec.new do |s| sp.resources = 'Sources/OTT/*.xcdatamodeld' sp.dependency 'KalturaPlayer/Offline' - sp.dependency 'PlayKitProviders', '~> 1.11' + sp.dependency 'PlayKitProviders', '~> 1.12' sp.dependency 'PlayKitKava', '~> 1.6' sp.xcconfig = { @@ -99,7 +99,7 @@ Pod::Spec.new do |s| sp.resources = 'Sources/OVP/*.xcdatamodeld' sp.dependency 'KalturaPlayer/Offline' - sp.dependency 'PlayKitProviders', '~> 1.11' + sp.dependency 'PlayKitProviders', '~> 1.12' sp.dependency 'PlayKitKava', '~> 1.6' sp.xcconfig = { diff --git a/Sources/OVP/OVPMediaOptions.swift b/Sources/OVP/OVPMediaOptions.swift index 9021102..3fa8629 100644 --- a/Sources/OVP/OVPMediaOptions.swift +++ b/Sources/OVP/OVPMediaOptions.swift @@ -12,11 +12,13 @@ import PlayKitProviders @objc public var ks: String? @objc public var entryId: String? + @objc public var referenceId: String? @objc public var uiconfId: NSNumber? internal func mediaProvider() -> OVPMediaProvider { let ovpMediaProvider = OVPMediaProvider() ovpMediaProvider.set(entryId: entryId) + ovpMediaProvider.set(referenceId: referenceId) ovpMediaProvider.set(uiconfId: uiconfId) return ovpMediaProvider diff --git a/travis-build.sh b/travis-build.sh index 2dd30dd..8672d81 100755 --- a/travis-build.sh +++ b/travis-build.sh @@ -1,7 +1,5 @@ #!/bin/bash -set -eou pipefail - # Travis aborts the build if it doesn't get output for 10 minutes. keepAlive() { while [ -f $1 ] @@ -15,20 +13,16 @@ buildiOSApp() { echo Building the iOS TestApp cd iOSTestApp pod install - CODE=0 - xcodebuild clean build -workspace iOSTestApp.xcworkspace -scheme iOSTestApp ONLY_ACTIVE_ARCH=NO | tee xcodebuild.log | xcpretty -r html || CODE=$? + xcodebuild clean build -workspace iOSTestApp.xcworkspace -scheme iOSTestApp ONLY_ACTIVE_ARCH=NO -destination 'platform=iOS Simulator,name=iPhone 11' | tee xcodebuild.log | xcpretty -r html && exit ${PIPESTATUS[0]} cd ../ - export CODE } buildtvOSApp() { echo Building the tvOS TestApp cd tvOSTestApp pod install - CODE=0 - xcodebuild clean build -workspace tvOSTestApp.xcworkspace -scheme tvOSTestApp ONLY_ACTIVE_ARCH=NO | tee xcodebuild.log | xcpretty -r html || CODE=$? + xcodebuild clean build -workspace tvOSTestApp.xcworkspace -scheme tvOSTestApp ONLY_ACTIVE_ARCH=NO -destination 'platform=tvOS Simulator,name=Apple TV' | tee xcodebuild.log | xcpretty -r html && exit ${PIPESTATUS[0]} cd ../ - export CODE } libLint() {