forked from tinycreative/react-native-intercom
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreact-native-intercom.podspec
More file actions
Latest commit
19 lines (17 loc) · 672 Bytes
/
Copy pathreact-native-intercom.podspec
File metadata and controls
19 lines (17 loc) · 672 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require'json'
package=JSON.parse(File.read(File.join(__dir__,'package.json')))
Pod::Spec.newdo |s|
s.name=package['name']
s.version=package['version'].sub('-beta','')
s.license={:type=>'MIT'}
s.homepage=package['homepage']
s.authors=package['contributors'].flat_map{ |author| {author['name']=>author['email']}}
s.summary=package['description']
s.source={:git=>package['repository']['url']}
s.source_files='iOS/*.{h,m}'
s.platform=:ios,'8.0'
s.frameworks=["Intercom"]
s.static_framework=true
s.dependency'React/Core'
s.dependency'Intercom','~> 5.0'
end