1- // swift-tools-version: 5.7
1+ // swift-tools-version: 5.10
22// The swift-tools-version declares the minimum version of Swift required to build this package.
3- // swift-module-flags: -target arm64-apple-ios14.0
43
54import PackageDescription
65
76let package = Package (
87 name: " StreamLayer " ,
98 platforms: [
10- . iOS( . v14)
9+ . iOS( . v14) , . tvOS ( . v15 )
1110 ] ,
1211 products: [
13- . library( name: " StreamLayer " , targets: [ " StreamLayer " ] )
12+ . library( name: " StreamLayer " , targets: [ " StreamLayer " ] ) ,
13+ . library( name: " StreamLayerTVOS " , targets: [ " StreamLayerTVOS " ] ) ,
14+ . library( name: " StreamLayerWatchParty " , targets: [ " StreamLayerWatchParty " ] ) ,
15+ . library( name: " StreamLayerGooglePAL " , targets: [ " StreamLayerGooglePAL " ] )
16+ ] ,
17+ dependencies: [
18+ . package ( url: " https://github.com/StreamLayer/sl-programmatic-access-library-ios-tvos " , exact: " 2.8.1 " ) ,
1419 ] ,
1520 targets: [
1621 . target(
@@ -20,10 +25,47 @@ let package = Package(
2025 ] ,
2126 path: " SwiftPM-PlatformExclude/StreamLayer "
2227 ) ,
28+ . target(
29+ name: " StreamLayerTVOS " ,
30+ dependencies: [
31+ . target( name: " StreamLayerSDKTVOS " )
32+ ] ,
33+ path: " SwiftPM-PlatformExclude/StreamLayerTVOS "
34+ ) ,
35+ . target(
36+ name: " StreamLayerWatchParty " ,
37+ dependencies: [
38+ . target( name: " StreamLayerSDKWatchParty " )
39+ ] ,
40+ path: " SwiftPM-PlatformExclude/StreamLayerWatchParty "
41+ ) ,
42+ . target(
43+ name: " StreamLayerGooglePAL " ,
44+ dependencies: [
45+ . target( name: " StreamLayerSDKGooglePAL " ) ,
46+ . product( name: " ProgrammaticAccessLibrary " , package : " sl-programmatic-access-library-ios-tvos " ) ,
47+ ] ,
48+ path: " SwiftPM-PlatformExclude/StreamLayerGooglePAL "
49+ ) ,
2350 . binaryTarget(
2451 name: " StreamLayerSDK " ,
25- url: " https://storage.googleapis.com/ios.streamlayer.io/v8.22.28/StreamLayerSDK.xcframework.zip " ,
26- checksum: " 43fd5e0a44dc488460a630041c08583075fee0cd55afae81087966e299ca8e54 "
52+ url: " https://storage.googleapis.com/ios.streamlayer.io/34698/StreamLayerSDK.xcframework.zip " ,
53+ checksum: " cbffe54d721caea055f9c11fbaa5f81f24b7b91f4bb8e21f25372793dfe6dfcb "
54+ ) ,
55+ . binaryTarget(
56+ name: " StreamLayerSDKTVOS " ,
57+ url: " https://storage.googleapis.com/ios.streamlayer.io/34698/StreamLayerSDKTVOS.xcframework.zip " ,
58+ checksum: " 1c5176f3b25d5a98fb1e1f833401a94ea494f851faf11a629cd861aa384a2092 "
59+ ) ,
60+ . binaryTarget(
61+ name: " StreamLayerSDKWatchParty " ,
62+ url: " https://storage.googleapis.com/ios.streamlayer.io/34698/StreamLayerSDKWatchParty.xcframework.zip " ,
63+ checksum: " 3287eb062bebc7b4008ecbb2e4ba41963232884c06ec99bad8b7f5fef733aae0 "
64+ ) ,
65+ . binaryTarget(
66+ name: " StreamLayerSDKGooglePAL " ,
67+ url: " https://storage.googleapis.com/ios.streamlayer.io/34698/StreamLayerSDKGooglePAL.xcframework.zip " ,
68+ checksum: " 9c54f0894ca01e027dba301de0d033210140c7ca5ae3a3238b6ff61ba4862ec6 "
2769 )
2870 ]
2971)
0 commit comments