2018-02-10 23:54:36 -08:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
s.name = 'PromisesSwift'
|
2026-06-09 12:48:00 -04:00
|
|
|
s.version = '2.4.1'
|
2018-02-10 23:54:36 -08:00
|
|
|
s.authors = 'Google Inc.'
|
2022-09-06 12:41:02 -07:00
|
|
|
s.license = { :type => 'Apache-2.0', :file => 'LICENSE' }
|
2018-02-10 23:54:36 -08:00
|
|
|
s.homepage = 'https://github.com/google/promises'
|
|
|
|
|
s.source = { :git => 'https://github.com/google/promises.git', :tag => s.version }
|
|
|
|
|
s.summary = 'Synchronization construct for Swift'
|
|
|
|
|
s.description = <<-DESC
|
|
|
|
|
|
|
|
|
|
Promises is a modern framework that provides a synchronization construct for
|
|
|
|
|
Swift to facilitate writing asynchronous code.
|
|
|
|
|
DESC
|
|
|
|
|
|
2024-01-26 15:13:45 -05:00
|
|
|
# Ensure developers won't hit CocoaPods/CocoaPods#11402 with the resource
|
|
|
|
|
# bundle for the privacy manifest.
|
|
|
|
|
s.cocoapods_version = '>= 1.12.0'
|
|
|
|
|
|
2020-09-30 08:42:07 -07:00
|
|
|
s.ios.deployment_target = '9.0'
|
2023-07-21 07:50:14 -07:00
|
|
|
s.osx.deployment_target = '10.11'
|
2018-02-10 23:54:36 -08:00
|
|
|
s.tvos.deployment_target = '9.0'
|
2018-02-27 18:58:45 -08:00
|
|
|
s.watchos.deployment_target = '2.0'
|
2023-12-14 09:39:13 +01:00
|
|
|
s.visionos.deployment_target = '1.0'
|
2020-08-07 00:35:57 +02:00
|
|
|
s.swift_versions = ['5.0', '5.2']
|
2018-02-10 23:54:36 -08:00
|
|
|
|
|
|
|
|
s.module_name = 'Promises'
|
|
|
|
|
s.source_files = "Sources/#{s.module_name}/*.{swift}"
|
2024-01-10 11:49:16 -08:00
|
|
|
s.resource_bundle = {
|
2024-01-12 18:30:10 -05:00
|
|
|
"#{s.module_name}_Privacy" => "Sources/#{s.module_name}/Resources/PrivacyInfo.xcprivacy"
|
2024-01-10 11:49:16 -08:00
|
|
|
}
|
2018-02-10 23:54:36 -08:00
|
|
|
s.dependency 'PromisesObjC', "#{s.version}"
|
|
|
|
|
end
|