Leanplum / Leanplum-Segment-iOS

Segment integration for the Leanplum SDK on iOS.
Apache License 2.0
2 stars 9 forks source link

Add tvos support #5

Closed krzemienski closed 3 years ago

krzemienski commented 6 years ago
  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!

https://github.com/Leanplum/Leanplum-Segment-iOS

krzemienski commented 6 years ago

6 I have opened a PR here for review!