mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-16 12:11:39 +08:00
使用第三方的SSZipArchive以避免重复
This commit is contained in:
@@ -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'
|
||||||
|
Reference in New Issue
Block a user