forked from bcylin/Try-tvOS
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
96 changed files
with
5,304 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Xcode | ||
# | ||
# https://github.com/github/gitignore | ||
|
||
## Build generated | ||
build/ | ||
DerivedData | ||
|
||
## Various settings | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata | ||
|
||
## Other | ||
*.xccheckout | ||
*.moved-aside | ||
*.xcuserstate | ||
*.xcscmblueprint | ||
test_output | ||
|
||
## Obj-C/Swift specific | ||
*.hmap | ||
*.ipa | ||
|
||
## CocoaPods | ||
Pods/ | ||
|
||
## Carthage | ||
Carthage/ | ||
|
||
## Production | ||
icook-tv-top-shelf-image.png | ||
keys/ | ||
fabric.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.1.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
language: objective-c | ||
osx_image: xcode7.3 | ||
cache: | ||
bundler: true | ||
directories: | ||
- vendor/bundle | ||
- Pods | ||
before_install: | ||
- export LANG=en_US.UTF-8 | ||
install: | ||
- bundle install --without development --deployment --jobs=3 --retry=3 | ||
- bundle exec pod install | ||
script: | ||
- bundle exec scan | ||
notifications: | ||
email: false | ||
slack: | ||
secure: H14oCUW/JfvUz2qtjccQU+1NK2Uq8GDlnXp0OnFTS0/U3wcrBJxjFI0ZdmseZ1JhHn27jvl+1B/xtRQeCxBExxdOnl7oATf4w1DP0E4pgrCRdTO6NJ+iASB6LbCPMj89wVGZysng5Glxjuh0Q2kbC1wXi1OHozhG9QasXIrcWRcImgZwN3JXeSKDCpbHLL2tfC9eBH8/1wqRCWxacWPlFeKCLBp/BIBvkvkD3NkiDrX4TdCWtPl08LmsPnAEkUYtCGNLONbVDEIUbzBsOyceNjQCqFd3kwWTeqr/iyqYLq0pBOz6/J2EPmbNe9tbyo+TcqUlaUOFfMSwEdgsPwrdVRu/6U6eOprhgG1PgOLlO3moO7k2I7/1s3yZZKvVe31ahMPHVS1FJNKFWuAp0+MsXeTKcM9QhqD0au+TW186dfqbLeKdbA7skIex4YoThw4JNQJee0Rgs5H6xxiuL3c8zgS+vIZ3/eBEoOpjBj4yjaL9c+Y1iL2MIvwTkiExZYZEqHxr3BWDwTMFOUI8UJ+ZXIZHvqjcipunUMCFmxoKHi/LKYVbGGHj9qCwKc2nLDLlGkkLiBDbfvvY70aVp3DWchSA10MlEIrYWlOeP3quRnkDcI1YTBirDIlGdo1y3nthGcPD/mPWXP8Xsm3Y9DAs47enNGHR2q4L8LwUkoDkfxY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
tap "caskroom/cask" | ||
|
||
brew "xcproj" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
source "http://rubygems.org" | ||
ruby "2.1.5" | ||
|
||
gem "cocoapods", "~> 0.39.0" | ||
gem "cocoapods-keys" | ||
gem "scan" | ||
gem "travis" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
RubyInline (3.12.4) | ||
ZenTest (~> 4.3) | ||
ZenTest (4.11.0) | ||
activesupport (4.2.6) | ||
i18n (~> 0.7) | ||
json (~> 1.7, >= 1.7.7) | ||
minitest (~> 5.1) | ||
thread_safe (~> 0.3, >= 0.3.4) | ||
tzinfo (~> 1.1) | ||
addressable (2.4.0) | ||
babosa (1.0.2) | ||
backports (3.6.8) | ||
claide (0.9.1) | ||
cocoapods (0.39.0) | ||
activesupport (>= 4.0.2) | ||
claide (~> 0.9.1) | ||
cocoapods-core (= 0.39.0) | ||
cocoapods-downloader (~> 0.9.3) | ||
cocoapods-plugins (~> 0.4.2) | ||
cocoapods-search (~> 0.1.0) | ||
cocoapods-stats (~> 0.6.2) | ||
cocoapods-trunk (~> 0.6.4) | ||
cocoapods-try (~> 0.5.1) | ||
colored (~> 1.2) | ||
escape (~> 0.0.4) | ||
molinillo (~> 0.4.0) | ||
nap (~> 1.0) | ||
xcodeproj (~> 0.28.2) | ||
cocoapods-core (0.39.0) | ||
activesupport (>= 4.0.2) | ||
fuzzy_match (~> 2.0.4) | ||
nap (~> 1.0) | ||
cocoapods-downloader (0.9.3) | ||
cocoapods-keys (1.6.1) | ||
dotenv | ||
osx_keychain | ||
cocoapods-plugins (0.4.2) | ||
nap | ||
cocoapods-search (0.1.0) | ||
cocoapods-stats (0.6.2) | ||
cocoapods-trunk (0.6.4) | ||
nap (>= 0.8, < 2.0) | ||
netrc (= 0.7.8) | ||
cocoapods-try (0.5.1) | ||
colored (1.2) | ||
commander (4.3.5) | ||
highline (~> 1.7.2) | ||
credentials_manager (0.16.0) | ||
colored | ||
commander (>= 4.3.5) | ||
highline (>= 1.7.1) | ||
security | ||
dotenv (2.1.1) | ||
escape (0.0.4) | ||
ethon (0.9.0) | ||
ffi (>= 1.3.0) | ||
excon (0.45.4) | ||
faraday (0.9.2) | ||
multipart-post (>= 1.2, < 3) | ||
faraday_middleware (0.10.0) | ||
faraday (>= 0.7.4, < 0.10) | ||
fastlane_core (0.43.1) | ||
babosa | ||
colored | ||
commander (= 4.3.5) | ||
credentials_manager (>= 0.16.0, < 1.0.0) | ||
excon (~> 0.45.0) | ||
highline (>= 1.7.2) | ||
json | ||
multi_json | ||
plist (~> 3.1) | ||
rubyzip (~> 1.1.6) | ||
sentry-raven (~> 0.15) | ||
terminal-table (~> 1.4.5) | ||
ffi (1.9.10) | ||
fuzzy_match (2.0.4) | ||
gh (0.14.0) | ||
addressable | ||
backports | ||
faraday (~> 0.8) | ||
multi_json (~> 1.0) | ||
net-http-persistent (>= 2.7) | ||
net-http-pipeline | ||
highline (1.7.8) | ||
i18n (0.7.0) | ||
json (1.8.3) | ||
launchy (2.4.3) | ||
addressable (~> 2.3) | ||
minitest (5.8.4) | ||
molinillo (0.4.5) | ||
multi_json (1.12.0) | ||
multipart-post (2.0.0) | ||
nap (1.1.0) | ||
net-http-persistent (2.9.4) | ||
net-http-pipeline (1.0.1) | ||
netrc (0.7.8) | ||
osx_keychain (1.0.1) | ||
RubyInline (~> 3) | ||
plist (3.2.0) | ||
pusher-client (0.6.2) | ||
json | ||
websocket (~> 1.0) | ||
rouge (1.10.1) | ||
rubyzip (1.1.7) | ||
scan (0.6.0) | ||
fastlane_core (>= 0.36.1, < 1.0.0) | ||
slack-notifier (~> 1.3) | ||
terminal-table | ||
xcpretty (>= 0.2.1) | ||
xcpretty-travis-formatter (>= 0.0.3) | ||
security (0.1.3) | ||
sentry-raven (0.15.6) | ||
faraday (>= 0.7.6) | ||
slack-notifier (1.5.1) | ||
terminal-table (1.4.5) | ||
thread_safe (0.3.5) | ||
travis (1.8.2) | ||
backports | ||
faraday (~> 0.9) | ||
faraday_middleware (~> 0.9, >= 0.9.1) | ||
gh (~> 0.13) | ||
highline (~> 1.6) | ||
launchy (~> 2.1) | ||
pusher-client (~> 0.4) | ||
typhoeus (~> 0.6, >= 0.6.8) | ||
typhoeus (0.8.0) | ||
ethon (>= 0.8.0) | ||
tzinfo (1.2.2) | ||
thread_safe (~> 0.1) | ||
websocket (1.2.3) | ||
xcodeproj (0.28.2) | ||
activesupport (>= 3) | ||
claide (~> 0.9.1) | ||
colored (~> 1.2) | ||
xcpretty (0.2.2) | ||
rouge (~> 1.8) | ||
xcpretty-travis-formatter (0.0.4) | ||
xcpretty (~> 0.2, >= 0.0.7) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
cocoapods (~> 0.39.0) | ||
cocoapods-keys | ||
scan | ||
travis | ||
|
||
BUNDLED WITH | ||
1.11.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pod-install: | ||
bundle exec pod install --no-repo-update | ||
xcproj touch iCookTV.xcodeproj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
source "https://github.com/CocoaPods/Specs.git" | ||
source "https://github.com/bcylin/Specs.git" | ||
|
||
platform :tvos, "9.0" | ||
use_frameworks! | ||
inhibit_all_warnings! | ||
|
||
workspace "iCookTV" | ||
xcodeproj "iCookTV" | ||
|
||
target :iCookTV do | ||
pod "Alamofire" | ||
pod "Crashlytics" | ||
pod "Fabric" | ||
pod "Freddy" | ||
pod "HCYoutubeParser" | ||
pod "Hue", git: "https://github.com/hyperoslo/Hue.git", commit: "89ae5e1" | ||
pod "Kingfisher" | ||
pod "TreasureData-tvOS-SDK", "0.1.14" | ||
end | ||
|
||
target :iCookTVTests do | ||
pod "Nimble" | ||
pod "Quick" | ||
end | ||
|
||
plugin "cocoapods-keys", { | ||
project: "iCookTV", | ||
keys: ["BaseAPIURL", "CrashlyticsAPIKey", "TreasureDataAPIKey"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
PODS: | ||
- Alamofire (3.4.0) | ||
- Crashlytics (3.7.0): | ||
- Fabric (~> 1.6.3) | ||
- Fabric (1.6.7) | ||
- Freddy (2.1.0) | ||
- HCYoutubeParser (0.0.5) | ||
- Hue (1.1) | ||
- KeenClientTD (3.2.25) | ||
- Keys (1.0.0) | ||
- Kingfisher (2.4.0) | ||
- Nimble (4.0.1) | ||
- Quick (0.9.2) | ||
- TreasureData-tvOS-SDK (0.1.14): | ||
- KeenClientTD (= 3.2.25) | ||
|
||
DEPENDENCIES: | ||
- Alamofire | ||
- Crashlytics | ||
- Fabric | ||
- Freddy | ||
- HCYoutubeParser | ||
- Hue (from `https://github.com/hyperoslo/Hue.git`, commit `89ae5e1`) | ||
- Keys (from `Pods/CocoaPodsKeys`) | ||
- Kingfisher | ||
- Nimble | ||
- Quick | ||
- TreasureData-tvOS-SDK (= 0.1.14) | ||
|
||
EXTERNAL SOURCES: | ||
Hue: | ||
:commit: 89ae5e1 | ||
:git: https://github.com/hyperoslo/Hue.git | ||
Keys: | ||
:path: Pods/CocoaPodsKeys | ||
|
||
CHECKOUT OPTIONS: | ||
Hue: | ||
:commit: 89ae5e1 | ||
:git: https://github.com/hyperoslo/Hue.git | ||
|
||
SPEC CHECKSUMS: | ||
Alamofire: c19a627cefd6a95f840401c49ab1f124e07f54ee | ||
Crashlytics: c3a2333dea9e2733d2777f730910321fc9e25c0d | ||
Fabric: caf7580c725e64db144f610ac65cd60956911dc7 | ||
Freddy: bbdca013977db29638b24baf6572ce94452bec29 | ||
HCYoutubeParser: bc1db8c062e4b835eda381f2be2f9970f6a8d071 | ||
Hue: c7d6a7206bac669ed69e78cc6c14a4d7bd28277c | ||
KeenClientTD: ffe8b9a67e71643f59a9fda7ce51941ed5c49a42 | ||
Keys: 7d2ff6ff42f6903358267ce56e9392f83c31acfe | ||
Kingfisher: 9171a424ee7f8031f518f649bb850d1eab541247 | ||
Nimble: 0f3c8b8b084cda391209c3c5efbb48bedeeb920a | ||
Quick: 18d057bc66451eedd5d1c8dc99ba2a5db6e60226 | ||
TreasureData-tvOS-SDK: 18c6a68471e6df592ed5c50bf2c07507ee6e3b77 | ||
|
||
COCOAPODS: 0.39.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,66 @@ | ||
# Try-tvOS | ||
# iCook tvOS App | ||
|
||
[![Build Status](https://travis-ci.org/polydice/iCook-tvOS.svg)](https://travis-ci.org/polydice/iCook-tvOS) | ||
![Swift 2.2](https://img.shields.io/badge/Swift-2.2-orange.svg) | ||
|
||
A tvOS app that plays [iCook TV](https://tv.icook.tw/) videos. | ||
|
||
## Setup | ||
|
||
Install required dependencies using [Homebrew](http://brew.sh/) and [Bundler](http://bundler.io/): | ||
|
||
``` | ||
brew tap homebrew/bundle | ||
brew bundle | ||
``` | ||
``` | ||
bundle install | ||
bundle exec pod install | ||
``` | ||
|
||
### API | ||
|
||
`pod install` will prompt for the `BaseAPIURL` and other keys, which are required to run the app: | ||
|
||
``` | ||
CocoaPods-Keys has detected a keys mismatch for your setup. | ||
What is the key for BaseAPIURL | ||
> | ||
``` | ||
|
||
> TBD: API details are hidden for now due to proprietary reasons. | ||
### Required Keys | ||
|
||
* CrashlyticsAPIKey | ||
* TreasureDataAPIKey | ||
|
||
Managed by CocoaPods-Keys, they can be real API keys or any arbitrary strings. | ||
|
||
### Required Files | ||
|
||
``` | ||
./keys/fabric.apikey | ||
./keys/fabric.buildsecret | ||
``` | ||
|
||
Required by the Fabric script. The file contents can also be arbitrary texts. | ||
|
||
### Ignored | ||
|
||
* `icook-tv-top-shelf-image.png` is not included in the repo due to the license of image. | ||
|
||
## Demo | ||
|
||
Install the beta version via <https://testflight.icook.tw>. | ||
|
||
## Contact | ||
|
||
[![Twitter](https://img.shields.io/badge/twitter-@polydice-blue.svg?style=flat)](https://twitter.com/polydice) | ||
|
||
## License | ||
|
||
The names and icons for iCook are trademarks of [Polydice, Inc.](https://polydice.com/) Please refer to the guidelines at [iCook Newsroom](https://newsroom.icook.tw/downloads). | ||
|
||
* All image assets are Copyright © 2016 Polydice, Inc. All rights reserved. | ||
* The source code is released under the MIT license. See [LICENSE](https://github.com/bcylin/Try-tvOS/blob/master/LICENSE) for more info. |
Oops, something went wrong.