diff --git a/YBImageBrowser.podspec b/YBImageBrowser.podspec index 0d4202d..32fdcc8 100644 --- a/YBImageBrowser.podspec +++ b/YBImageBrowser.podspec @@ -27,17 +27,11 @@ Pod::Spec.new do |s| s.default_subspec = "Core" - s.subspec "SD" do |sd| - sd.source_files = "YBImageBrowser/WebImageMediator/*.{h,m}" - sd.dependency 'SDWebImage', '>= 5.0.0' - end - s.subspec "Core" do |core| core.source_files = "YBImageBrowser/**/*.{h,m}" - core.exclude_files = "YBImageBrowser/WebImageMediator/YBIBDefaultWebImageMediator.{h,m}" core.resources = "YBImageBrowser/YBImageBrowser.bundle" - core.dependency 'YBImageBrowser/SD' core.dependency 'YYImage' + core.dependency 'SDWebImage', '>= 5.0.0' end s.subspec "NOSD" do |core| core.source_files = "YBImageBrowser/**/*.{h,m}"