-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathBugReportKit.podspec
77 lines (65 loc) · 3.43 KB
/
BugReportKit.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#
# Be sure to run `pod lib lint BugReportKit.podspec' to ensure this is a
# valid spec and remove all comments before submitting the spec.
#
# Any lines starting with a # are optional, but encouraged
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'BugReportKit'
s.version = '0.1.11'
s.summary = 'Easier bug reports on iOS.'
s.description = <<-DESC
Easier bug reports on iOS. Just take a screenshot in your app, doodle on the image, and send it away! The report will contain device metadata including device model, iOS version, jailbreak status, memory, disk and battery usage status, carrier and WiFi names and a unique user identifier (if set by developer). Currently, Bug reports can be added to Github Issues, JIRA issues, Gitlab Issues, or sent as emails.
For more details, check out the Github repo -- https://github.com/rahuljiresal/BugReportKit
DESC
s.homepage = 'https://github.com/rahuljiresal/BugReportKit'
s.screenshots = 'https://cloud.githubusercontent.com/assets/216346/9147661/06328b94-3d1f-11e5-829f-bbda3ceb9856.gif', 'https://cloud.githubusercontent.com/assets/216346/9147888/c91bfb24-3d22-11e5-9d43-151d08ae7129.png', 'https://cloud.githubusercontent.com/assets/216346/9147889/c937381c-3d22-11e5-89e7-152c18e3b6f3.png'
s.license = 'MIT'
s.author = { 'Rahul Jiresal' => '[email protected]' }
s.source = { :git => 'https://github.com/rahuljiresal/BugReportKit.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/rahuljiresal'
s.platform = :ios, '7.0'
s.requires_arc = true
s.resource_bundles = {
'BugReportKit' => ['Pod/Assets/*.png']
}
s.default_subspec = 'Core'
s.subspec 'Core' do |cr|
cr.source_files = 'Pod/Classes/Core/**/*'
cr.public_header_files = 'Pod/Core/BRK.h'
cr.dependency 'GBDeviceInfo'
cr.frameworks = 'UIKit', 'CoreTelephony', 'SystemConfiguration'
end
s.subspec 'S3ImageUploader' do |er|
er.source_files = 'Pod/Classes/ImageUploader/**/*'
er.public_header_files = 'Pod/ImageUploader/*.h'
er.dependency 'AWSS3', '2.2.3'
er.dependency 'BugReportKit/Core'
end
s.subspec 'EmailReporter' do |er|
er.source_files = 'Pod/Classes/Reporters/Email/**/*'
er.public_header_files = 'Pod/Reporters/Email/BRKEmailReporter.h'
er.dependency 'mailcore2-ios'
er.dependency 'BugReportKit/Core'
end
s.subspec 'GithubReporter' do |er|
er.source_files = 'Pod/Classes/Reporters/Github/**/*'
er.public_header_files = 'Pod/Reporters/Github/BRKGithubReporter.h'
er.dependency 'BugReportKit/Core'
er.dependency 'BugReportKit/S3ImageUploader'
end
s.subspec 'GitlabReporter' do |er|
er.source_files = 'Pod/Classes/Reporters/Gitlab/**/*'
er.public_header_files = 'Pod/Reporters/Gitlab/BRKGithubReporter.h'
er.dependency 'BugReportKit/Core'
er.dependency 'BugReportKit/S3ImageUploader'
end
s.subspec 'JIRAReporter' do |er|
er.source_files = 'Pod/Classes/Reporters/JIRA/**/*'
er.public_header_files = 'Pod/Reporters/JIRA/BRKJIRAReporter.h'
er.dependency 'BugReportKit/Core'
er.dependency 'BugReportKit/S3ImageUploader'
end
end