forked from bugsnag/bugsnag-react-native
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathBugsnagReactNative.podspec
More file actions
30 lines (25 loc) · 1.24 KB
/
BugsnagReactNative.podspec
File metadata and controls
30 lines (25 loc) · 1.24 KB
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
require 'json'
Pod::Spec.new do |s|
# NPM package specification
package = JSON.parse(File.read(File.join(File.dirname(__FILE__), 'package.json')))
s.name = 'BugsnagReactNative'
s.version = package['version']
s.license = 'MIT'
s.summary = 'Bugsnag crash and error reporting for React Native apps'
s.author = { 'Delisa Mason' => 'iskanamagus@gmail.com' }
s.homepage = "https://docs.bugsnag.com/platforms/react-native"
s.source = { :git => 'https://github.com/nubank/bugsnag-react-native.git', :tag => "v#{s.version}"}
s.platform = :ios, '8.0'
s.preserve_paths = '*.js'
s.libraries = 'z', 'c++'
s.frameworks = 'MessageUI', 'SystemConfiguration', 'React'
s.source_files = 'cocoa/BugsnagReactNative.{h,m}',
'cocoa/vendor/bugsnag-cocoa/Source/*.{h,m,mm,cpp,c}',
'cocoa/vendor/kscrash/Source/KSCrash/**/*.{h,m,mm,cpp,c}',
'cocoa/vendor/kscrash/Source/Framework/**/*.{h,m,mm,cpp,c}'
# If Bugsnag is previously installed via CocoaPods, use the Core subspec.
s.subspec 'Core' do |core|
core.source_files = 'cocoa/BugsnagReactNative.{h,m}'
core.public_header_files = ['cocoa/BugsnagReactNative.h']
end
end