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 8488e0f commit 9ee57f1
Show file tree
Hide file tree
Showing 6 changed files with 144 additions and 4 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-alpha38"
s.version = "2.0.0-alpha39"
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-alpha38"
s.version = "2.0.0-alpha39"
s.name = "RollbarDeploys"
s.summary = "Application or client side SDK for interacting with the Rollbar API Server."
s.description = <<-DESC
Expand Down
70 changes: 70 additions & 0 deletions RollbarKSCrash.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
#
# Be sure to run `pod spec lint RollbarKSCrash.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-alpha39"
s.name = "RollbarKSCrash"
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.dependency "KSCrash", "~> 1.15.21"
# 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
2 changes: 1 addition & 1 deletion RollbarNotifier.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-alpha38"
s.version = "2.0.0-alpha39"
s.name = "RollbarNotifier"
s.summary = "Application or client side SDK for interacting with the Rollbar API Server."
s.description = <<-DESC
Expand Down
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-alpha38";
static NSString * const NOTIFIER_VERSION = @"2.0.0-alpha39";

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

Expand Down
70 changes: 70 additions & 0 deletions RollbarPLCrashReporter.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
#
# Be sure to run `pod spec lint RollbarPLCrashReporter.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-alpha39"
s.name = "RollbarPLCrashReporter"
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.dependency "PLCrashReporter", "~> 1.8.1"
# 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

0 comments on commit 9ee57f1

Please sign in to comment.