Skip to content

Commit 8e03dfc

Browse files
paramaggarwalfacebook-github-bot-3
authored andcommitted
Expose RCTTest for consumers via CocoaPods
Summary: Enables using `RCTTestRunner` in app code. Closes facebook#3382 Reviewed By: @​svcscm Differential Revision: D2536089 Pulled By: @nicklockwood fb-gh-sync-id: 35d3e57e43ac94ad3e6abf6852bf963c9dd2e1c9
1 parent 44c6510 commit 8e03dfc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

React.podspec

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,10 @@ Pod::Spec.new do |s|
104104
ss.preserve_paths = "Libraries/LinkingIOS/*.js"
105105
end
106106

107+
s.subspec 'RCTTest' do |ss|
108+
ss.source_files = "Libraries/RCTTest/**/*.{h,m}"
109+
ss.preserve_paths = "Libraries/RCTTest/**/*.js"
110+
ss.frameworks = "XCTest"
111+
end
112+
107113
end

0 commit comments

Comments
 (0)