Git Product home page Git Product logo

ota-tools's Introduction

ota-tools

A burgeoning collection of tools for Over-The-Air distribution of mobile applications.

OTA Tools started off as 2 disparate gists. One was a bash script for resigning an iOS IPA file. The other was a sample plist and HTML file combo for serving an iOS app for Over-The-Air distribution. When the later gist was updated with a script for generating the combo, they were joined together to create a tools package. These tools have saved me countless hours so they are being offered under the MIT license.

##Contents:

ipa_ota    - generate basic plist and html combo for ota hosting
ipa_sign   - sign ipa with a keychain certificate and replace its provision
app.plist  - simple plist example
index.html - simple hosting flatfile example

##Usage:

ipa_sign takes an ipa file, provision file, the name of the certificate in your keychain that you want to sign with, and optionally the output IPA filename.

~/Dropbox/Public/enterprise_builds rbronosky$ ./ipa_sign ~/Downloads/app.ipa ~/provisions/Huge_Enterprises.mobileprovision "iPhone Distribution: Huge Enterprises Inc."
App has BundleIdentifier 'com.example.myapp' and BundleVersion 2.5
App has provision   'iPhone Developer', which supports 'HDXJ2G3FGJ.com.example.*'
Embedding provision 'provision for My App', which supports 'HDXJ2G3FGJ.com.example.myapp'
Payload/myapp.app: replacing existing signature

Calling ipa_ota creates a basic plist in the current directory and outputs a single line for including in an existing HTML file.

~/Dropbox/Public/enterprise_builds rbronosky$ ./ipa_ota app.ipa http://dl.dropbox.com/u/310759/enterprise_builds/
    <p><a href="itms-services://?action=download-manifest&url=http://dl.dropbox.com/u/310759/enterprise_builds/app.plist">Install Enterprise App</a></p>

The script can detect when it is being redirected to a file. In this case it outputs an entire HTML file.

~/Dropbox/Public/enterprise_builds rbronosky$ ./ipa_ota app.ipa http://dl.dropbox.com/u/310759/enterprise_builds/ > download_app.html
~/Dropbox/Public/enterprise_builds rbronosky$ cat download_app.html
<html>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <head><title>Enterprise App Installer</title><style>*{text-align:center;}</style></head>
  <body>
    <p><a href="itms-services://?action=download-manifest&url=http://dl.dropbox.com/u/310759/enterprise_builds/app.plist">Install Enterprise App</a></p>
  </body>
</html>

ota-tools's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.