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
-
4
3
import PackageDescription
5
4
6
5
let package = Package (
7
- name: " AgoraLite_iOS " ,
6
+ name: " AgoraRtcKit " ,
8
7
defaultLocalization: " en " ,
9
8
platforms: [ . iOS( . v9) ] ,
10
9
products: [
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.4-test " ) )
10
+ . library( name: " AgoraInfra_iOS " , targets: [ " aosl " ] ) ,
16
11
] ,
17
12
targets: [
18
13
. binaryTarget(
19
- name: " AgoraRtcKit " ,
20
- url: " https://download.agora.io/swiftpm/AgoraLite_iOS/0.0.4-test/AgoraRtcKit.xcframework.zip " ,
21
- checksum: " 1c3d9d741624ba09a41d330dfabe8238a11a50f8831aed9112acf5e4f56b5c8a "
22
- ) ,
23
- . binaryTarget(
24
- name: " Agoraffmpeg " ,
25
- url: " https://download.agora.io/swiftpm/AgoraLite_iOS/0.0.4-test/Agoraffmpeg.xcframework.zip " ,
26
- checksum: " 9062bcd2144725ae6a39eae3d6d5ea8e78850e6c42bf50536327646fd87a35a9 "
27
- ) ,
28
- . binaryTarget(
29
- name: " AgoraSoundTouch " ,
30
- url: " https://download.agora.io/swiftpm/AgoraLite_iOS/0.0.4-test/AgoraSoundTouch.xcframework.zip " ,
31
- checksum: " 871078dc26073028b45214044cec330fa5e6c961b2cec8f6adb6a176369f6a64 "
32
- ) ,
33
- . binaryTarget(
34
- name: " AgoraVideoDecoderExtension " ,
35
- url: " https://download.agora.io/swiftpm/AgoraLite_iOS/0.0.4-test/AgoraVideoDecoderExtension.xcframework.zip " ,
36
- checksum: " b9ca1e15a85356be12701598c02aff021fc6d28ecbf61eb9a10d96a3342a4a86 "
37
- ) ,
38
- . binaryTarget(
39
- name: " video_dec " ,
40
- url: " https://download.agora.io/swiftpm/AgoraLite_iOS/0.0.4-test/video_dec.xcframework.zip " ,
41
- checksum: " 8130f0d8e02607d248a21a2be52e802df0ba5bb7966a86497d69d4daed5e09d6 "
14
+ name: " aosl " ,
15
+ url: " https://download.agora.io/swiftpm/AgoraLite_iOS/0.0.17-test/aosl.xcframework.zip " ,
16
+ checksum: " 0d1f74c31eee9d939afd47914cc0b71536d92153dc676cbf7ce5d30eafa9e5d8 "
42
17
) ,
43
- . target(
44
- name: " AgoraInfra_iOS " ,
45
- dependencies: [
46
- . product( name: " AgoraInfra_iOS " , package : " AgoraInfra_iOS " )
47
- ]
48
- )
49
18
]
50
- )
19
+ )
0 commit comments