summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2017-08-16 14:46:37 -0400
committerJoel Fischer <joeljfischer@gmail.com>2017-08-16 14:46:37 -0400
commit24e7273cbbbd3d9c3a8098a98131b121cd013795 (patch)
treebd00fb0e46793513c099f8555de75a538b7702af
parentd178027fc21d78c08f55c78df19d60f0d126e5e5 (diff)
downloadsdl_ios-24e7273cbbbd3d9c3a8098a98131b121cd013795.tar.gz
Fix SmartDeviceLink.podspec
-rw-r--r--SmartDeviceLink-iOS.podspec1
-rw-r--r--SmartDeviceLink.podspec20
2 files changed, 17 insertions, 4 deletions
diff --git a/SmartDeviceLink-iOS.podspec b/SmartDeviceLink-iOS.podspec
index 9678d5516..8de7bca7f 100644
--- a/SmartDeviceLink-iOS.podspec
+++ b/SmartDeviceLink-iOS.podspec
@@ -7,6 +7,7 @@ s.homepage = "https://github.com/smartdevicelink/SmartDeviceLink-iOS"
s.license = { :type => "New BSD", :file => "LICENSE" }
s.author = { "SmartDeviceLink Team" => "developer@smartdevicelink.com" }
s.platform = :ios, "8.0"
+s.dependency 'BiSON', '~> 1.0'
s.source = { :git => "https://github.com/smartdevicelink/sdl_ios.git", :tag => s.version.to_s }
s.requires_arc = true
s.resource_bundles = { 'SmartDeviceLink' => ['SmartDeviceLink/Assets/**/*'] }
diff --git a/SmartDeviceLink.podspec b/SmartDeviceLink.podspec
index 3acb2f6b9..d4e962544 100644
--- a/SmartDeviceLink.podspec
+++ b/SmartDeviceLink.podspec
@@ -6,12 +6,18 @@ s.summary = "Connect your app with cars!"
s.homepage = "https://github.com/smartdevicelink/SmartDeviceLink-iOS"
s.license = { :type => "New BSD", :file => "LICENSE" }
s.author = { "SmartDeviceLink Team" => "developer@smartdevicelink.com" }
-s.platform = :ios, "6.0"
+s.platform = :ios, "8.0"
+s.dependency 'BiSON', '~> 1.0'
s.source = { :git => "https://github.com/smartdevicelink/sdl_ios.git", :tag => s.version.to_s }
-s.source_files = ["SmartDeviceLink/*.{h,m}", "bson_c_lib/src/**.{h,c}"]
s.requires_arc = true
-s.resource_bundles = { 'SmartDeviceLink' => ['SmartDeviceLink/Assets/**/*', 'SmartDeviceLink/iOS 7 Assets/*'] }
-s.public_header_files = [
+s.resource_bundles = { 'SmartDeviceLink' => ['SmartDeviceLink/Assets/**/*'] }
+
+s.default_subspecs = 'Default'
+
+s.subspec 'Default' do |ss|
+ss.source_files = 'SmartDeviceLink/*.{h,m}'
+
+ss.public_header_files = [
'SmartDeviceLink/NSNumber+NumberType.h',
'SmartDeviceLink/SDLAbstractProtocol.h',
'SmartDeviceLink/SDLAbstractTransport.h',
@@ -298,5 +304,11 @@ s.public_header_files = [
'SmartDeviceLink/SDLWiperStatus.h',
'SmartDeviceLink/SmartDeviceLink.h',
]
+end
+
+s.subspec 'Swift' do |ss|
+ss.dependency 'SmartDeviceLink-iOS/Default'
+ss.source_files = 'SmartDeviceLinkSwift/*.swift'
+end
end