forked from mentrena/SyncKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SyncKit.podspec
59 lines (49 loc) · 2.03 KB
/
SyncKit.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#
# Be sure to run `pod lib lint SyncKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'SyncKit'
s.version = '0.6.3'
s.summary = 'CloudKit synchronization for your Core Data or Realm model.'
s.description = <<-DESC
SyncKit automates the process of synchronizing your Core Data/Realm models using CloudKit. It can easily be plugged into (and removed from) your existing stack.
DESC
s.homepage = 'https://github.com/mentrena/SyncKit'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Manuel Entrena' => '[email protected]' }
s.source = { :git => 'https://github.com/mentrena/SyncKit.git', :tag => s.version.to_s }
s.swift_version = '4.1'
s.module_name = 'SyncKit'
s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.12'
s.watchos.deployment_target = '3.0'
s.default_subspec = 'Core'
s.subspec 'Core' do |cs|
cs.public_header_files = 'SyncKit/Classes/QSSynchronizer/*.h'
cs.source_files = 'SyncKit/Classes/QSSynchronizer/*.{h,m,swift}', 'SyncKit/Classes/QSSynchronizer/Operations/*.swift'
cs.frameworks = 'CloudKit'
end
s.subspec 'CoreData' do |cs|
cs.dependency 'SyncKit/Core'
cs.public_header_files = 'SyncKit/Classes/CoreData/*.h'
cs.source_files = 'SyncKit/Classes/CoreData/*.{h,m,swift}'
cs.preserve_paths = 'SyncKit/Classes/CoreData/*.xcdatamodeld'
cs.resources = 'SyncKit/Classes/CoreData/*.xcdatamodeld'
cs.frameworks = 'CoreData'
end
s.subspec 'Realm' do |cs|
cs.dependency 'SyncKit/Core'
cs.dependency 'Realm', '~> 3.0'
cs.public_header_files = 'SyncKit/Classes/Realm/*.h'
cs.source_files = 'SyncKit/Classes/Realm/*.{h,m,swift}'
end
s.subspec 'RealmSwift' do |cs|
cs.dependency 'SyncKit/Core'
cs.dependency 'RealmSwift', '~> 3.0'
cs.source_files = 'SyncKit/Classes/RealmSwift/*.swift'
end
end