Giter VIP home page Giter VIP logo

tvosapp's Introduction

What is this?

This repo contains a skeleton to produce new TVOS Apps (typically based on TVML)

It consists of two parts:

  • TVOSApp = swift code
  • Tvml = javascript code

Install

tvos native code

  • You need to have xcode etc... setup to run tvos code (xcode 7+)
  • Be sure to open up the xcodeproj
  • install cocoapods (you need ruby for that)
cd TVOSApp
# Install the pods
pod install
open TVOSApp.xcodeproj

Install TVML The tvml build environment depends on nodejs. Make to sure to have it installed (hint: use nvm)

Now install all the dependencies:

cd Tvml
# Install the grunt plugin
npm install -g grunt-cli
# Install the necessary packages
npm install

Running

For Dev purposes

webpack loader: start the webpack dev server

cd Tvml
grunt #starts the webpack daemon on port 8080 & livereload on port 8001

this will watch your files (make sure to require them) and compile them on the fly

test output: start the testconsole listener for output

cd Tvml
node testconsole.js #opens up a socket.io server on 8002

simulator start the the tvos app in the simulator

safari 9 this allows for remote JS Context debugger in safari make sure you are on v9 otherwise it will not work

Prepare the app for production

needs it's own section

  • change App name
  • change BundleName
  • change Icon
  • point to production URL
  • set correct Provisioning profile
  • set correct Signing authority
  • build using xcodebuild or xctool
  • spinup simulator from CLI
  • install via testflight

tvosapp's People

Contributors

jedi4ever avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.