Skip to content

Commit

Permalink
Fix failure of pod lib lint, which will close #6448. Tested on 0.23.0.
Browse files Browse the repository at this point in the history
Summary:The subspec should declare enough dependencies. Or the lint of podspec file will fail because CoaoaPods will not import necessary source on the building step.
Closes #6955

Differential Revision: D3174681

fb-gh-sync-id: 59315efaeeb949951d7ee8e55dc7c979fcea4fbf
fbshipit-source-id: 59315efaeeb949951d7ee8e55dc7c979fcea4fbf
  • Loading branch information
jesseluo authored and Facebook Github Bot 6 committed Apr 13, 2016
1 parent 802fdef commit ef044e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion React.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Pod::Spec.new do |s|

s.subspec 'RCTCameraRoll' do |ss|
ss.dependency 'React/Core'
ss.dependency 'React/RCTImage'
ss.source_files = "Libraries/CameraRoll/*.{h,m}"
ss.preserve_paths = "Libraries/CameraRoll/*.js"
end
Expand Down Expand Up @@ -114,9 +115,9 @@ Pod::Spec.new do |s|
end

s.subspec 'RCTTest' do |ss|
ss.dependency 'React/Core'
ss.source_files = "Libraries/RCTTest/**/*.{h,m}"
ss.preserve_paths = "Libraries/RCTTest/**/*.js"
ss.frameworks = "XCTest"
end

end

0 comments on commit ef044e2

Please sign in to comment.