Introduced subpecs
default for the spec is RN RCT and FaceDetector need to be included explicitly,.
This commit is contained in:
parent
8989aa2354
commit
01bc01e230
|
@ -15,8 +15,21 @@ Pod::Spec.new do |s|
|
|||
s.requires_arc = true
|
||||
s.platform = :ios, '8.0'
|
||||
|
||||
s.subspec "RCT" do |ss|
|
||||
ss.source_files = "ios/RCT/**/*.{h,m}"
|
||||
end
|
||||
|
||||
s.subspec "RN" do |ss|
|
||||
ss.source_files = "ios/RN/**/*.{h,m}"
|
||||
end
|
||||
|
||||
s.subspec "FaceDetector" do |ss|
|
||||
ss.source_files = "ios/FaceDetector/**/*.{h,m}"
|
||||
end
|
||||
|
||||
s.default_subspec = "RN"
|
||||
|
||||
s.preserve_paths = 'LICENSE', 'README.md', 'package.json', 'index.js'
|
||||
s.source_files = 'ios/**/*.{h,m}'
|
||||
|
||||
s.dependency 'React'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue