Skip to content

Commit

Permalink
Increase deployment target according to xcode.
Browse files Browse the repository at this point in the history
  • Loading branch information
serhii-londar committed Nov 5, 2023
1 parent 5f83b0c commit 2efbe8c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 23 deletions.
25 changes: 5 additions & 20 deletions CrowdinSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ Pod::Spec.new do |spec|
spec.source = { :git => 'https://github.com/crowdin/mobile-sdk-ios.git', :tag => spec.version.to_s }
spec.social_media_url = 'https://twitter.com/crowdin'

spec.watchos.deployment_target = '2.0'
spec.ios.deployment_target = '11.0'
spec.tvos.deployment_target = '11.0'
spec.watchos.deployment_target = '4.0'
spec.ios.deployment_target = '12.0'
spec.tvos.deployment_target = '12.0'
spec.macos.deployment_target = '10.13'

spec.ios.frameworks = 'UIKit'
Expand All @@ -48,16 +48,11 @@ Pod::Spec.new do |spec|
core.dependency 'CrowdinSDK/CrowdinFileSystem'
end

spec.subspec 'CrowdinFileSystem' do |core|
core.source_files = 'Sources/CrowdinSDK/CrowdinFileSystem/**/*'
spec.subspec 'CrowdinFileSystem' do |subspec|
subspec.source_files = 'Sources/CrowdinSDK/CrowdinFileSystem/**/*'
end

spec.test_spec 'Core_Tests' do |test_spec|
test_spec.watchos.deployment_target = '2.0'
test_spec.ios.deployment_target = '11.0'
test_spec.tvos.deployment_target = '11.0'
test_spec.macos.deployment_target = '10.13'

test_spec.source_files = 'Sources/Tests/Core/*.swift'
end

Expand All @@ -70,11 +65,6 @@ Pod::Spec.new do |spec|
end

spec.test_spec 'CrowdinProvider_Tests' do |test_spec|
test_spec.watchos.deployment_target = '2.0'
test_spec.ios.deployment_target = '11.0'
test_spec.tvos.deployment_target = '11.0'
test_spec.macos.deployment_target = '10.13'

test_spec.source_files = 'Sources/Tests/CrowdinProvider/*.swift'
test_spec.resources = 'Resources/Tests/SupportedLanguages.json'
end
Expand All @@ -87,11 +77,6 @@ Pod::Spec.new do |spec|
end

spec.test_spec 'CrowdinAPI_Tests' do |test_spec|
test_spec.watchos.deployment_target = '2.0'
test_spec.ios.deployment_target = '11.0'
test_spec.tvos.deployment_target = '11.0'
test_spec.macos.deployment_target = '10.13'

test_spec.source_files = 'Sources/Tests/CrowdinAPI/*.swift'
end

Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ let package = Package(
name: "CrowdinSDK",
platforms: [
.macOS(.v10_13),
.watchOS(.v5),
.iOS(.v9),
.tvOS(.v9)
.watchOS(.v4),
.iOS(.v12),
.tvOS(.v12)
],
products: [
.library(name: "CrowdinSDK", targets: ["CrowdinSDK"])
Expand Down

0 comments on commit 2efbe8c

Please sign in to comment.