Skip to content

Commit 5a68aa7

Browse files
authored
fix: codegen generated headers are public on ios (#737)
### Summary Fixes #690 ### Test plan
1 parent 0bacd58 commit 5a68aa7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/create-react-native-library/templates/native-common/{%- project.identifier %}.podspec

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Pod::Spec.new do |s|
2020
s.source_files = "ios/**/*.{h,m,mm,swift}"
2121
<% } else if (project.arch !== "legacy") { -%>
2222
s.source_files = "ios/**/*.{h,m,mm,cpp}"
23+
s.private_header_files = "ios/generated/**/*.h"
2324
<% } else { -%>
2425
s.source_files = "ios/**/*.{h,m,mm}"
2526
<% } -%>

0 commit comments

Comments
 (0)