1
1
// swift-tools-version:5.3
2
2
// The swift-tools-version declares the minimum version of Swift required to build this package.
3
+
3
4
import PackageDescription
4
5
5
6
let package = Package (
6
- name: " AgoraRtcKit " ,
7
+ name: " AgoraLite_iOS " ,
7
8
defaultLocalization: " en " ,
8
9
platforms: [ . iOS( . v9) ] ,
9
10
products: [
10
- . library( name: " AgoraInfra_iOS " , targets: [ " aosl " ] ) ,
11
+ . library( name: " RtcBasic " , targets: [ " AgoraRtcKit " , " Agoraffmpeg " , " AgoraSoundTouch " , " AgoraInfra_iOS " ] ) ,
12
+ . library( name: " VideoCodecDec " , targets: [ " AgoraVideoDecoderExtension " , " video_dec " ] ) ,
13
+ ] ,
14
+ dependencies: [
15
+ . package ( url: " https://github.com/AgoraIO/AgoraInfra_iOS.git " , . exact( " 0.0.17-test " ) )
11
16
] ,
12
17
targets: [
13
18
. binaryTarget(
14
- name: " aosl " ,
15
- url: " https://download.agora.io/swiftpm/AgoraLite_iOS/0.0.17-test/aosl.xcframework.zip " ,
16
- checksum: " 0d1f74c31eee9d939afd47914cc0b71536d92153dc676cbf7ce5d30eafa9e5d8 "
19
+ name: " AgoraRtcKit " ,
20
+ url: " https://download.agora.io/swiftpm/AgoraLite_iOS/0.0.17-test/AgoraRtcKit.xcframework.zip " ,
21
+ checksum: " 51e30052a4ece1c373a84d777636e562d85e53bb0ad6a7a52e77df65d9176cd8 "
22
+ ) ,
23
+ . binaryTarget(
24
+ name: " Agoraffmpeg " ,
25
+ url: " https://download.agora.io/swiftpm/AgoraLite_iOS/0.0.17-test/Agoraffmpeg.xcframework.zip " ,
26
+ checksum: " a1870e1e6c4f8d091be817d7332b5683a5bda0c4c7a334e0a4f6881b5b31e05c "
27
+ ) ,
28
+ . binaryTarget(
29
+ name: " AgoraSoundTouch " ,
30
+ url: " https://download.agora.io/swiftpm/AgoraLite_iOS/0.0.17-test/AgoraSoundTouch.xcframework.zip " ,
31
+ checksum: " 0ebf3e532f29f8f713194a73a57690956b6ad7e1d67c185fbe8a103367078c0b "
32
+ ) ,
33
+ . binaryTarget(
34
+ name: " AgoraVideoDecoderExtension " ,
35
+ url: " https://download.agora.io/swiftpm/AgoraLite_iOS/0.0.17-test/AgoraVideoDecoderExtension.xcframework.zip " ,
36
+ checksum: " 2e9be9ab035fc4edb18af721c15cf4cf791a799ce516fd2674572146fbc6e277 "
37
+ ) ,
38
+ . binaryTarget(
39
+ name: " video_dec " ,
40
+ url: " https://download.agora.io/swiftpm/AgoraLite_iOS/0.0.17-test/video_dec.xcframework.zip " ,
41
+ checksum: " d7ec38f9dc4d770ea17eb52761bbd50704ba33f09995971ddd830a8d1d4aef88 "
17
42
) ,
43
+ . target(
44
+ name: " AgoraInfra_iOS " ,
45
+ dependencies: [
46
+ . product( name: " AgoraInfra_iOS " , package : " AgoraInfra_iOS " )
47
+ ]
48
+ )
18
49
]
19
- )
50
+ )
0 commit comments