forked from wix/react-native-navigation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ReactNativeNavigation.podspec
39 lines (32 loc) · 1.29 KB
/
ReactNativeNavigation.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
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = "ReactNativeNavigation"
s.version = package['version']
s.summary = package['description']
s.authors = "Wix.com"
s.homepage = package['homepage']
s.license = package['license']
s.platform = :ios, "11.0"
s.module_name = 'ReactNativeNavigation'
s.default_subspec = 'Core'
s.subspec 'Core' do |ss|
s.source = { :git => "https://github.com/wix/react-native-navigation.git", :tag => "#{s.version}" }
s.source_files = "lib/ios/**/*.{h,m,mm}"
s.exclude_files = "lib/ios/ReactNativeNavigationTests/**/*.*", "lib/ios/OCMock/**/*.*"
end
s.subspec 'Fabric' do |ss|
ss.compiler_flags = "-DRN_FABRIC_ENABLED -DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32"
ss.pod_target_xcconfig = {
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/Folly\"",
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14"
}
ss.dependency 'React-RCTFabric'
ss.dependency 'React-Fabric'
ss.dependency 'Folly/Fabric'
end
s.dependency 'React-Core'
s.dependency 'React-RCTImage'
s.dependency 'React-RCTText'
s.frameworks = 'UIKit'
end