From 1b5cff2f3da8bc16e46b617c0c5af30d1e52432a Mon Sep 17 00:00:00 2001 From: RuslaYupyn Date: Fri, 8 Jul 2016 18:18:13 +0300 Subject: [PATCH 1/2] Podspecs added podspec file with iOS, watchOS and tvOS dependencies; --- RunLoop.podspec | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 RunLoop.podspec diff --git a/RunLoop.podspec b/RunLoop.podspec new file mode 100644 index 0000000..23abf1e --- /dev/null +++ b/RunLoop.podspec @@ -0,0 +1,33 @@ +Pod::Spec.new do |s| + s.name = "RunLoop" + s.version = "0.1.1" + s.license = { :type => "Apache 2", :file => "LICENSE" } + s.summary = "Swift run loops with different underlying implementations" + s.homepage = "https://github.com/reactive-swift/RunLoop" + s.social_media_url = "https://github.com/reactive-swift/RunLoop" + s.authors = { "Daniel Leping" => "daniel@crossroadlabs.xyz" } + + s.source = { :git => "https://github.com/reactive-swift/RunLoop.git", :tag => "#{s.version}" } + + s.platform = :ios, :watchos, :tvos + + 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.source_files = "RunLoop/*.swift", + s.ios.exclude_files = "RunLoop/UVRunLoop.swift" + s.watchos.exclude_files = "RunLoop/UVRunLoop.swift" + s.tvos.exclude_files = "RunLoop/UVRunLoop.swift" + + s.ios.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-Dnouv' } + s.watchos.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-Dnouv' } + s.tvos.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-Dnouv' } + + s.dependency 'Boilerplate', '~> 0.1.0' + s.dependency 'Foundation3', '~> 0.1.1' + + s.requires_arc = true + +end \ No newline at end of file From 45d5e225ad6e6b79c8565b30fa1fad134bbe3011 Mon Sep 17 00:00:00 2001 From: RuslaYupyn Date: Fri, 8 Jul 2016 18:32:34 +0300 Subject: [PATCH 2/2] updated pod spec added OSX target; --- RunLoop.podspec | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/RunLoop.podspec b/RunLoop.podspec index 23abf1e..72c1cd1 100644 --- a/RunLoop.podspec +++ b/RunLoop.podspec @@ -8,22 +8,16 @@ Pod::Spec.new do |s| s.authors = { "Daniel Leping" => "daniel@crossroadlabs.xyz" } s.source = { :git => "https://github.com/reactive-swift/RunLoop.git", :tag => "#{s.version}" } - - s.platform = :ios, :watchos, :tvos s.ios.deployment_target = "8.0" - # s.osx.deployment_target = "10.10" + s.osx.deployment_target = "10.10" s.watchos.deployment_target = "2.0" s.tvos.deployment_target = "9.0" s.source_files = "RunLoop/*.swift", - s.ios.exclude_files = "RunLoop/UVRunLoop.swift" - s.watchos.exclude_files = "RunLoop/UVRunLoop.swift" - s.tvos.exclude_files = "RunLoop/UVRunLoop.swift" + s.exclude_files = "RunLoop/UVRunLoop.swift" - s.ios.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-Dnouv' } - s.watchos.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-Dnouv' } - s.tvos.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-Dnouv' } + s.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-Dnouv' } s.dependency 'Boilerplate', '~> 0.1.0' s.dependency 'Foundation3', '~> 0.1.1'