mirror of
https://github.com/modo-studio/SugarRecord.git
synced 2024-09-11 14:36:41 +03:00
Updated podspec adding a new one for the iCloud storage
This commit is contained in:
parent
8cc6ef9d61
commit
22fe20fb09
@ -11,7 +11,6 @@ Pod::Spec.new do |s|
|
||||
|
||||
s.default_subspecs = 'Realm', 'CoreData'
|
||||
|
||||
s.tvos.deployment_target = '9.0'
|
||||
s.ios.deployment_target = "8.0"
|
||||
s.osx.deployment_target = "10.10"
|
||||
s.watchos.deployment_target = "2.0"
|
||||
@ -24,7 +23,7 @@ Pod::Spec.new do |s|
|
||||
end
|
||||
|
||||
rac_dependencies = lambda do |spec|
|
||||
spec.dependency "ReactiveCocoa", "4.0.0-RC.1"
|
||||
spec.dependency "ReactiveCocoa", "4.0.0-RC.2"
|
||||
end
|
||||
|
||||
realm_dependencies = lambda do |spec|
|
||||
@ -41,14 +40,18 @@ Pod::Spec.new do |s|
|
||||
|
||||
s.subspec "CoreData" do |spec|
|
||||
spec.source_files = ['SugarRecord/Source/Foundation/**/*.{swift}', 'SugarRecord/Source/CoreData/**/*.{swift}']
|
||||
spec.exclude_files = ['SugarRecord/Source/CoreData/Reactive/**/*.{swift}']
|
||||
spec.exclude_files = ['SugarRecord/Source/CoreData/Reactive/**/*.{swift}',
|
||||
'SugarRecord/Source/CoreData/Entities/iCloudConfig.swift',
|
||||
'SugarRecord/Source/CoreData/Storages/CoreDataiCloudStorage.swift']
|
||||
coredata_dependencies.call(spec)
|
||||
foundation_dependencies.call(spec)
|
||||
end
|
||||
|
||||
s.subspec "CoreData+RX" do |spec|
|
||||
spec.source_files = ['SugarRecord/Source/Foundation/**/*.{swift}', 'SugarRecord/Source/CoreData/**/*.{swift}', 'SugarRecord/Source/Reactive/**/*.{swift}']
|
||||
spec.exclude_files = ['SugarRecord/Source/Reactive/ReactiveCocoa/**/*.{swift}']
|
||||
spec.exclude_files = ['SugarRecord/Source/Reactive/ReactiveCocoa/**/*.{swift}',
|
||||
'SugarRecord/Source/CoreData/Entities/iCloudConfig.swift',
|
||||
'SugarRecord/Source/CoreData/Storages/CoreDataiCloudStorage.swift']
|
||||
rx_dependencies.call(spec)
|
||||
coredata_dependencies.call(spec)
|
||||
foundation_dependencies.call(spec)
|
||||
@ -56,7 +59,9 @@ Pod::Spec.new do |s|
|
||||
|
||||
s.subspec "CoreData+RAC" do |spec|
|
||||
spec.source_files = ['SugarRecord/Source/Foundation/**/*.{swift}', 'SugarRecord/Source/CoreData/**/*.{swift}', 'SugarRecord/Source/Reactive/**/*.{swift}']
|
||||
spec.exclude_files = ['SugarRecord/Source/Reactive/Rx/**/*.{swift}']
|
||||
spec.exclude_files = ['SugarRecord/Source/Reactive/Rx/**/*.{swift}',
|
||||
'SugarRecord/Source/CoreData/Entities/iCloudConfig.swift',
|
||||
'SugarRecord/Source/CoreData/Storages/CoreDataiCloudStorage.swift']
|
||||
rac_dependencies.call(spec)
|
||||
coredata_dependencies.call(spec)
|
||||
foundation_dependencies.call(spec)
|
||||
|
@ -228,12 +228,8 @@
|
||||
23554C0D1C2F348700DAAF3F /* Quick.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 23554C0B1C2F348700DAAF3F /* Quick.framework */; };
|
||||
23554C0E1C2F348F00DAAF3F /* Nimble.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = 23554C0A1C2F348700DAAF3F /* Nimble.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
|
||||
23554C0F1C2F348F00DAAF3F /* Quick.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = 23554C0B1C2F348700DAAF3F /* Quick.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
|
||||
2388637A1C5C239C0048B691 /* CoreDataiCloudStorage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 238863791C5C239C0048B691 /* CoreDataiCloudStorage.swift */; };
|
||||
2388637B1C5C239C0048B691 /* CoreDataiCloudStorage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 238863791C5C239C0048B691 /* CoreDataiCloudStorage.swift */; };
|
||||
2388637C1C5C239C0048B691 /* CoreDataiCloudStorage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 238863791C5C239C0048B691 /* CoreDataiCloudStorage.swift */; };
|
||||
2388637D1C5C239C0048B691 /* CoreDataiCloudStorage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 238863791C5C239C0048B691 /* CoreDataiCloudStorage.swift */; };
|
||||
2388637F1C5C285F0048B691 /* iCloudConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2388637E1C5C285F0048B691 /* iCloudConfig.swift */; };
|
||||
238863801C5C285F0048B691 /* iCloudConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2388637E1C5C285F0048B691 /* iCloudConfig.swift */; };
|
||||
238863811C5C285F0048B691 /* iCloudConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2388637E1C5C285F0048B691 /* iCloudConfig.swift */; };
|
||||
238863821C5C285F0048B691 /* iCloudConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2388637E1C5C285F0048B691 /* iCloudConfig.swift */; };
|
||||
239C8E051BF48B680025DB9A /* ContextParent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 239C8E041BF48B680025DB9A /* ContextParent.swift */; };
|
||||
@ -1769,9 +1765,7 @@
|
||||
2353E6451BED4AC00081E6E7 /* Request.swift in Sources */,
|
||||
2353E6411BED4AC00081E6E7 /* CoreDataDefaultStorage.swift in Sources */,
|
||||
2353E67B1BED52150081E6E7 /* Options.swift in Sources */,
|
||||
2388637A1C5C239C0048B691 /* CoreDataiCloudStorage.swift in Sources */,
|
||||
2353E66C1BED4B9C0081E6E7 /* CoreDataErrors.swift in Sources */,
|
||||
2388637F1C5C285F0048B691 /* iCloudConfig.swift in Sources */,
|
||||
2353E6711BED4DF50081E6E7 /* ObjectModel.swift in Sources */,
|
||||
2353E65D1BED4AC00081E6E7 /* NSSortDescriptorConvertible.swift in Sources */,
|
||||
2353E6671BED4B250081E6E7 /* CoreData.swift in Sources */,
|
||||
@ -1801,9 +1795,7 @@
|
||||
2353E6421BED4AC00081E6E7 /* CoreDataDefaultStorage.swift in Sources */,
|
||||
2353E67C1BED52150081E6E7 /* Options.swift in Sources */,
|
||||
23F3F3661C1DF2D6009A5CC1 /* ReactiveStorage.swift in Sources */,
|
||||
2388637B1C5C239C0048B691 /* CoreDataiCloudStorage.swift in Sources */,
|
||||
2353E66D1BED4B9C0081E6E7 /* CoreDataErrors.swift in Sources */,
|
||||
238863801C5C285F0048B691 /* iCloudConfig.swift in Sources */,
|
||||
2353E6721BED4DF50081E6E7 /* ObjectModel.swift in Sources */,
|
||||
2353E65E1BED4AC00081E6E7 /* NSSortDescriptorConvertible.swift in Sources */,
|
||||
2353E6681BED4B250081E6E7 /* CoreData.swift in Sources */,
|
||||
|
27
SugarRecordiCloud.podspec
Normal file
27
SugarRecordiCloud.podspec
Normal file
@ -0,0 +1,27 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "SugarRecordiCloud"
|
||||
s.version = "2.1.9"
|
||||
s.summary = "SugarRecord extension adding iCloud support"
|
||||
s.homepage = "https://github.com/pepibumur/SugarRecord"
|
||||
s.license = 'MIT'
|
||||
s.author = { "Pedro" => "pedro@gitdo.io" }
|
||||
s.source = { :git => "https://github.com/pepibumur/SugarRecord.git", :tag => s.version.to_s }
|
||||
s.social_media_url = 'https://twitter.com/pepibumur'
|
||||
s.requires_arc = true
|
||||
|
||||
s.ios.deployment_target = "8.0"
|
||||
s.osx.deployment_target = "10.10"
|
||||
|
||||
s.source_files = [ 'SugarRecord/Source/CoreData/Entities/iCloudConfig.swift', 'SugarRecord/Source/CoreData/Storages/CoreDataiCloudStorage.swift']
|
||||
|
||||
s.dependency "SugarRecord"
|
||||
|
||||
s.subspec "RX" do |spec|
|
||||
spec.dependency "SugarRecord/CoreData+RX"
|
||||
end
|
||||
|
||||
s.subspec "RAC" do |spec|
|
||||
spec.dependency "SugarRecord/CoreData+RAC"
|
||||
end
|
||||
|
||||
end
|
Loading…
Reference in New Issue
Block a user