1- // swift-tools-version:5.9
1+ // swift-tools-version:5.5
22// The swift-tools-version declares the minimum version of Swift required to build this package.
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.
3+ // https://developer.apple.com/documentation/xcode/creating_a_standalone_swift_package_with_xcode?language=objc
74
85import PackageDescription
96
10- let package = Package (
11- name: " BrightcovePlayerSDK " ,
7+ let BrightcovePlayerSDK = Package (
8+ name: " Brightcove Player SDK " ,
129 platforms: [
13- . iOS( . v14 ) , . tvOS( . v15 )
10+ . iOS( . v12 ) , . tvOS( . v12 )
1411 ] ,
1512 products: [
1613 . library(
1714 name: " 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 " )
15+ targets: [ " BrightcovePlayerSDK " ] )
5416 ] ,
5517 targets: [
56- // Binary targets. Each is reached transitively through its wrapper target; none is
57- // listed directly in a library product's targets: array.
5818 . binaryTarget(
59- name: " BrightcovePlayerSDK " ,
60- url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/BrightcovePlayerSDK.xcframework.zip " ,
61- checksum: " f7fc36412ce7042fd2133dc9f68a25e36fb899645a8f2ec59fc91b70aeaf63c5 " ) ,
62- . binaryTarget(
63- name: " BrightcoveIMA " ,
64- url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/BrightcoveIMA.xcframework.zip " ,
65- checksum: " 8c9f4051088d2271dee0ebeb611ac3f8c52610150390e92f9b8f99e1780ee074 " ) ,
66- . binaryTarget(
67- name: " BrightcoveDAI " ,
68- url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/BrightcoveDAI.xcframework.zip " ,
69- checksum: " 51eaf70d2ac905802823b737e084b59412dc556d30f4c4669fdbedd021a971c9 " ) ,
70- . binaryTarget(
71- name: " BrightcoveFW " ,
72- url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/BrightcoveFW.xcframework.zip " ,
73- checksum: " 9122a80d72b1b0a9d597bdf1ee3d62c848ca060b80ba562001b8f35addb339b5 " ) ,
74- . binaryTarget(
75- name: " BrightcoveGoogleCast " ,
76- url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/BrightcoveGoogleCast.xcframework.zip " ,
77- checksum: " 862b865e0931a4d8485e12ebc38b03a3109dbc0be5334cd68e6ef2986074e7b2 " ) ,
78- . binaryTarget(
79- name: " BrightcoveAMC " ,
80- url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/BrightcoveAMC.xcframework.zip " ,
81- checksum: " 7185e9f765af991d509d77ea5188695c0909993e1c0557bf591e3d94485965db " ) ,
82- . binaryTarget(
83- name: " BrightcovePulse " ,
84- url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/BrightcovePulse.xcframework.zip " ,
85- checksum: " 519d1505beb9ce3745832c182a6c71fca9e7d4c2f19bba730c9dfc23ec7d3b72 " ) ,
86- . binaryTarget(
87- name: " BrightcoveSSAI " ,
88- url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/BrightcoveSSAI.xcframework.zip " ,
89- checksum: " 89e45e85afadbf6b548aa10511846bd3c6d1ab7cb90d50837515eee5f84dd05d " ) ,
90- . binaryTarget(
91- name: " OMSDK_Brightcove " ,
92- url: " https://github.com/brightcove/brightcove-player-sdk-ios/releases/download/v7.2.19/OMSDK_Brightcove.xcframework.zip " ,
93- checksum: " 789a15163204f3bea14208901e004c3298e5dcc43586e92199409bb7c83b75b1 " ) ,
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 " )
19+ name: " BrightcovePlayerSDK " ,
20+ path: " xcframework/BrightcovePlayerSDK.xcframework "
21+ )
16822 ]
169- )
23+ )
0 commit comments