@@ -8,7 +8,6 @@ Pod::Spec.new do |spec|
88 spec . source = { :git => 'https://github.com/ra1028/DiffableDataSources.git' , :tag => spec . version . to_s }
99 spec . license = { :type => 'Apache 2.0' , :file => 'LICENSE' }
1010 spec . requires_arc = true
11- spec . source_files = 'Sources/**/*.swift'
1211 spec . swift_versions = [ "5.0" , "5.1" ]
1312
1413 differenekit_version = '~> 1.1'
@@ -17,11 +16,16 @@ Pod::Spec.new do |spec|
1716 spec . tvos . dependency 'DifferenceKit/UIKitExtension' , differenekit_version
1817 spec . osx . dependency 'DifferenceKit/AppKitExtension' , differenekit_version
1918
20- spec . ios . frameworks = 'UIKit'
19+ spec . source_files = 'Sources/Internal/*.swift' , 'Sources/*.swift'
20+ spec . ios . source_files = 'Sources/UIKit/*.swift'
21+ spec . tvos . source_files = 'Sources/UIKit/*.swift'
22+ spec . osx . source_files = 'Sources/AppKit/*.swift'
23+
24+ spec . ios . frameworks = 'UIKit'
2125 spec . tvos . frameworks = 'UIKit'
22- spec . osx . frameworks = 'Appkit'
26+ spec . osx . frameworks = 'Appkit'
2327
24- spec . ios . deployment_target = '9.0'
28+ spec . ios . deployment_target = '9.0'
2529 spec . tvos . deployment_target = '9.0'
26- spec . osx . deployment_target = '10.11'
30+ spec . osx . deployment_target = '10.11'
2731end
0 commit comments