-
-
Notifications
You must be signed in to change notification settings - Fork 145
/
react-native-photo-editor.podspec
32 lines (25 loc) · 1.06 KB
/
react-native-photo-editor.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
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "react-native-photo-editor"
s.version = package["version"]
s.summary = package["description"]
s.homepage = package["homepage"]
s.license = package["license"]
s.authors = package["author"]
s.platforms = { :ios => "10.0" }
s.source = { :git => "https://github.com/baronha/react-native-photo-editor.git", :tag => "#{s.version}" }
s.swift_version = ['5.0', '5.1', '5.2']
s.source_files = "ios/**/*.{h,m,mm,swift}"
s.dependency "React-Core"
s.dependency "SDWebImage", "~> 5.11.1"
s.dependency 'SDWebImageWebPCoder', '~> 0.8.4'
s.subspec 'ZLImageEditor' do |zl|
zl.name = "ZLImageEditor"
zl.source_files = "ios/ZLImageEditor/Sources/*.{h,m,mm,swift}"
zl.exclude_files = "ios/ZLImageEditor/Sources/ZLImageEditor.h"
zl.resources = "ios/ZLImageEditor/Sources/*.{png,bundle}"
zl.requires_arc = true
zl.frameworks = "UIKit", "Accelerate"
end
end