forked from BonnierNews/react-native-3d-model-view
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RCT3DModel.podspec
36 lines (27 loc) · 1.13 KB
/
RCT3DModel.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = 'RCT3DModel'
s.version = package['version']
s.summary = package['description']
s.author = package['author']
s.license = package['license']
s.homepage = 'https://github.com/BonnierNews/react-native-3d-model-view'
s.source = { :git => 'https://github.com/BonnierNews/react-native-3d-model-view.git', :tag => "#{s.version}"}
s.platform = :ios, '8.0'
s.preserve_paths = '*.js'
s.library = 'z'
s.dependency 'React'
s.subspec 'Core' do |ss|
ss.source_files = 'ios/*.{h,m}'
ss.public_header_files = ['ios/RCT3DModelView.h']
end
s.subspec 'SSZipArchive' do |ss|
ss.source_files = 'ios/SSZipArchive/*.{h,m}', 'ios/SSZipArchive/aes/*.{h,c}', 'ios/SSZipArchive/minizip/*.{h,c}'
ss.private_header_files = 'ios/SSZipArchive/*.h', 'ios/SSZipArchive/aes/*.h', 'ios/SSZipArchive/minizip/*.h'
end
s.subspec 'AFNetworking' do |ss|
ss.source_files = 'ios/AFNetworking/*.{h,m}'
ss.private_header_files = 'ios/AFNetworking/*.h'
end
end