forked from ivpusic/react-native-image-crop-picker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RNImageCropPicker.podspec
29 lines (27 loc) · 1.13 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
27
28
29
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', '~> 2.7.4'
s.resource_bundles = {
'RNImageCropPickerPrivacyInfo' => ['ios/PrivacyInfo.xcprivacy'],
}
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