|
@@ -4,21 +4,21 @@ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
4
|
4
|
|
5
|
5
|
Pod::Spec.new do |s|
|
6
|
6
|
s.name = "react-native-agora"
|
7
|
|
- s.version = package["version"]
|
8
|
|
- s.summary = package["description"]
|
9
|
|
- s.homepage = package['homepage']
|
|
7
|
+ s.version = package["version"]
|
|
8
|
+ s.summary = package["description"]
|
|
9
|
+ s.homepage = package['homepage']
|
10
|
10
|
s.license = package['license']
|
11
|
|
- s.authors = package["authors"]
|
|
11
|
+ s.authors = package["authors"]
|
12
|
12
|
s.platform = :ios, "7.0"
|
13
|
13
|
|
14
|
|
- s.source = { :git => package["repository"]["url"] }
|
15
|
|
- s.source_files = 'ios/RCTAgora/*.{h,m}'
|
|
14
|
+ s.source = { :git => package["repository"]["url"] }
|
|
15
|
+ s.source_files = 'ios/RCTAgora/*.{h,m}'
|
16
|
16
|
|
17
|
|
- s.subspec 'AgoraRtcCryptoLoader' do |sp|
|
|
17
|
+ s.subspec 'AgoraRtcCryptoLoader' do |sp|
|
18
|
18
|
sp.source_files = './ios/RCTAgora/libs/AgoraRtcCryptoLoader.framework/**/*.{c,h,m,mm,S,cpp}'
|
19
|
19
|
sp.vendored_libraries = 'libcrypto.a'
|
20
|
20
|
end
|
21
|
|
-
|
22
|
|
- s.dependency 'React'
|
|
21
|
+
|
|
22
|
+ s.dependency 'React'
|
23
|
23
|
s.dependency "AgoraRtcEngine_iOS", "2.4.1"
|
24
|
24
|
end
|