Expose RCTTest for consumers via CocoaPods
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
This commit is contained in:
parent
44c651037a
commit
8e03dfc99e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue