forked from lmirosevic/GBDeviceInfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGBDeviceInfo.podspec
27 lines (25 loc) · 1.77 KB
/
GBDeviceInfo.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Pod::Spec.new do |s|
s.name = 'GBDeviceInfo'
s.version = '5.2.0'
s.summary = 'Detects the hardware, software and display of the current iOS or Mac OS X device at runtime.'
s.author = 'Luka Mirosevic'
s.homepage = 'https://github.com/lmirosevic/GBDeviceInfo'
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.source = { :git => 'https://github.com/lmirosevic/GBDeviceInfo.git', :tag => s.version.to_s }
s.requires_arc = true
s.ios.deployment_target = '6.0'
s.osx.deployment_target = '10.10'
s.default_subspec = 'Core'
s.subspec 'Core' do |ss|
ss.ios.source_files = 'GBDeviceInfo/*_iOS.{h,m}', 'GBDeviceInfo/*_Common.{h,m}', 'GBDeviceInfo/GBDeviceInfo.h', 'GBDeviceInfo/GBDeviceInfoInterface.h', 'GBDeviceInfo/GBDeviceInfo_Subclass.h'
ss.ios.public_header_files = 'GBDeviceInfo/*_iOS.h', 'GBDeviceInfo/*_Common.h', 'GBDeviceInfo/GBDeviceInfo.h', 'GBDeviceInfo/GBDeviceInfoInterface.h', 'GBDeviceInfo/GBDeviceInfo_Subclass.h'
ss.osx.source_files = 'GBDeviceInfo/*_OSX.{h,m}', 'GBDeviceInfo/*_Common.{h,m}', 'GBDeviceInfo/GBDeviceInfo.h', 'GBDeviceInfo/GBDeviceInfoInterface.h', 'GBDeviceInfo/GBDeviceInfo_Subclass.h'
ss.osx.public_header_files = 'GBDeviceInfo/*_OSX.h', 'GBDeviceInfo/*_Common.h', 'GBDeviceInfo/GBDeviceInfo.h', 'GBDeviceInfo/GBDeviceInfoInterface.h', 'GBDeviceInfo/GBDeviceInfo_Subclass.h'
ss.osx.frameworks = 'Cocoa', 'CoreServices', 'Foundation'
ss.ios.frameworks = 'Foundation'
end
s.subspec 'Jailbreak' do |ss|
ss.platform = :ios
ss.ios.dependency 'GBJailbreakDetection', '~> 1.3'
end
end