From 66d7f37643be45bfcd306025f083801c0189dd08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 1 Aug 2018 08:22:13 +0200 Subject: [PATCH] https://github.com/CocoaPods/CocoaPods/issues/7333 :sob: --- GRDB.swift.podspec | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/GRDB.swift.podspec b/GRDB.swift.podspec index 3e369ed47..4d5aea8f2 100644 --- a/GRDB.swift.podspec +++ b/GRDB.swift.podspec @@ -1,7 +1,3 @@ -def self.grdb_common(s) - s.source_files = 'GRDB/**/*.swift', 'Support/*.h' -end - Pod::Spec.new do |s| s.name = 'GRDB.swift' s.version = '3.2.0' @@ -12,7 +8,6 @@ Pod::Spec.new do |s| s.author = { 'Gwendal Roué' => 'gr@pierlis.com' } s.source = { :git => 'https://github.com/groue/GRDB.swift.git', :tag => "v#{s.version}" } s.module_name = 'GRDB' - s.module_map = 'Support/module.modulemap' s.framework = 'Foundation' s.library = 'sqlite3' @@ -20,14 +15,15 @@ Pod::Spec.new do |s| s.default_subspec = 'default' s.subspec 'default' do |ss| - grdb_common(ss) + ss.source_files = 'GRDB/**/*.swift', 'Support/*.h' ss.ios.deployment_target = '8.0' ss.osx.deployment_target = '10.9' ss.watchos.deployment_target = '2.0' end + # https://github.com/CocoaPods/CocoaPods/issues/7333 s.subspec 'FTS5' do |ss| - grdb_common(ss) + ss.source_files = 'GRDB/**/*.swift', 'Support/*.h' ss.ios.deployment_target = '11.4' ss.osx.deployment_target = '10.13' ss.watchos.deployment_target = '4.3'