-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rudder-CustomerIO.podspec
46 lines (36 loc) · 1.95 KB
/
Rudder-CustomerIO.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
rudder_sdk_version = '~> 1.26'
deployment_target = '13.0'
customerio_sdk_name = 'CustomerIO/DataPipelines'
customerio_sdk_version = '~> 3.5.1'
Pod::Spec.new do |s|
s.name = 'Rudder-CustomerIO'
s.version = package['version']
s.summary = 'Privacy and Security focused Segment-alternative. CustomerIO Native SDK integration support.'
s.description = <<-DESC
Rudder is a platform for collecting, storing and routing customer event data to dozens of tools. Rudder is open-source, can run in your cloud environment (AWS, GCP, Azure or even your data-centre) and provides a powerful transformation framework to process your event data on the fly.
DESC
s.homepage = 'https://github.com/rudderlabs/rudder-integration-customerio-ios'
s.license = { :type => "Apache", :file => "LICENSE.md" }
s.author = { 'RudderStack' => '[email protected]' }
s.source = { :git => 'https://github.com/rudderlabs/rudder-integration-customerio-ios.git' , :tag => "v#{s.version}" }
s.requires_arc = true
s.source_files = 'Rudder-CustomerIO/Classes/**/*'
s.static_framework = true
s.ios.deployment_target = deployment_target
if defined?($CustomerIOSDKVersion)
Pod::UI.puts "#{s.name}: Using user specified CustomerIO SDK version '#{$CustomerIOSDKVersion}'"
customerio_sdk_version = $CustomerIOSDKVersion
else
Pod::UI.puts "#{s.name}: Using default CustomerIO SDK version '#{customerio_sdk_version}'"
end
if defined?($RudderSDKVersion)
Pod::UI.puts "#{s.name}: Using user specified Rudder SDK version '#{$RudderSDKVersion}'"
rudder_sdk_version = $RudderSDKVersion
else
Pod::UI.puts "#{s.name}: Using default Rudder SDK version '#{rudder_sdk_version}'"
end
s.dependency 'Rudder', rudder_sdk_version
s.dependency customerio_sdk_name, customerio_sdk_version
end