-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathESFramework.podspec
43 lines (34 loc) · 1.54 KB
/
ESFramework.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Pod::Spec.new do |s|
s.name = 'ESFramework'
s.version = '3.27.7'
s.license = 'MIT'
s.summary = 'An efficient, lightweight foundational framework for iOS, macOS, tvOS, watchOS, and Mac Catalyst.'
s.homepage = 'https://github.com/ElfSundae/ESFramework'
s.social_media_url = 'https://twitter.com/ElfSundae'
s.authors = { 'Elf Sundae' => 'https://0x123.com' }
s.source = { :git => 'https://github.com/ElfSundae/ESFramework.git', :tag => s.version }
s.ios.deployment_target = '9.0'
s.tvos.deployment_target = '9.0'
s.osx.deployment_target = '10.10'
s.watchos.deployment_target = '2.0'
s.ios.pod_target_xcconfig = { 'PRODUCT_BUNDLE_IDENTIFIER' => 'com.0x123.ESFramework' }
s.tvos.pod_target_xcconfig = { 'PRODUCT_BUNDLE_IDENTIFIER' => 'com.0x123.ESFramework' }
s.osx.pod_target_xcconfig = { 'PRODUCT_BUNDLE_IDENTIFIER' => 'com.0x123.ESFramework' }
s.watchos.pod_target_xcconfig = { 'PRODUCT_BUNDLE_IDENTIFIER' => 'com.0x123.ESFramework-watchOS' }
s.source_files = 'ESFramework/ESFramework.h'
s.subspec 'Foundation' do |ss|
ss.source_files = 'ESFramework/Foundation/*.{h,m}'
end
s.subspec 'Network' do |ss|
ss.source_files = 'ESFramework/Network/*.{h,m}'
ss.dependency 'ESFramework/Foundation'
end
s.subspec 'UIKit' do |ss|
ss.ios.deployment_target = '9.0'
ss.tvos.deployment_target = '9.0'
ss.watchos.deployment_target = '2.0'
ss.source_files = 'ESFramework/UIKit/*.{h,m}'
ss.dependency 'ESFramework/Foundation'
ss.dependency 'ESFramework/Network'
end
end