Skip to content

Commit 6352eb6

Browse files
committed
Fixed a couple of Podspec errors
1 parent e766f11 commit 6352eb6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

UnzipKit.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Pod::Spec.new do |s|
1818
s.private_header_files = "Source/UZKFileInfo_Private.h"
1919
s.source_files = "Source/**/*.{h,m,swift}"
2020
s.exclude_files = 'Resources/**/Info.plist'
21+
s.preserve_paths = 'Scripts/generate-swift-import-header.sh'
2122
s.resource_bundles = {
2223
'UnzipKitResources' => ['Resources/**/*']
2324
}
@@ -26,8 +27,7 @@ Pod::Spec.new do |s|
2627
:execution_position => :before_compile }
2728
s.test_spec 'Tests' do |test_spec|
2829
test_spec.source_files = 'Tests/*.{h,m,swift}'
29-
test_spec.exclude_files = 'Tests/ExtractFilesTests.m',
30-
'Tests/UnzipKitTests-Bridging-Header.h'
30+
test_spec.exclude_files = 'Tests/ExtractFilesTests.m'
3131
test_spec.preserve_paths = 'Tests/UnzipKitTests-Bridging-Header.h'
3232
test_spec.resources = ['Tests/Test Data']
3333
test_spec.pod_target_xcconfig = {

0 commit comments

Comments
 (0)