Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit f6565ec

Browse files
committed
Merge pull request #369 from nevir/patch-1
Explicitly mark SSZipArchive headers as private
2 parents cd52203 + ab75c90 commit f6565ec

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

CodePush.podspec

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
44

55
Pod::Spec.new do |s|
66

7-
s.name = 'CodePush'
8-
s.version = package['version'].sub('-beta', '')
9-
s.summary = 'React Native module for the CodePush service'
10-
s.author = 'Microsoft Corporation'
11-
s.license = 'MIT'
12-
s.homepage = 'http://microsoft.github.io/code-push/'
13-
s.source = { :git => 'https://github.com/Microsoft/react-native-code-push.git', :tag => "v#{s.version}-beta" }
14-
s.platform = :ios, '7.0'
15-
s.public_header_files = 'ios/CodePush/CodePush.h'
16-
s.preserve_paths = '*.js'
17-
s.library = 'z'
7+
s.name = 'CodePush'
8+
s.version = package['version'].sub('-beta', '')
9+
s.summary = 'React Native module for the CodePush service'
10+
s.author = 'Microsoft Corporation'
11+
s.license = 'MIT'
12+
s.homepage = 'http://microsoft.github.io/code-push/'
13+
s.source = { :git => 'https://github.com/Microsoft/react-native-code-push.git', :tag => "v#{s.version}-beta"}
14+
s.platform = :ios, '7.0'
15+
s.preserve_paths = '*.js'
16+
s.library = 'z'
17+
1818
s.dependency 'React'
19-
20-
s.default_subspec = 'Full'
21-
22-
s.subspec 'Full' do |ss|
23-
ss.source_files = 'ios/CodePush/*.{h,m}', 'ios/CodePush/SSZipArchive/*.{h,m}', 'ios/CodePush/SSZipArchive/aes/*.{h,c}', 'ios/CodePush/SSZipArchive/minizip/*.{h,c}'
19+
20+
s.subspec 'Core' do |ss|
21+
ss.source_files = 'ios/CodePush/*.{h,m}'
22+
ss.public_header_files = ['ios/CodePush/CodePush.h']
2423
end
25-
26-
s.subspec 'NoZip' do |ss|
27-
ss.source_files = 'ios/CodePush/*.{h,m}'
24+
25+
s.subspec 'SSZipArchive' do |ss|
26+
ss.source_files = 'ios/CodePush/SSZipArchive/*.{h,m}', 'ios/CodePush/SSZipArchive/aes/*.{h,c}', 'ios/CodePush/SSZipArchive/minizip/*.{h,c}'
27+
ss.private_header_files = 'ios/CodePush/SSZipArchive/*.h', 'ios/CodePush/SSZipArchive/aes/*.h', 'ios/CodePush/SSZipArchive/minizip/*.h'
2828
end
29-
30-
end
29+
30+
end

0 commit comments

Comments
 (0)