forked from rollbar/rollbar-apple
-
Notifications
You must be signed in to change notification settings - Fork 1
/
RollbarSwift.podspec
70 lines (61 loc) · 3.17 KB
/
RollbarSwift.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
#
# Be sure to run `pod spec lint RollbarSDK.podspec' to ensure this is a valid spec.
#
# To learn more about Podspec attributes see https://guides.cocoapods.org/syntax/podspec.html
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#
Pod::Spec.new do |s|
s.version = "2.3.4"
s.name = "RollbarSwift"
s.summary = "Application or client side SDK for interacting with the Rollbar API Server."
s.description = <<-DESC
Find, fix, and resolve errors with Rollbar.
Easily send error data using Rollbar API.
Analyze, de-dupe, send alerts, and prepare the data for further analysis.
Search, sort, and prioritize via the Rollbar dashboard.
DESC
s.homepage = "https://rollbar.com"
# s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
s.license = { :type => "MIT", :file => "LICENSE" }
# s.license = "MIT (example)"
s.documentation_url = "https://docs.rollbar.com/docs/apple"
s.authors = { "Andrey Kornich (Wide Spectrum Computing LLC)" => "akornich@gmail.com",
"Rollbar" => "support@rollbar.com" }
# s.author = { "Andrey Kornich" => "akornich@gmail.com" }
# Or just: s.author = "Andrey Kornich"
s.social_media_url = "http://twitter.com/rollbar"
s.source = { :git => "https://github.com/rollbar/rollbar-apple.git",
:tag => "#{s.version}"
}
s.resource = "rollbar-logo.png"
# s.resources = "Resources/*.png"
# When using multiple platforms:
s.osx.deployment_target = "10.15"
s.ios.deployment_target = "13.0"
s.tvos.deployment_target = "13.0"
s.watchos.deployment_target = "7.0"
# Any platform, if omitted:
# s.platform = :ios
# s.platform = :ios, "5.0"
s.source_files = "#{s.name}/Sources/#{s.name}/**/*.{h,m}"
s.public_header_files = "#{s.name}/Sources/#{s.name}/include/*.h"
s.module_map = "#{s.name}/Sources/#{s.name}/include/module.modulemap"
# s.exclude_files = "Classes/Exclude"
# s.preserve_paths = "FilesToSave", "MoreFilesToSave"
s.framework = "Foundation"
s.dependency "RollbarCommon", "~> #{s.version}"
s.dependency "RollbarNotifier", "~> #{s.version}"
# s.frameworks = "SomeFramework", "AnotherFramework"
# s.library = "iconv"
# s.libraries = "iconv", "xml2"
# s.dependency "JSONKit", "~> 1.4"
s.requires_arc = true
s.xcconfig = {
"USE_HEADERMAP" => "NO",
"HEADER_SEARCH_PATHS" => "$(PODS_ROOT)/#{s.name}/#{s.name}/Sources/#{s.name}/**"
}
# s.pod_target_xcconfig = { "ONLY_ACTIVE_ARCH" => "YES", "EXCLUDED_ARCHS[sdk=iphonesimulator*]" => "arm64" }
# s.user_target_xcconfig = { "ONLY_ACTIVE_ARCH" => "YES", "EXCLUDED_ARCHS[sdk=iphonesimulator*]" => "arm64" }
# s.tvos.pod_target_xcconfig = { "ONLY_ACTIVE_ARCH" => "YES", "EXCLUDED_ARCHS[sdk=appletvsimulator*]" => "arm64" }
# s.tvos.user_target_xcconfig = { "ONLY_ACTIVE_ARCH" => "YES", "EXCLUDED_ARCHS[sdk=appletvsimulator*]" => "arm64" }
end