Skip to content

Commit 0748c90

Browse files
committed
Excluding weak-node-api C++ source from podspec (as this is already in the xcframework)
1 parent 77db811 commit 0748c90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/weak-node-api/weak-node-api.podspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ Pod::Spec.new do |s|
2222

2323
s.source = { :git => "https://github.com/callstackincubator/react-native-node-api.git", :tag => "#{s.version}" }
2424

25-
s.source_files = "generated/*.{hpp,cpp}", "include/*.h"
25+
# TODO: These headers could be included in the Xcframework?
26+
# (tracked by https://github.com/callstackincubator/react-native-node-api/issues/315)
27+
s.source_files = "generated/*.hpp", "include/*.h"
2628
s.public_header_files = "generated/*.hpp", "include/*.h"
2729

2830
s.vendored_frameworks = "build/*/weak-node-api.xcframework"

0 commit comments

Comments
 (0)