forked from apache/incubator-weex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WeexSDK.podspec
59 lines (45 loc) · 2.2 KB
/
WeexSDK.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
# coding: utf-8
Pod::Spec.new do |s|
s.name = "WeexSDK"
s.version = "0.18.0"
s.summary = "WeexSDK Source ."
s.description = <<-DESC
A framework for building Mobile cross-platform UI
DESC
s.homepage = "https://github.com/alibaba/weex"
s.license = {
:type => 'Copyright',
:text => <<-LICENSE
Alibaba-INC copyright
LICENSE
}
s.authors = { "cxfeng1" => "[email protected]",
"yangshengtao" => "[email protected]",
"kfeagle" => "[email protected]"
}
s.platform = :ios
s.ios.deployment_target = '8.0'
s.source = { :path => '.' }
s.source_files = 'ios/sdk/WeexSDK/Sources/**/*.{h,m,mm,c,cpp,cc}'
s.resources = 'pre-build/*.js','ios/sdk/WeexSDK/Resources/[email protected]'
s.user_target_xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => "'$(PODS_ROOT)/WeexSDK'" }
s.requires_arc = true
s.prefix_header_file = 'ios/sdk/WeexSDK/Sources/Supporting Files/WeexSDK-Prefix.pch'
s.private_header_files = 'ios/sdk/WeexSDK/Sources/Component/RecycleList/WXJSASTParser.h',
'ios/sdk/WeexSDK/Sources/Layout/WXScrollerComponent+Layout.h',
'weex_core/Source/**/*.{h,hpp}'
s.xcconfig = { "OTHER_LINK_FLAG" => '$(inherited) -ObjC', 'GCC_PREPROCESSOR_DEFINITIONS' => 'OS_IOS=1' }
s.frameworks = 'CoreMedia','MediaPlayer','AVFoundation','AVKit','JavaScriptCore','GLKit','OpenGLES','CoreText','QuartzCore','CoreGraphics'
s.default_subspec='WeexCore'
s.subspec 'WeexCore' do |w|
w.source_files = 'weex_core/Source/base/**/*.{h,hpp,m,mm,c,cpp,cc}',
'weex_core/Source/core/**/*.{h,hpp,m,mm,c,cpp,cc}',
'weex_core/Source/wson/**/*.{h,hpp,m,mm,c,cpp,cc}',
'weex_core/Source/third_party/**/*.{h,hpp,m,mm,c,cpp,cc}',
'weex_core/Source/include/**/*.{h,hpp,m,mm,c,cpp,cc}'
w.exclude_files = 'weex_core/Source/**/*android.{h,hpp,m,mm,c,cpp,cc}'
w.xcconfig = { 'USER_HEADER_SEARCH_PATHS' => ['${PODS_ROOT}/Headers/Public/WeexSDK/core/**'] }
w.header_mappings_dir = 'weex_core/Source'
w.libraries = "stdc++"
end
end