forked from wordpress-mobile/gutenberg-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gutenberg.podspec
26 lines (23 loc) · 1.05 KB
/
Gutenberg.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')))
# Use the same RN version that the JS tools use
react_native_version = package['dependencies']['react-native']
# Extract the tagged version if package.json points to a tag
react_native_version = react_native_version.split("#v").last if react_native_version.include? "#v"
Pod::Spec.new do |s|
s.name = 'Gutenberg'
s.version = package['version']
s.summary = 'Printing since 1440'
s.homepage = 'https://github.com/wordpress-mobile/gutenberg-mobile'
s.license = package['license']
s.authors = 'Automattic'
s.platform = :ios, '10.0'
s.source = { :git => 'https://github.com/wordpress-mobile/gutenberg-mobile.git' }
s.source_files = 'react-native-gutenberg-bridge/ios/*.{h,m,swift}'
s.requires_arc = true
s.preserve_paths = 'bundle/ios/*'
s.swift_version = '4.2'
s.dependency 'React', react_native_version
s.dependency 'React-RCTImage', react_native_version
s.dependency 'WordPress-Aztec-iOS'
s.dependency 'RNTAztecView'
end