1- // swift-tools-version:5.5
1+ // swift-tools-version:5.9
22// The swift-tools-version declares the minimum version of Swift required to build this package.
3- // https://developer.apple.com/documentation/xcode/creating_a_standalone_swift_package_with_xcode?language=objc
3+ //
4+ // This file is generated by bin/scripts/megapackage/publish-megapackage.sh.
5+ // Do not edit by hand: edit the template at bin/scripts/megapackage/Package.swift.template
6+ // in the videocloud_agave repository instead.
47
58import PackageDescription
69
7- let BrightcovePlayerSDK = Package (
8- name: " Brightcove Player SDK " ,
10+ let package = Package (
11+ name: " BrightcovePlayerSDK " ,
912 platforms: [
10- . iOS( . v12 ) , . tvOS( . v12 )
13+ . iOS( . v14 ) , . tvOS( . v15 )
1114 ] ,
1215 products: [
1316 . library(
1417 name: " BrightcovePlayerSDK " ,
15- targets: [ " BrightcovePlayerSDK " ] )
18+ targets: [ " BrightcovePlayerSDKWrapper " ] ) ,
19+ . library(
20+ name: " BrightcoveIMA " ,
21+ targets: [ " BrightcoveIMAWrapper " ] ) ,
22+ . library(
23+ name: " BrightcoveDAI " ,
24+ targets: [ " BrightcoveDAIWrapper " ] ) ,
25+ . library(
26+ name: " BrightcoveFW " ,
27+ targets: [ " BrightcoveFWWrapper " ] ) ,
28+ . library(
29+ name: " BrightcoveGoogleCast " ,
30+ targets: [ " BrightcoveGoogleCastWrapper " ] ) ,
31+ . library(
32+ name: " BrightcoveAMC " ,
33+ targets: [ " BrightcoveAMCWrapper " ] ) ,
34+ . library(
35+ name: " BrightcovePulse " ,
36+ targets: [ " BrightcovePulseWrapper " ] ) ,
37+ . library(
38+ name: " BrightcoveSSAI " ,
39+ targets: [ " BrightcoveSSAIWrapper " ] ) ,
40+ . library(
41+ name: " OMSDK_Brightcove " ,
42+ targets: [ " OMSDK_BrightcoveWrapper " ] )
43+ ] ,
44+ dependencies: [
45+ . package (
46+ url: " https://github.com/googleads/swift-package-manager-google-interactive-media-ads-ios.git " ,
47+ . upToNextMinor( from: " 3.26.1 " ) ) ,
48+ . package (
49+ url: " https://github.com/googleads/swift-package-manager-google-interactive-media-ads-tvos.git " ,
50+ . upToNextMinor( from: " 4.16.0 " ) ) ,
51+ . package (
52+ url: " https://github.com/SRGSSR/google-cast-sdk.git " ,
53+ exact: " 4.8.3 " )
1654 ] ,
1755 targets: [
56+ // Binary targets. Each is reached transitively through its wrapper target; none is
57+ // listed directly in a library product's targets: array.
1858 . binaryTarget(
19- name: " BrightcovePlayerSDK " ,
20- path: " xcframework/BrightcovePlayerSDK.xcframework "
21- )
59+ name: " BrightcovePlayerSDK " ,
60+ url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.18/BrightcovePlayerSDK.xcframework.zip " ,
61+ checksum: " 7eebc74065dd7cc77f6ba31953f95b45a2a1301a9bcd0799bc753f50c5ef0745 " ) ,
62+ . binaryTarget(
63+ name: " BrightcoveIMA " ,
64+ url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.18/BrightcoveIMA.xcframework.zip " ,
65+ checksum: " a012653b0e90e99ded3f0bf5683f20c33cf07823618d05c02e48279ec132e447 " ) ,
66+ . binaryTarget(
67+ name: " BrightcoveDAI " ,
68+ url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.18/BrightcoveDAI.xcframework.zip " ,
69+ checksum: " d7ac5956c0992f6505e292ad9a97846d0d5ac178bd29a8b7782364420ff49975 " ) ,
70+ . binaryTarget(
71+ name: " BrightcoveFW " ,
72+ url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.18/BrightcoveFW.xcframework.zip " ,
73+ checksum: " a8d6f4542838a5e03c4b95006cc4541a0cce02a251ba18ade22a3f6857546b44 " ) ,
74+ . binaryTarget(
75+ name: " BrightcoveGoogleCast " ,
76+ url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.18/BrightcoveGoogleCast.xcframework.zip " ,
77+ checksum: " a08bf5076cb6d365d02441be209f2527bbc18434c99d59c15ade8b4563382222 " ) ,
78+ . binaryTarget(
79+ name: " BrightcoveAMC " ,
80+ url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.18/BrightcoveAMC.xcframework.zip " ,
81+ checksum: " 8a579ddd4185e539fd4f52f73774f6a9794d16a5fe2f0c6a875d85a617044680 " ) ,
82+ . binaryTarget(
83+ name: " BrightcovePulse " ,
84+ url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.18/BrightcovePulse.xcframework.zip " ,
85+ checksum: " a979e5cee56a7395a623f4a77247ac65135ea2f8fd6a75639cc398e2c913863e " ) ,
86+ . binaryTarget(
87+ name: " BrightcoveSSAI " ,
88+ url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.18/BrightcoveSSAI.xcframework.zip " ,
89+ checksum: " 71e28947d91458a14ec7902d152dfb8e21461ff885766947f4ffdddb3569f30e " ) ,
90+ . binaryTarget(
91+ name: " OMSDK_Brightcove " ,
92+ url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.18/OMSDK_Brightcove.xcframework.zip " ,
93+ checksum: " c4707409d2764b0f7010f403466132ab8b6d48f00f68a39105a1bc3abf236fa7 " ) ,
94+
95+ // Wrapper targets. Each carries the dependencies and linker settings that the
96+ // matching .binaryTarget cannot declare directly. The library products expose
97+ // only these wrappers.
98+ . target(
99+ name: " BrightcovePlayerSDKWrapper " ,
100+ dependencies: [ " BrightcovePlayerSDK " ] ,
101+ path: " Sources/BrightcovePlayerSDKWrapper " ) ,
102+ . target(
103+ name: " BrightcoveIMAWrapper " ,
104+ dependencies: [
105+ " BrightcoveIMA " ,
106+ " BrightcovePlayerSDKWrapper " ,
107+ . product( name: " GoogleInteractiveMediaAds " ,
108+ package : " swift-package-manager-google-interactive-media-ads-ios " ,
109+ condition: . when( platforms: [ . iOS] ) ) ,
110+ . product( name: " GoogleInteractiveMediaAdsTvOS " ,
111+ package : " swift-package-manager-google-interactive-media-ads-tvos " ,
112+ condition: . when( platforms: [ . tvOS] ) )
113+ ] ,
114+ path: " Sources/BrightcoveIMAWrapper " ) ,
115+ . target(
116+ name: " BrightcoveDAIWrapper " ,
117+ dependencies: [
118+ " BrightcoveDAI " ,
119+ " BrightcovePlayerSDKWrapper " ,
120+ . product( name: " GoogleInteractiveMediaAds " ,
121+ package : " swift-package-manager-google-interactive-media-ads-ios " ,
122+ condition: . when( platforms: [ . iOS] ) ) ,
123+ . product( name: " GoogleInteractiveMediaAdsTvOS " ,
124+ package : " swift-package-manager-google-interactive-media-ads-tvos " ,
125+ condition: . when( platforms: [ . tvOS] ) )
126+ ] ,
127+ path: " Sources/BrightcoveDAIWrapper " ) ,
128+ . target(
129+ name: " BrightcoveFWWrapper " ,
130+ dependencies: [ " BrightcoveFW " , " BrightcovePlayerSDKWrapper " ] ,
131+ path: " Sources/BrightcoveFWWrapper " ,
132+ linkerSettings: [
133+ . linkedLibrary( " xml2 " ) ,
134+ . linkedFramework( " AdSupport " ) ,
135+ . linkedFramework( " CoreLocation " ) ,
136+ . linkedFramework( " MessageUI " , . when( platforms: [ . iOS] ) ) ,
137+ . linkedFramework( " WebKit " , . when( platforms: [ . iOS] ) )
138+ ] ) ,
139+ . target(
140+ name: " BrightcoveGoogleCastWrapper " ,
141+ dependencies: [
142+ " BrightcoveGoogleCast " ,
143+ " BrightcovePlayerSDKWrapper " ,
144+ . product( name: " GoogleCast " , package : " google-cast-sdk " )
145+ ] ,
146+ path: " Sources/BrightcoveGoogleCastWrapper " ) ,
147+ . target(
148+ name: " BrightcoveAMCWrapper " ,
149+ dependencies: [ " BrightcoveAMC " , " BrightcovePlayerSDKWrapper " ] ,
150+ path: " Sources/BrightcoveAMCWrapper " ,
151+ linkerSettings: [
152+ . linkedLibrary( " sqlite3 " ) ,
153+ . linkedFramework( " SystemConfiguration " ) ,
154+ . linkedFramework( " WebKit " )
155+ ] ) ,
156+ . target(
157+ name: " BrightcovePulseWrapper " ,
158+ dependencies: [ " BrightcovePulse " , " BrightcovePlayerSDKWrapper " ] ,
159+ path: " Sources/BrightcovePulseWrapper " ) ,
160+ . target(
161+ name: " BrightcoveSSAIWrapper " ,
162+ dependencies: [ " BrightcoveSSAI " , " BrightcovePlayerSDKWrapper " ] ,
163+ path: " Sources/BrightcoveSSAIWrapper " ) ,
164+ . target(
165+ name: " OMSDK_BrightcoveWrapper " ,
166+ dependencies: [ " OMSDK_Brightcove " ] ,
167+ path: " Sources/OMSDK_BrightcoveWrapper " )
22168 ]
23- )
169+ )
0 commit comments