-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RNImageCropPicker.podspec
26 lines (24 loc) · 1.03 KB
/
RNImageCropPicker.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
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "RNImageCropPicker"
s.version = package['version']
s.summary = package["description"]
s.requires_arc = true
s.license = 'MIT'
s.homepage = 'n/a'
s.authors = { "ivpusic" => "" }
s.source = { :git => "https://github.com/ivpusic/react-native-image-crop-picker", :tag => "v#{s.version}"}
s.source_files = 'ios/src/*.{h,m}'
s.platform = :ios, "8.0"
s.dependency 'React-Core'
s.dependency 'React-RCTImage'
s.dependency 'TOCropViewController'
s.subspec 'QBImagePickerController' do |qb|
qb.name = "QBImagePickerController"
qb.source_files = "ios/QBImagePicker/QBImagePicker/*.{h,m}"
qb.exclude_files = "ios/QBImagePicker/QBImagePicker/QBImagePicker.h"
qb.resource_bundles = { "QBImagePicker" => "ios/QBImagePicker/QBImagePicker/*.{lproj,storyboard}" }
qb.requires_arc = true
qb.frameworks = "Photos", "PhotosUI"
end
end