From 8e03dfc99edfb24ea16088318f79f680c7d2acc3 Mon Sep 17 00:00:00 2001 From: Param Aggarwal Date: Tue, 13 Oct 2015 07:38:11 -0700 Subject: [PATCH] Expose RCTTest for consumers via CocoaPods MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: Enables using `RCTTestRunner` in app code. Closes https://github.com/facebook/react-native/pull/3382 Reviewed By: @​svcscm Differential Revision: D2536089 Pulled By: @nicklockwood fb-gh-sync-id: 35d3e57e43ac94ad3e6abf6852bf963c9dd2e1c9 --- React.podspec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/React.podspec b/React.podspec index 523020ae9a7..7c20b273003 100644 --- a/React.podspec +++ b/React.podspec @@ -104,4 +104,10 @@ Pod::Spec.new do |s| ss.preserve_paths = "Libraries/LinkingIOS/*.js" end + s.subspec 'RCTTest' do |ss| + ss.source_files = "Libraries/RCTTest/**/*.{h,m}" + ss.preserve_paths = "Libraries/RCTTest/**/*.js" + ss.frameworks = "XCTest" + end + end