[Pods] Define a subspec for LinkingIOS

Summary:
Summary:
Adds a CocoaPods subspec for LinkingIOS

Discussed in issue #667

Closes https://github.com/facebook/react-native/pull/1586
Github Author: Mark Edington <medington@wanderful.com>

Test Plan:
  Pull in the subspec and run a sample which calls
RCTLinkingManager.openURL(url);
This commit is contained in:
Mark Edington 2015-06-11 10:46:57 -07:00 committed by Spencer Ahrens
parent a9f4069ced
commit a7aa336c6e
1 changed files with 6 additions and 0 deletions

View File

@ -103,4 +103,10 @@ Pod::Spec.new do |s|
ss.source_files = "Libraries/WebSocket/*.{h,m}"
ss.preserve_paths = "Libraries/WebSocket/*.js"
end
s.subspec 'RCTLinkingIOS' do |ss|
ss.dependency 'React/Core'
ss.source_files = "Libraries/LinkingIOS/*.{h,m}"
ss.preserve_paths = "Libraries/LinkingIOS/*.js"
end
end