forked from synapsestudios/react-native-zendesk-support
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreact-native-zendesk-support.podspec
28 lines (23 loc) · 1.07 KB
/
react-native-zendesk-support.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
require "json"
json = File.read(File.join(__dir__, "package.json"))
package = JSON.parse(json).deep_symbolize_keys
Pod::Spec.new do |s|
s.name = package[:name].include?("/") ? package[:name].split("/").last : package[:name]
s.version = package[:version]
s.license = package[:license]
s.authors = package[:author]
s.summary = package[:description]
s.source = { :git => 'https://github.com/shiftsmartinc/react-native-zendesk-support.git', :tag => 'v'+s.version.to_s }
s.homepage = 'https://github.com/shiftsmartinc/react-native-zendesk-support'
s.source_files = 'ios/RNZenDeskSupport.{h,m}'
s.static_framework = true
s.platform = :ios, "10"
s.framework = 'Foundation'
s.framework = 'UIKit'
# Deprecated and renamed after 4 to ZendeskSupportSDK and SupportProviderSDK
s.dependency 'ZendeskSDK', '~> 3.0.3'
s.dependency "React-Core"
# TODO: update to v8 of ZendeskSDK and remove these lines
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
end