forked from sooth-sayer/react-native-yandex-metrica
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreact-native-yandex-metrica.pods
34 lines (25 loc) · 1.01 KB
/
react-native-yandex-metrica.pods
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
ios_root = 'ios/RCTYandexMetrica'
ymlib_root = ios_root+'/yandex-metrica-lib'
Pod::Spec.new do |s|
s.name = "react-native-yandex-metrica"
s.version = package["version"]
s.summary = package["description"]
s.author = "Soothsayer"
s.homepage = package["homepage"]
s.license = package["license"]
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/sooth-sayer/react-native-yandex-metrica", :tag => "#{s.version}" }
s.default_subspec = 'Core'
s.subspec 'Core' do |ss|
ss.dependency 'React'
ss.frameworks = 'SystemConfiguration', 'UIKit', 'Foundation', 'CoreTelephony', 'CoreLocation', 'CoreGraphics', 'AdSupport', 'Security'
ss.libraries = 'c++', 'z', 'sqlite3.0','YandexMobileMetrica'
ss.vendored_libraries =
ymlib_root+'/YandexMobileMetrica'
ss.source_files =
ymlib_root+'/*.{h}',
ios_root+'/RCTYandexMetrica/*.{h,m}'
end
end