forked from wix-incubator/react-native-newrelic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreact-native-newrelic.podspec
38 lines (29 loc) · 1.21 KB
/
react-native-newrelic.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
#
# Be sure to run `pod lib lint react-native-newrelic.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = 'react-native-newrelic'
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/candidco/react-native-newrelic.git', :tag => s.version.to_s }
s.ios.deployment_target = '9.2'
s.dependency 'React'
s.dependency 'NewRelicAgent', '~> 6.3'
s.ios.xcconfig = {
'FRAMEWORK_SEARCH_PATHS' => '"${PODS_ROOT}/NewRelicAgent/NewRelicAgent"',
'OTHER_LDFLAGS' => '-framework NewRelicAgent'
}
s.preserve_paths = 'README.md', 'LICENSE', 'package.json'
s.source_files = 'ios/**/*.{h,m}'
s.exclude_files = 'android/**/*'
end