From bc8b06006325fe2e2775db8b3088c45994f5af41 Mon Sep 17 00:00:00 2001 From: banjun Date: Sun, 15 Mar 2015 17:45:39 +0900 Subject: [PATCH] not include ios classes for platform :osx --- AsakusaSatellite.podspec | 12 ++++-------- Classes/{iOS => ios}/TwitterAuthViewController.swift | 0 Example/Podfile.lock | 7 +------ 3 files changed, 5 insertions(+), 14 deletions(-) rename Classes/{iOS => ios}/TwitterAuthViewController.swift (100%) diff --git a/AsakusaSatellite.podspec b/AsakusaSatellite.podspec index c7008c8..dcd3311 100644 --- a/AsakusaSatellite.podspec +++ b/AsakusaSatellite.podspec @@ -9,17 +9,13 @@ Pod::Spec.new do |s| s.license = "MIT" s.author = { "banjun" => "banjun@gmail.com" } s.ios.deployment_target = "8.0" - # s.osx.deployment_target = "10.10" + s.osx.deployment_target = "10.10" s.source = { :git => "https://github.com/codefirst/AsakusaSatelliteSwiftClient.git", :tag => "0.0.1" } - s.source_files = "Classes/*.swift" + s.source_files = 'Classes/*.swift' + s.ios.source_files = 'Classes/ios/*.swift' + s.osx.source_files = '' s.requires_arc = true s.dependency "Alamofire", "~> 1.1" s.dependency "SwiftyJSON", "~> 2.1" s.dependency "Socket.IO-Client-Swift", "~> 1.1" - - s.subspec 'iOS' do |ss| - ss.ios.deployment_target = '8.0' - ss.ios.source_files = 'Classes/iOS/*.swift' - ss.osx.source_files = '' - end end diff --git a/Classes/iOS/TwitterAuthViewController.swift b/Classes/ios/TwitterAuthViewController.swift similarity index 100% rename from Classes/iOS/TwitterAuthViewController.swift rename to Classes/ios/TwitterAuthViewController.swift diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 669dfe5..05dc2ad 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,11 +1,6 @@ PODS: - Alamofire (1.1.4) - AsakusaSatellite (0.0.1): - - Alamofire (~> 1.1) - - AsakusaSatellite/iOS (= 0.0.1) - - Socket.IO-Client-Swift (~> 1.1) - - SwiftyJSON (~> 2.1) - - AsakusaSatellite/iOS (0.0.1): - Alamofire (~> 1.1) - Socket.IO-Client-Swift (~> 1.1) - SwiftyJSON (~> 2.1) @@ -21,7 +16,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Alamofire: 524225da382071ee3e6d0badd0ee4b4dc36740de - AsakusaSatellite: cb907d6e78a5fae603aac0166341c2004b544b96 + AsakusaSatellite: 499c3117a42e276856fbd04608e38d40718b1c71 Socket.IO-Client-Swift: 23d9f0db0cdcb98623486ddf0ee811b158e9cd02 SwiftyJSON: 48be7490a3989a58a3f511cd54167f0a2b466e76