Skip to content

Commit

Permalink
fixing Cocoapods specs
Browse files Browse the repository at this point in the history
  • Loading branch information
akornich committed Feb 17, 2021
1 parent 3e0d85c commit 364f7b9
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RollbarCommon.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Pod::Spec.new do |s|

s.version = "2.0.0-alpha37"
s.version = "2.0.0-alpha38"
s.name = "RollbarCommon"
s.summary = "Application or client side SDK for interacting with the Rollbar API Server."
s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion RollbarDeploys.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Pod::Spec.new do |s|

s.version = "2.0.0-alpha37"
s.version = "2.0.0-alpha38"
s.name = "RollbarDeploys"
s.summary = "Application or client side SDK for interacting with the Rollbar API Server."
s.description = <<-DESC
Expand Down
69 changes: 69 additions & 0 deletions RollbarNotifier.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
#
# 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.0.0-alpha38"
s.name = "RollbarNotifier"
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/ios"
s.authors = { "Andrey Kornich (Wide Spectrum Computing LLC)" => "[email protected]",
"Rollbar" => "[email protected]" }
# s.author = { "Andrey Kornich" => "[email protected]" }
# 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 => "v#{s.version}"
}
s.resource = "rollbar-logo.png"
# s.resources = "Resources/*.png"

# When using multiple platforms:
s.ios.deployment_target = "9.0"
s.osx.deployment_target = "10.10"
s.tvos.deployment_target = "11.0"
s.watchos.deployment_target = "4.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.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)/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
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#pragma mark - constants

static NSString * const NOTIFIER_VERSION = @"2.0.0-alpha37";
static NSString * const NOTIFIER_VERSION = @"2.0.0-alpha38";

static NSString * const NOTIFIER_NAME = @"rollbar-apple";

Expand Down

0 comments on commit 364f7b9

Please sign in to comment.