1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 12:11:39 +08:00
Code Issues 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.pod_target_xcconfig = { 'USER_HEADER_SEARCH_PATHS' => '"$(SRCROOT)/../node_modules/react-native-update/ios"' }
s.dependency 'React' s.dependency 'React'
s.dependency 'SSZipArchive'
s.subspec 'RCTHotUpdate' do |ss| s.subspec 'RCTHotUpdate' do |ss|
ss.source_files = 'ios/RCTHotUpdate/*.{h,m}' ss.source_files = 'ios/RCTHotUpdate/*.{h,m}'
ss.public_header_files = ['ios/RCTHotUpdate/RCTHotUpdate.h'] ss.public_header_files = ['ios/RCTHotUpdate/RCTHotUpdate.h']
end 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| s.subspec 'BSDiff' do |ss|
ss.source_files = 'ios/RCTHotUpdate/BSDiff/**/*.{h,m,c}' ss.source_files = 'ios/RCTHotUpdate/BSDiff/**/*.{h,m,c}'
ss.private_header_files = 'ios/RCTHotUpdate/BSDiff/**/*.h' ss.private_header_files = 'ios/RCTHotUpdate/BSDiff/**/*.h'