...
|
...
|
@@ -32,11 +32,12 @@ Pod::Spec.new do |s| |
|
|
s.pod_target_xcconfig = { "CLANG_CXX_LANGUAGE_STANDARD" => "c++14" }
|
|
|
s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs", "PATENTS"
|
|
|
s.cocoapods_version = ">= 1.2.0"
|
|
|
s.frameworks = "Foundation", "UIKit"
|
|
|
|
|
|
s.subspec "Core" do |ss|
|
|
|
ss.dependency "Yoga", "#{package["version"]}.React"
|
|
|
ss.dependency "YH_Analytics"
|
|
|
ss.source_files = "React/**/*.{c,h,m,mm,S,cpp},"
|
|
|
ss.dependency "YH_Analytics", "3.1.8"
|
|
|
ss.source_files = "React/**/*.{c,h,m,mm,S,cpp}"
|
|
|
ss.exclude_files = "**/__tests__/*",
|
|
|
"IntegrationTests/*",
|
|
|
"React/DevSupport/*",
|
...
|
...
|
@@ -54,12 +55,7 @@ Pod::Spec.new do |s| |
|
|
ss.header_dir = "React"
|
|
|
ss.framework = "JavaScriptCore"
|
|
|
ss.libraries = "stdc++"
|
|
|
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\"" }
|
|
|
ss.xcconfig = { "HEADER_SEARCH_PATHS" => [
|
|
|
"${PODS_ROOT}/../YH_Mall/Controls/YH_ThemeManager.{h,m}",
|
|
|
"${PODS_ROOT}/../YH_Mall_iPhone/Views/Custom/YH_ThemeButton.{h,m}",
|
|
|
].join(' ')
|
|
|
}
|
|
|
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_TARGET_SRCROOT)/YH_Analytics\" \"${PODS_ROOT}/../YH_Mall/Controls\" \"${PODS_ROOT}/../YH_Mall_iPhone/Views/Custom\" \"${PODS_ROOT}/../YH_Mall/Definition\" \"${PODS_ROOT}/../YH_Mall/Dependences/MJRefresh\"" }
|
|
|
end
|
|
|
|
|
|
s.subspec "CxxBridge" do |ss|
|
...
|
...
|
|