-
Notifications
You must be signed in to change notification settings - Fork 4
/
jiaCordova.podspec
82 lines (65 loc) · 2.44 KB
/
jiaCordova.podspec
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#
# Be sure to run `pod spec lint jiaCore.podspec' to ensure this is a
# valid spec and to remove all comments including this before submitting the spec.
#
#
#
Pod::Spec.new do |s|
s.name = "JiaCordova"
s.version = "0.3.3"
s.summary = "在Cordova及插件的基础上封装一些常用的功能"
s.homepage = "https://github.com/wujunyang/JiaCordova"
s.license = { :type => "MIT", :file => "FILE_LICENSE" }
s.author = { "wujunyang" => "[email protected]" }
s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/wujunyang/JiaCordova.git", :tag => "#{s.version}" }
s.requires_arc = true
s.subspec 'JiaAFNetworking' do |ss|
ss.source_files = 'JiaCordova/JiaAFNetworking/**/*.{h,m}'
end
s.subspec 'JiaNetwork' do |ss|
ss.source_files = 'JiaCordova/JiaNetwork/**/*.{h,m}'
ss.dependency 'JiaCordova/JiaAFNetworking'
ss.framework = "CFNetwork"
end
s.subspec 'JiaMBProgressHUD' do |ss|
ss.source_files = 'JiaCordova/JiaMBProgressHUD/**/*.{h,m}'
ss.resources = "JiaCordova/JiaMBProgressHUD/**/*.bundle"
end
s.subspec 'JiaCordovaConfig' do |ss|
ss.resources = "JiaCordova/JiaCordovaConfig/*"
end
s.subspec 'JiaCordovaPlugin' do |ss|
ss.source_files = 'JiaCordova/JiaCordovaPlugin/**/*.{h,m}'
end
s.subspec 'JiaCordovaManager' do |ss|
ss.source_files = 'JiaCordova/JiaCordovaManager/**/*.{h,m}'
ss.dependency 'JiaCordova/JiaAFNetworking'
ss.dependency 'JiaCordova/JiaNetwork'
ss.dependency 'JiaCordova/JiaMBProgressHUD'
ss.dependency 'JiaCordova/JiaCordovaPlugin'
end
# 系统库依赖
s.frameworks = 'UIKit','MobileCoreServices', 'CoreGraphics', 'Security', 'SystemConfiguration'
s.dependency 'SSZipArchive'
s.dependency 'JSONModel'
# Cordova 依赖
s.dependency 'Cordova'
s.dependency 'CordovaPlugin-console'
s.dependency 'cordova-plugin-camera'
s.dependency 'cordova-plugin-contacts'
s.dependency 'cordova-plugin-device'
s.dependency 'cordova-plugin-device-orientation'
s.dependency 'cordova-plugin-device-motion'
s.dependency 'cordova-plugin-globalization'
s.dependency 'cordova-plugin-geolocation'
s.dependency 'cordova-plugin-file'
s.dependency 'cordova-plugin-media-capture'
s.dependency 'cordova-plugin-network-information'
s.dependency 'cordova-plugin-splashscreen'
s.dependency 'cordova-plugin-inappbrowser'
s.dependency 'cordova-plugin-file-transfer'
s.dependency 'cordova-plugin-statusbar'
s.dependency 'cordova-plugin-vibration'
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
end