Skip to content

Commit

Permalink
Bumping iOS deployment target to 11.0
Browse files Browse the repository at this point in the history
Also osx to 10.13, tvos to 11.0 and watchos to 4.0
  • Loading branch information
crsantos authored and mxcl committed Jun 5, 2023
1 parent 76e1fb0 commit 8bcaf68
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 83 deletions.
140 changes: 70 additions & 70 deletions PromiseKit.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "PromiseKit"

s.version = '6.22.1'
s.version = '6.23.0'

s.source = {
:git => "https://github.com/mxcl/#{s.name}.git",
Expand All @@ -24,10 +24,10 @@ Pod::Spec.new do |s|
# CocoaPods requires us to specify the root deployment targets
# even though for us it is nonsense. Our root spec has no
# sources.
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '9.0'
s.ios.deployment_target = '11.0'
s.osx.deployment_target = '10.13'
s.watchos.deployment_target = '4.0'
s.tvos.deployment_target = '11.0'

s.pod_target_xcconfig = {
'OTHER_SWIFT_FLAGS' => '-DPMKCocoaPods',
Expand All @@ -38,75 +38,75 @@ Pod::Spec.new do |s|
ss.exclude_files = 'Extensions/Accounts/Sources/*.plist'
ss.ios.frameworks = ss.osx.frameworks = 'Accounts'
ss.dependency 'PromiseKit/CorePromise'
ss.ios.deployment_target = '8.0'
ss.osx.deployment_target = '10.10'
ss.ios.deployment_target = '11.0'
ss.osx.deployment_target = '10.13'
end

s.subspec 'Alamofire' do |ss|
ss.source_files = 'Extensions/Alamofire/Sources/**/*'
ss.exclude_files = 'Extensions/Alamofire/Sources/*.plist'
ss.dependency 'Alamofire', '~> 4.0'
ss.dependency 'PromiseKit/CorePromise'
ss.ios.deployment_target = '8.0'
ss.ios.deployment_target = '11.0'
ss.osx.deployment_target = '10.11'
ss.watchos.deployment_target = '2.0'
ss.tvos.deployment_target = '9.0'
ss.watchos.deployment_target = '4.0'
ss.tvos.deployment_target = '11.0'
end

s.subspec 'AddressBook' do |ss|
ss.ios.source_files = 'Extensions/AddressBook/Sources/**/*'
ss.exclude_files = 'Extensions/AddressBook/Sources/*.plist'
ss.ios.frameworks = 'AddressBook'
ss.dependency 'PromiseKit/CorePromise'
ss.ios.deployment_target = '8.0'
ss.ios.deployment_target = '11.0'
end

s.subspec 'AssetsLibrary' do |ss|
ss.ios.source_files = 'Extensions/AssetsLibrary/Sources/**/*'
ss.exclude_files = 'Extensions/AssetsLibrary/Sources/*.plist'
ss.ios.frameworks = 'AssetsLibrary'
ss.dependency 'PromiseKit/CorePromise'
ss.ios.deployment_target = '8.0'
ss.ios.deployment_target = '11.0'
end

s.subspec 'AVFoundation' do |ss|
ss.ios.source_files = 'Extensions/AVFoundation/Sources/**/*'
ss.exclude_files = 'Extensions/AVFoundation/Sources/*.plist'
ss.ios.frameworks = 'AVFoundation'
ss.dependency 'PromiseKit/CorePromise'
ss.ios.deployment_target = '8.0'
ss.ios.deployment_target = '11.0'
end

s.subspec 'Bolts' do |ss|
ss.source_files = 'Extensions/Bolts/Sources/**/*'
ss.exclude_files = 'Extensions/Bolts/Sources/*.plist'
ss.dependency 'PromiseKit/CorePromise'
ss.dependency 'Bolts', '~> 1.9.0'
ss.ios.deployment_target = '8.0'
ss.osx.deployment_target = '10.10'
ss.watchos.deployment_target = '2.0'
ss.tvos.deployment_target = '9.0'
ss.ios.deployment_target = '11.0'
ss.osx.deployment_target = '10.13'
ss.watchos.deployment_target = '4.0'
ss.tvos.deployment_target = '11.0'
end

s.subspec 'CloudKit' do |ss|
ss.source_files = 'Extensions/CloudKit/Sources/**/*'
ss.exclude_files = 'Extensions/CloudKit/Sources/*.plist'
ss.frameworks = 'CloudKit'
ss.dependency 'PromiseKit/CorePromise'
ss.ios.deployment_target = '10.0'
ss.ios.deployment_target = '11.0'
ss.osx.deployment_target = '10.12'
ss.tvos.deployment_target = '10.0'
ss.watchos.deployment_target = '3.0'
ss.tvos.deployment_target = '11.0'
ss.watchos.deployment_target = '4.0'
end

s.subspec 'CoreBluetooth' do |ss|
ss.ios.source_files = ss.osx.source_files = ss.tvos.source_files = 'Extensions/CoreBluetooth/Sources/**/*'
ss.exclude_files = 'Extensions/CoreBluetooth/Sources/*.plist'
ss.ios.frameworks = ss.osx.frameworks = ss.tvos.frameworks = 'CoreBluetooth'
ss.dependency 'PromiseKit/CorePromise'
ss.ios.deployment_target = '8.0'
ss.osx.deployment_target = '10.10'
ss.tvos.deployment_target = '9.0'
ss.ios.deployment_target = '11.0'
ss.osx.deployment_target = '10.13'
ss.tvos.deployment_target = '11.0'
end

s.subspec 'CorePromise' do |ss|
Expand All @@ -122,10 +122,10 @@ Pod::Spec.new do |s|
ss.preserve_paths = 'Sources/AnyPromise+Private.h', 'Sources/PMKCallVariadicBlock.m', 'Sources/NSMethodSignatureForBlock.m'
ss.frameworks = 'Foundation'

ss.ios.deployment_target = '8.0'
ss.osx.deployment_target = '10.10'
ss.watchos.deployment_target = '2.0'
ss.tvos.deployment_target = '9.0'
ss.ios.deployment_target = '11.0'
ss.osx.deployment_target = '10.13'
ss.watchos.deployment_target = '4.0'
ss.tvos.deployment_target = '11.0'
end

s.subspec 'CoreLocation' do |ss|
Expand All @@ -135,10 +135,10 @@ Pod::Spec.new do |s|
ss.dependency 'PromiseKit/CorePromise'
ss.frameworks = 'CoreLocation'

ss.ios.deployment_target = '8.0'
ss.osx.deployment_target = '10.10'
ss.watchos.deployment_target = '3.0'
ss.tvos.deployment_target = '9.0'
ss.ios.deployment_target = '11.0'
ss.osx.deployment_target = '10.13'
ss.watchos.deployment_target = '4.0'
ss.tvos.deployment_target = '11.0'
end

s.subspec 'EventKit' do |ss|
Expand All @@ -147,69 +147,69 @@ Pod::Spec.new do |s|
ss.ios.frameworks = ss.osx.frameworks = ss.watchos.frameworks = 'EventKit'
ss.dependency 'PromiseKit/CorePromise'

ss.ios.deployment_target = '8.0'
ss.osx.deployment_target = '10.10'
ss.watchos.deployment_target = '2.0'
ss.ios.deployment_target = '11.0'
ss.osx.deployment_target = '10.13'
ss.watchos.deployment_target = '4.0'
end

s.subspec 'Foundation' do |ss|
ss.source_files = Dir['Extensions/Foundation/Sources/**/*']
ss.exclude_files = 'Extensions/Foundation/Sources/*.plist'
ss.dependency 'PromiseKit/CorePromise'
ss.frameworks = 'Foundation'
ss.ios.deployment_target = '8.0'
ss.osx.deployment_target = '10.10'
ss.watchos.deployment_target = '2.0'
ss.tvos.deployment_target = '9.0'
ss.ios.deployment_target = '11.0'
ss.osx.deployment_target = '10.13'
ss.watchos.deployment_target = '4.0'
ss.tvos.deployment_target = '11.0'
end

s.subspec 'HealthKit' do |ss|
ss.source_files = Dir['Extensions/HealthKit/Sources/**/*']
ss.exclude_files = 'Extensions/HealthKit/Sources/*.plist'
ss.dependency 'PromiseKit/CorePromise'
ss.frameworks = 'HealthKit'
ss.ios.deployment_target = '9.0'
ss.watchos.deployment_target = '2.0'
ss.ios.deployment_target = '11.0'
ss.watchos.deployment_target = '4.0'
end

s.subspec 'HomeKit' do |ss|
ss.source_files = Dir['Extensions/HomeKit/Sources/**/*']
ss.exclude_files = 'Extensions/HomeKit/Sources/*.plist'
ss.dependency 'PromiseKit/CorePromise'
ss.frameworks = 'HomeKit'
ss.ios.deployment_target = '8.0'
ss.watchos.deployment_target = '3.0'
ss.tvos.deployment_target = '9.0'
ss.ios.deployment_target = '11.0'
ss.watchos.deployment_target = '4.0'
ss.tvos.deployment_target = '11.0'
end

s.subspec 'MapKit' do |ss|
ss.ios.source_files = ss.osx.source_files = ss.tvos.source_files = 'Extensions/MapKit/Sources/**/*'
ss.exclude_files = 'Extensions/MapKit/Sources/*.plist'
ss.ios.frameworks = ss.osx.frameworks = ss.tvos.frameworks = 'MapKit'
ss.dependency 'PromiseKit/CorePromise'
ss.ios.deployment_target = '8.0'
ss.osx.deployment_target = '10.10'
ss.watchos.deployment_target = '2.0'
ss.tvos.deployment_target = '9.2'
ss.ios.deployment_target = '11.0'
ss.osx.deployment_target = '10.13'
ss.watchos.deployment_target = '4.0'
ss.tvos.deployment_target = '11.0'
end

s.subspec 'MessageUI' do |ss|
ss.ios.source_files = 'Extensions/MessagesUI/Sources/**/*'
ss.exclude_files = 'Extensions/MessagesUI/Sources/*.plist'
ss.ios.frameworks = 'MessageUI'
ss.dependency 'PromiseKit/CorePromise'
ss.ios.deployment_target = '8.0'
ss.ios.deployment_target = '11.0'
end

s.subspec 'OMGHTTPURLRQ' do |ss|
ss.source_files = 'Extensions/OMGHTTPURLRQ/Sources/**/*'
ss.exclude_files = 'Extensions/OMGHTTPURLRQ/Sources/*.plist'
ss.dependency 'PromiseKit/Foundation'
ss.dependency 'OMGHTTPURLRQ', '~> 3.2'
ss.ios.deployment_target = '8.0'
ss.osx.deployment_target = '10.10'
ss.watchos.deployment_target = '2.0'
ss.tvos.deployment_target = '9.0'
ss.ios.deployment_target = '11.0'
ss.osx.deployment_target = '10.13'
ss.watchos.deployment_target = '4.0'
ss.tvos.deployment_target = '11.0'
end

s.subspec 'Photos' do |ss|
Expand All @@ -218,19 +218,19 @@ Pod::Spec.new do |s|
ss.ios.frameworks = ss.tvos.frameworks = ss.osx.frameworks = 'Photos'
ss.dependency 'PromiseKit/CorePromise'

ss.ios.deployment_target = '8.0'
ss.ios.deployment_target = '11.0'
ss.osx.deployment_target = '10.13'
ss.tvos.deployment_target = '10.0'
ss.tvos.deployment_target = '11.0'
end

s.subspec 'QuartzCore' do |ss|
ss.osx.source_files = ss.ios.source_files = ss.tvos.source_files = 'Extensions/QuartzCore/Sources/**/*'
ss.exclude_files = 'Extensions/QuartzCore/Sources/*.plist'
ss.osx.frameworks = ss.ios.frameworks = ss.tvos.frameworks = 'QuartzCore'
ss.dependency 'PromiseKit/CorePromise'
ss.ios.deployment_target = '8.0'
ss.osx.deployment_target = '10.10'
ss.tvos.deployment_target = '9.0'
ss.ios.deployment_target = '11.0'
ss.osx.deployment_target = '10.13'
ss.tvos.deployment_target = '11.0'
end

s.subspec 'Social' do |ss|
Expand All @@ -239,28 +239,28 @@ Pod::Spec.new do |s|
ss.osx.source_files = Dir['Extensions/Social/Sources/*'] - ['Categories/Social/Sources/*SLComposeViewController+Promise.swift']
ss.ios.frameworks = ss.osx.frameworks = 'Social'
ss.dependency 'PromiseKit/Foundation'
ss.ios.deployment_target = '8.0'
ss.osx.deployment_target = '10.10'
ss.ios.deployment_target = '11.0'
ss.osx.deployment_target = '10.13'
end

s.subspec 'StoreKit' do |ss|
ss.ios.source_files = ss.osx.source_files = ss.tvos.source_files = 'Extensions/StoreKit/Sources/**/*'
ss.exclude_files = 'Extensions/StoreKit/Sources/*.plist'
ss.ios.frameworks = ss.osx.frameworks = ss.tvos.frameworks = 'StoreKit'
ss.dependency 'PromiseKit/CorePromise'
ss.ios.deployment_target = '8.0'
ss.osx.deployment_target = '10.10'
ss.tvos.deployment_target = '9.0'
ss.ios.deployment_target = '11.0'
ss.osx.deployment_target = '10.13'
ss.tvos.deployment_target = '11.0'
end

s.subspec 'SystemConfiguration' do |ss|
ss.ios.source_files = ss.osx.source_files = ss.tvos.source_files = 'Extensions/SystemConfiguration/Sources/**/*'
ss.exclude_files = 'Extensions/SystemConfiguration/Sources/*.plist'
ss.ios.frameworks = ss.osx.frameworks = ss.tvos.frameworks = 'SystemConfiguration'
ss.dependency 'PromiseKit/CorePromise'
ss.ios.deployment_target = '8.0'
ss.osx.deployment_target = '10.10'
ss.tvos.deployment_target = '9.0'
ss.ios.deployment_target = '11.0'
ss.osx.deployment_target = '10.13'
ss.tvos.deployment_target = '11.0'
end

picker_cc = 'Extensions/UIKit/Sources/UIImagePickerController+Promise.swift'
Expand All @@ -270,8 +270,8 @@ Pod::Spec.new do |s|
ss.exclude_files = 'Extensions/UIKit/Sources/*.plist'
ss.tvos.frameworks = ss.ios.frameworks = 'UIKit'
ss.dependency 'PromiseKit/CorePromise'
ss.ios.deployment_target = '8.0'
ss.tvos.deployment_target = '9.0'
ss.ios.deployment_target = '11.0'
ss.tvos.deployment_target = '11.0'
end

s.subspec 'UIImagePickerController' do |ss|
Expand All @@ -288,15 +288,15 @@ Pod::Spec.new do |s|
ss.ios.frameworks = 'UIKit'
ss.ios.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => '$(inherited) PMKImagePickerController=1' }
ss.dependency 'PromiseKit/UIKit'
ss.ios.deployment_target = '8.0'
ss.ios.deployment_target = '11.0'
end

s.subspec 'WatchConnectivity' do |ss|
ss.ios.source_files = ss.watchos.source_files = 'Extensions/WatchConnectivity/Sources/**/*'
ss.exclude_files = 'Extensions/WatchConnectivity/Sources/*.plist'
ss.ios.frameworks = ss.watchos.frameworks = 'WatchConnectivity'
ss.dependency 'PromiseKit/CorePromise'
ss.ios.deployment_target = '8.0'
ss.watchos.deployment_target = '2.0'
ss.ios.deployment_target = '11.0'
ss.watchos.deployment_target = '4.0'
end
end
8 changes: 4 additions & 4 deletions PromiseKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
085B96BE21A9B37C00E5E22F /* LogEvent.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = LogEvent.swift; path = Sources/LogEvent.swift; sourceTree = "<group>"; };
0C42F3191FCF86240051309C /* HangTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HangTests.swift; sourceTree = "<group>"; };
0CC3AF2A1FCF84F7000E98C9 /* hang.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = hang.swift; path = Sources/hang.swift; sourceTree = "<group>"; };
1F1DCDF72A27AB6400E7A16B /* PromiseKit.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = PromiseKit.podspec; sourceTree = "<group>"; };
49A5584B1DC5172F00E4D01B /* ResolverTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ResolverTests.swift; sourceTree = "<group>"; };
630019221D596292003B4E30 /* PMKCoreTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PMKCoreTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
630A8051203CEF6800D25F23 /* AnyPromiseTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AnyPromiseTests.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -182,7 +183,6 @@
635893921D5BE4E000F14B55 /* PromiseKit.playground */ = {isa = PBXFileReference; lastKnownFileType = file.playground; path = PromiseKit.playground; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.swift; };
635893941D5BE4F900F14B55 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
635893951D5BE4F900F14B55 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
635893961D5BE4F900F14B55 /* PromiseKit.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; name = PromiseKit.podspec; path = .github/PromiseKit.podspec; sourceTree = "<group>"; };
635893971D5BE4F900F14B55 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
635D64081D59635300BC0AF5 /* PromiseTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PromiseTests.swift; sourceTree = "<group>"; };
635D64091D59635300BC0AF5 /* CancellableErrorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CancellableErrorTests.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -397,7 +397,7 @@
63B0AC6C1D595E6300FA21D9 /* Info.plist */,
635893941D5BE4F900F14B55 /* LICENSE */,
635893951D5BE4F900F14B55 /* Package.swift */,
635893961D5BE4F900F14B55 /* PromiseKit.podspec */,
1F1DCDF72A27AB6400E7A16B /* PromiseKit.podspec */,
);
name = "…";
sourceTree = "<group>";
Expand Down Expand Up @@ -946,7 +946,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 6.22.1;
CURRENT_PROJECT_VERSION = 6.23.0;
DEBUG_INFORMATION_FORMAT = dwarf;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand Down Expand Up @@ -1008,7 +1008,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 6.22.1;
CURRENT_PROJECT_VERSION = 6.23.0;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand Down
Loading

0 comments on commit 8bcaf68

Please sign in to comment.