Git Product home page Git Product logo

testflight's Introduction

Introduction

As an iOS developer you probably have dealt with the tedious tasks of manually building, packaging, tagging, committing and deploying your iOS applications to testflightapp.com. Wouldn’t it be great if all that could be done with a single command?

Well, you are absolutely right! This gem is going to make your life much easier. Here is what it does:

  1. Reads your XCode project info file to get your app version and build number

  2. Commits all your changes to the git repository

  3. Builds your project (or workspace)

  4. Packages your application into an IPA file

  5. Uploads the IPA file to testflightapp.com

  6. Tags your project with the version and build

  7. Increments your app build number and commits it to the repo

  8. Keeps a log of all your deployments to testflightapp.com in a FLIGHTLOG file

All that with a simple command:

$ testflight takeoff

Installation

gem install testflight

Configuration

To setup your project with the deployment script, run the following command from within your Xcode project folder:

$ testflight checkin

This command will ask you a few questions about your project. If you don’t like being asked questions and prefer to configure your project manually, just create a .tesflight file in your Xcode project folder and provide the following information:

build:
  developer_name:     # This must be your company name or your name as it appears in your .cer from Apple
  increment_bundle:   true  # If you want each deployment to increment your build number
  sdk:                "iphoneos6.1"
git:
  commit_changes:     true   # if you are using git and would like to push changes before each build 
  tag_build:          true   # will tag each build in git
testflight: 
  api_token:          # Get it from https://testflightapp.com/account/#api
  team_token:         # Get it from https://testflightapp.com/dashboard/team/edit/
  distribution_lists: ["Internal", "Everyone"] # Configure your distribution lists at https://testflightapp.com

Execution

Once you have checked in (you only need to do it once per project), you are ready for takeoff. Go to your project folder and simply type:

$ testflight takeoff

Have a safe flight!

Contribution

Clone the repository, make any changes you like and send me a pull request.

testflight's People

Contributors

berk avatar

Watchers

James Cloos avatar Max Andreola 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.