Skip to content

Commit

Permalink
Merge pull request #25 from mdyson/master
Browse files Browse the repository at this point in the history
Add tvOS support
  • Loading branch information
giginet authored Jan 15, 2020
2 parents 62b2b1f + 6aa7431 commit 7427b56
Show file tree
Hide file tree
Showing 13 changed files with 352 additions and 34 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ before_script:
- swiftlint --strict
matrix:
include:
- env: NAME=Xcode DESTINATION="platform=iOS Simulator,name=iPhone 8"
- env: NAME=Xcode DESTINATION="platform=iOS Simulator,name=iPhone 8" SCHEME="Crossroad"
- env: NAME=Xcode DESTINATION="platform=tvOS Simulator,name=Apple TV 4K" SCHEME="Crossroad-tvOS"
script:
- xcodebuild test -project Crossroad.xcodeproj -scheme Crossroad -destination "${DESTINATION}"
- xcodebuild test -project Crossroad.xcodeproj -scheme "${SCHEME}" -destination "${DESTINATION}"
2 changes: 1 addition & 1 deletion Crossroad.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "giginet" => "[email protected]" }
s.social_media_url = "http://twitter.com/giginet"
s.platform = :ios, "9.0"
s.platforms = { :ios => "9.0", :tvos => "9.0" }
s.source = { :git => "https://github.com/giginet/Crossroad.git", :tag => "#{s.version}" }
s.source_files = "Sources/Crossroad/**/*.{h,swift}"
s.requires_arc = true
Expand Down
Loading

0 comments on commit 7427b56

Please sign in to comment.