...
|
...
|
@@ -32,6 +32,7 @@ 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"
|
...
|
...
|
@@ -52,7 +53,7 @@ Pod::Spec.new do |s| |
|
|
"React/Views/RCTSwitch*",
|
|
|
"React/Views/RCTWebView*"
|
|
|
ss.header_dir = "React"
|
|
|
ss.framework = "JavaScriptCore", "Foundation", "UIKit"
|
|
|
ss.framework = "JavaScriptCore"
|
|
|
ss.libraries = "stdc++"
|
|
|
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_TARGET_SRCROOT)/YH_Analytics\" \"${PODS_ROOT}/../YH_Mall/Controls/YH_ThemeManager.{h,m}\" \"${PODS_ROOT}/../YH_Mall_iPhone/Views/Custom/YH_ThemeButton.{h,m}\" \"${PODS_ROOT}/../YH_Mall/Definition/YH_EnumConstants.h\"" }
|
|
|
end
|
...
|
...
|
|