forked from corymsmith/react-native-fabric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ReactNativeFabric.podspec
29 lines (24 loc) · 1.01 KB
/
ReactNativeFabric.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
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = 'ReactNativeFabric'
s.version = package['version']
s.summary = package['description']
s.description = package['description']
s.homepage = package['homepage']
s.license = package['license']
s.author = package['author']
s.source = { :git => 'https://github.com/corymsmith/react-native-fabric.git', :tag => 'v'+s.version.to_s }
s.ios.deployment_target = '8.0'
s.tvos.deployment_target = '9.0'
s.dependency 'React'
s.dependency 'Fabric'
s.dependency 'Crashlytics'
s.ios.xcconfig = {
'FRAMEWORK_SEARCH_PATHS' => '"${PODS_ROOT}/Crashlytics/iOS" "${PODS_ROOT}/Fabric/iOS"',
'OTHER_LDFLAGS' => '-framework Crashlytics -framework Fabric'
}
s.preserve_paths = 'README.md', 'LICENSE', 'package.json'
s.source_files = 'ios/**/*.{h,m}'
s.exclude_files = 'android/**/*'
end