diff --git a/Rudder-CustomerIO.podspec b/Rudder-CustomerIO.podspec index cd30c9d..dcaacfb 100644 --- a/Rudder-CustomerIO.podspec +++ b/Rudder-CustomerIO.podspec @@ -26,12 +26,12 @@ Pod::Spec.new do |s| 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 '#{CustomerIOSDKVersion}'" -# end + 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}'" diff --git a/Rudder-CustomerIO/Classes/RudderCustomerIOIntegration.swift b/Rudder-CustomerIO/Classes/RudderCustomerIOIntegration.swift index bbaccd3..a040b62 100644 --- a/Rudder-CustomerIO/Classes/RudderCustomerIOIntegration.swift +++ b/Rudder-CustomerIO/Classes/RudderCustomerIOIntegration.swift @@ -14,7 +14,7 @@ private struct ServerConfigKey { static let apiKey = "apiKey" static let siteID = "siteID" static let autoTrackDeviceAttributes = "autoTrackDeviceAttributes" - static let dataCenter = "dataCenter" + static let dataCenter = "datacenter" static let autoTrackScreenViews = "autoTrackScreenViews" static let trackApplicationLifecycleEvents = "trackApplicationLifecycleEvents" static let logLevel = "logLevel"