This repository has been archived by the owner on Jun 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
WeexSDK.podspec
131 lines (114 loc) · 7.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# coding: utf-8
Pod::Spec.new do |s|
s.name = "WeexSDK"
s.version = "0.28.0"
s.summary = "WeexSDK Source."
s.description = <<-DESC
A framework for building Mobile cross-platform UI
DESC
s.homepage = "https://github.com/apache/incubator-weex"
s.license = {
:type => 'Apache-2.0'
}
s.authors = {
"dev" => "dev@weex.apache.org"
}
s.platform = :ios
s.ios.deployment_target = '9.0'
# use for public
# s.source = {
# :git => 'https://github.com/apache/incubator-weex.git',
# :tag => #{s.version}
# }
# use for playground
s.source = { :path => '.' }
s.source_files = 'ios/sdk/WeexSDK/Sources/**/*.{h,m,mm,c,cpp,cc}',
'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}'
s.exclude_files = 'weex_core/Source/**/*android.{h,hpp,m,mm,c,cpp,cc}',
'weex_core/Source/base/android',
'weex_core/Source/base/base64',
'weex_core/Source/base/crash',
'weex_core/Source/base/utils/Compatible.cpp',
'weex_core/Source/base/utils/ThreadLocker.cpp',
'weex_core/Source/core/parser/action_args_check.*',
'weex_core/Source/third_party/IPC',
'weex_core/Source/core/network/android/',
'weex_core/Source/include/JavaScriptCore/',
'weex_core/Source/include/wtf'
s.private_header_files = 'ios/sdk/WeexSDK/Sources/Component/RecycleList/WXJSASTParser.h'
s.public_header_files = 'ios/sdk/WeexSDK/Sources/WeexSDK.h',
'ios/sdk/WeexSDK/Sources/Layout/WXComponent+Layout.h',
'ios/sdk/WeexSDK/Sources/Debug/WXDebugTool.h',
'ios/sdk/WeexSDK/Sources/Loader/WXResourceLoader.h',
'ios/sdk/WeexSDK/Sources/WebSocket/WXWebSocketHandler.h',
'ios/sdk/WeexSDK/Sources/Module/WXVoiceOverModule.h',
'ios/sdk/WeexSDK/Sources/Module/WXPrerenderManager.h',
'ios/sdk/WeexSDK/Sources/Module/WXModalUIModule.h',
'ios/sdk/WeexSDK/Sources/Module/WXStreamModule.h',
'ios/sdk/WeexSDK/Sources/Component/WXListComponent.h',
'ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.h',
'ios/sdk/WeexSDK/Sources/Component/WXRichText.h',
'ios/sdk/WeexSDK/Sources/Component/WXIndicatorComponent.h',
'ios/sdk/WeexSDK/Sources/Component/WXAComponent.h',
'ios/sdk/WeexSDK/Sources/Component/WXRefreshComponent.h',
'ios/sdk/WeexSDK/Sources/Component/Recycler/WXRecyclerComponent.h',
'ios/sdk/WeexSDK/Sources/Controller/WXBaseViewController.h',
'ios/sdk/WeexSDK/Sources/Controller/WXRootViewController.h',
'ios/sdk/WeexSDK/Sources/Handler/WXNavigationDefaultImpl.h',
'ios/sdk/WeexSDK/Sources/Handler/WXUnicornEventListenerHandler.h',
'ios/sdk/WeexSDK/Sources/View/WXView.h',
'ios/sdk/WeexSDK/Sources/View/WXErrorView.h',
'ios/sdk/WeexSDK/Sources/Protocol/*.h',
'ios/sdk/WeexSDK/Sources/Plugin/WXEaglePluginManager.h',
'ios/sdk/WeexSDK/Sources/Plugin/WXEaglePlugin.h',
'ios/sdk/WeexSDK/Sources/Network/WXResourceRequestHandler.h',
'ios/sdk/WeexSDK/Sources/Network/WXResourceRequest.h',
'ios/sdk/WeexSDK/Sources/Network/WXResourceResponse.h',
'ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.h',
'ios/sdk/WeexSDK/Sources/Model/WXJSExceptionInfo.h',
'ios/sdk/WeexSDK/Sources/Model/WXComponent.h',
'ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.h',
'ios/sdk/WeexSDK/Sources/Monitor/WXExceptionUtils.h',
'ios/sdk/WeexSDK/Sources/Monitor/WXAnalyzerCenter.h',
'ios/sdk/WeexSDK/Sources/Manager/WXSDKManager.h',
'ios/sdk/WeexSDK/Sources/Manager/WXBridgeManager.h',
'ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.h',
'ios/sdk/WeexSDK/Sources/Manager/WXHandlerFactory.h',
'ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.h',
'ios/sdk/WeexSDK/Sources/Manager/WXInvocationConfig.h',
'ios/sdk/WeexSDK/Sources/Manager/WXModuleFactory.h',
'ios/sdk/WeexSDK/Sources/Engine/WXSDKEngine.h',
'ios/sdk/WeexSDK/Sources/Engine/WXSDKError.h',
'ios/sdk/WeexSDK/Sources/Eagle/WXDataRenderHandler.h',
'ios/sdk/WeexSDK/Sources/Utility/WXConvert.h',
'ios/sdk/WeexSDK/Sources/Utility/WXUtility.h',
'ios/sdk/WeexSDK/Sources/Utility/WXConvertUtility.h',
'ios/sdk/WeexSDK/Sources/Utility/WXLog.h',
'ios/sdk/WeexSDK/Sources/Utility/WXDefine.h',
'ios/sdk/WeexSDK/Sources/Utility/WXType.h',
'ios/sdk/WeexSDK/Sources/Utility/NSObject+WXSwizzle.h',
'ios/sdk/WeexSDK/Sources/Utility/WXAppConfiguration.h',
'ios/sdk/WeexSDK/Sources/Performance/WXApmForInstance.h',
'ios/sdk/WeexSDK/Sources/Bridge/JSContext+Weex.h',
'ios/sdk/WeexSDK/Sources/Bridge/WXBridgeMethod.h',
'weex_core/Source/core/layout/flex_enum.h',
'weex_core/Source/core/layout/layout.h',
'weex_core/Source/core/layout/style.h',
'weex_core/Source/core/bridge/eagle_bridge.h',
'weex_core/Source/core/render/page/reactor_page.h'
s.module_map = 'WeexSDK.modulemap'
# 0.21.0 版本开始不再需要 native-bundle-main.js
s.resources = 'pre-build/*.js','ios/sdk/WeexSDK/Resources/wx_load_error@3x.png'
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.xcconfig = { "OTHER_LINK_FLAG" => '$(inherited) -ObjC' }
s.pod_target_xcconfig = { 'USER_HEADER_SEARCH_PATHS' => '${PODS_TARGET_SRCROOT}/weex_core/Source/ ${PROJECT_DIR}/../../../weex_core/Source',
'GCC_PREPROCESSOR_DEFINITIONS' => 'OS_IOS=1' }
s.frameworks = 'CoreMedia','MediaPlayer','AVFoundation','AVKit','JavaScriptCore','GLKit','OpenGLES','CoreText','QuartzCore','CoreGraphics'
s.libraries = 'c++'
end