Add tvos support
krzemienski opened this issue · comments
Nick Krzemienski commented
s.name = "LeanplumSegment"
s.version = "1.1.2"
s.summary = "Leanplum SDK integration for the Segment iOS SDK."
s.description = "Mobile A/B testing, personalization & analytics in one powerful platform."
s.homepage = 'https://www.leanplum.com'
s.license = { :type => 'Commercial', :text => 'See https://www.leanplum.com/tos' }
s.author = { 'Leanplum' => 'support@leanplum.com' }
s.social_media_url = 'https://twitter.com/leanplum'
s.platform = :ios, '8.0'
s.platform = :tvos, '8.0'
s.requires_arc = true
s.source = { :git => "https://github.com/Leanplum/Leanplum-Segment-iOS.git", :tag => s.version.to_s }
s.source_files = 'Pod/Classes/**/*'
s.dependency 'Analytics', '~> 3'
s.ios.dependency 'Leanplum-iOS-SDK', '~> 2'
s.tvos.dependency 'Leanplum-tvOS-SDK', '~> 2'
end
I'm not sure how to add a pr that adds tvOS support but I was able to successfully add it on our fork at fuboTV. The above is the change in code!
Nick Krzemienski commented
#6 I have opened a PR here for review!