1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

使用第三方的SSZipArchive以避免重复

This commit is contained in:
sunnylqm 2019-09-01 20:55:59 +08:00
parent cfdc26f71d
commit 93d2a6cccb

View File

@ -18,17 +18,13 @@ Pod::Spec.new do |s|
s.pod_target_xcconfig = { 'USER_HEADER_SEARCH_PATHS' => '"$(SRCROOT)/../node_modules/react-native-update/ios"' }
s.dependency 'React'
s.dependency 'SSZipArchive'
s.subspec 'RCTHotUpdate' do |ss|
ss.source_files = 'ios/RCTHotUpdate/*.{h,m}'
ss.public_header_files = ['ios/RCTHotUpdate/RCTHotUpdate.h']
end
s.subspec 'SSZipArchive' do |ss|
ss.source_files = 'ios/RCTHotUpdate/SSZipArchive/**/*.{h,m,c}'
ss.private_header_files = 'ios/RCTHotUpdate/SSZipArchive/**/*.h'
end
s.subspec 'BSDiff' do |ss|
ss.source_files = 'ios/RCTHotUpdate/BSDiff/**/*.{h,m,c}'
ss.private_header_files = 'ios/RCTHotUpdate/BSDiff/**/*.h'