summaryrefslogtreecommitdiff
path: root/SmartDeviceLink-iOS.podspec
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2017-03-09 11:27:55 -0500
committerJoel Fischer <joeljfischer@gmail.com>2017-03-09 11:27:55 -0500
commit584f5ef9e3d2344e98fa034af3712a4be9c03399 (patch)
treedb9e0b88177d79e80927c34f559492b3730c395c /SmartDeviceLink-iOS.podspec
parent0a8a5724af8293e99f0218c9fa4b33f7d4fb3ee9 (diff)
downloadsdl_ios-584f5ef9e3d2344e98fa034af3712a4be9c03399.tar.gz
Update podspec with a swift subspec
Diffstat (limited to 'SmartDeviceLink-iOS.podspec')
-rw-r--r--SmartDeviceLink-iOS.podspec15
1 files changed, 13 insertions, 2 deletions
diff --git a/SmartDeviceLink-iOS.podspec b/SmartDeviceLink-iOS.podspec
index b47e1310e..0d9593f7e 100644
--- a/SmartDeviceLink-iOS.podspec
+++ b/SmartDeviceLink-iOS.podspec
@@ -8,10 +8,15 @@ s.license = { :type => "New BSD", :file => "LICENSE" }
s.author = { "SmartDeviceLink Team" => "developer@smartdevicelink.com" }
s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/smartdevicelink/sdl_ios.git", :tag => s.version.to_s }
-s.source_files = "SmartDeviceLink/*.{h,m}"
s.requires_arc = true
s.resource_bundles = { 'SmartDeviceLink' => ['SmartDeviceLink/Assets/**/*'] }
-s.public_header_files = [
+
+s.default_subspecs = 'Default'
+
+s.subspec 'Default' do |ss|
+ss.source_files = 'SmartDeviceLink/*.{h,m}'
+
+ss.public_header_files = [
'SmartDeviceLink/SmartDeviceLink.h',
'SmartDeviceLink/SDLJingle.h',
'SmartDeviceLink/SDLProxy.h',
@@ -291,5 +296,11 @@ s.public_header_files = [
'SmartDeviceLink/SDLLogManager.h',
'SmartDeviceLink/SDLLogMacros.h'
]
+end
+
+s.subspec 'Swift' do |ss|
+ss.dependency 'SmartDeviceLink-iOS/Default'
+ss.source_files = 'SmartDeviceLinkSwift/*.swift'
+end
end