WIRELESS AD HOC DISTRIBUTION
WIRELESS AD HOC DISTRIBUTION
    Mathieu Godart - L’atelier du mobile
THE OLD WAY
•   The tester:

     •   Sends its UDID

     •   Receives the app... how?

     •   Installs it in iTunes

     •   Installs the provisioning profile

     •   Syncs iPhone & Computer
THE OLD WAY
•   Long and boring

•   Error prone

•   Consequences, you loose:

     •   A lot of testers

     •   Lazy testers

     •   ... more testers over time
THE WIRELESS WAY
•   The tester:

     •   Sends its UDID

     •   Receives a link by:

          •   eMail

          •   SMS...

     •   Clicks the link... and BOOM!
THE WIRELESS WAY



Demo...
THE WIRELESS WAY



You’ve got mail!
THE WIRELESS WAY



... or through SMS
THE WIRELESS WAY



Visit the webpage
THE WIRELESS WAY



Just click « Install »
THE WIRELESS WAY



And boom!
THE WIRELESS WAY

•   Usable for Beta and Private apps

•   Over wifi or cellular network

•   Security

     •   Web server can be protected

     •   Still UDID signed
THE WIRELESS WAY


•   Constraints

     •   Only iOS 4... soon for iPad

     •   Needs HTTP(s) web server

     •   Needs to access apple.com
THE OLD WAY
•   The developer:

     •   Collects UDID from testers

     •   Signs the app




     •   Sends it to testers... but how?
THE WIRELESS WAY
•   The developer:

     •   Collects UDID from testers

     •   Signs the app

     •   Generates a manifest file

     •   Uploads all that to his server

     •   Sends a link... by SMS or eMail
THE WIRELESS WAY


•   Three tools to help you:

     •   iOS Beta Builder

     •   Hockey

     •   Xcode and a text editor
iOS BETA BUILDER


•   Mac OS X app

•   You provide:

     •   The IPA

     •   The server address
iOS BETA BUILDER


•   Mac OS X app

•   You provide:

     •   The IPA

     •   The server address
iOS BETA BUILDER

•   It creates:

      •   Manifest PLIST file

      •   IPA + MPP archive... for iOS 3

      •   Simple static web page

•   Just upload all that
iOS BETA BUILDER


•   Pros

     •   Easy to use and scriptable

     •   Web page template

     •   Open source
iOS BETA BUILDER


•   Cons

     •   Ugly web page

     •   No in-app update
HOCKEY

•   Web app

•   You provide:

     •   Directory structure

     •   Manifest PLIST file

     •   IPA + MPP archive... for iOS 3
HOCKEY

•   Web app

•   You provide:

     •   Directory structure

     •   Manifest PLIST file

     •   IPA + MPP archive... for iOS 3
HOCKEY

•   Upload all that

•   It provides a dynamic web site:

     •   A list of your betas

     •   A page for each beta

     •   Optional release notes
HOCKEY
•   Pros

     •   Nice and dynamic web page

     •   Handles release notes

     •   Open source

     •   In-app update... even for iOS 3

           •   By adding some code
HOCKEY


•   Cons

     •   Less configurable web page

     •   Needs PHP5 server

     •   Special build target for beta
XCODE & TEXTMATE


•   Right in the Organizer

•   It creates:

      •   Manifest PLIST file

      •   App IPA file
XCODE & TEXTMATE


•   Right in the Organizer

•   It creates:

      •   Manifest PLIST file

      •   App IPA file
XCODE & TEXTMATE

•   Add this to any web page:
    <a href="itms-services://?action=download-
    manifest&url=http://example.com/manifest.plist">
    Click here to install my app</a>



•   Upload IPA + manifest files

•   That’s it!
LINKS & CREDITS

• L’atelier   du mobile
                                                                  http://atelierdumobile.com



• iOS   Beta Builder
                                            http://www.hanchorllc.com/category/ios-betabuilder/



• Hockey
                                          http://buzzworks.de/blog/announcing-developer-framework-hockey



• TestFlight
                                                                           http://www.testflightapp.com/



• More   at Apple
   http://developer.apple.com/library/ios/featuredarticles/FA_Wireless_Enterprise_App_Distribution/
QUESTIONS?
THANK YOU
Wireless ad hoc distribution

Wireless ad hoc distribution

  • 2.
    WIRELESS AD HOCDISTRIBUTION
  • 3.
    WIRELESS AD HOCDISTRIBUTION Mathieu Godart - L’atelier du mobile
  • 4.
    THE OLD WAY • The tester: • Sends its UDID • Receives the app... how? • Installs it in iTunes • Installs the provisioning profile • Syncs iPhone & Computer
  • 5.
    THE OLD WAY • Long and boring • Error prone • Consequences, you loose: • A lot of testers • Lazy testers • ... more testers over time
  • 6.
    THE WIRELESS WAY • The tester: • Sends its UDID • Receives a link by: • eMail • SMS... • Clicks the link... and BOOM!
  • 7.
  • 8.
  • 9.
    THE WIRELESS WAY ...or through SMS
  • 10.
  • 11.
    THE WIRELESS WAY Justclick « Install »
  • 12.
  • 13.
    THE WIRELESS WAY • Usable for Beta and Private apps • Over wifi or cellular network • Security • Web server can be protected • Still UDID signed
  • 14.
    THE WIRELESS WAY • Constraints • Only iOS 4... soon for iPad • Needs HTTP(s) web server • Needs to access apple.com
  • 15.
    THE OLD WAY • The developer: • Collects UDID from testers • Signs the app • Sends it to testers... but how?
  • 16.
    THE WIRELESS WAY • The developer: • Collects UDID from testers • Signs the app • Generates a manifest file • Uploads all that to his server • Sends a link... by SMS or eMail
  • 17.
    THE WIRELESS WAY • Three tools to help you: • iOS Beta Builder • Hockey • Xcode and a text editor
  • 18.
    iOS BETA BUILDER • Mac OS X app • You provide: • The IPA • The server address
  • 19.
    iOS BETA BUILDER • Mac OS X app • You provide: • The IPA • The server address
  • 20.
    iOS BETA BUILDER • It creates: • Manifest PLIST file • IPA + MPP archive... for iOS 3 • Simple static web page • Just upload all that
  • 21.
    iOS BETA BUILDER • Pros • Easy to use and scriptable • Web page template • Open source
  • 22.
    iOS BETA BUILDER • Cons • Ugly web page • No in-app update
  • 23.
    HOCKEY • Web app • You provide: • Directory structure • Manifest PLIST file • IPA + MPP archive... for iOS 3
  • 24.
    HOCKEY • Web app • You provide: • Directory structure • Manifest PLIST file • IPA + MPP archive... for iOS 3
  • 25.
    HOCKEY • Upload all that • It provides a dynamic web site: • A list of your betas • A page for each beta • Optional release notes
  • 26.
    HOCKEY • Pros • Nice and dynamic web page • Handles release notes • Open source • In-app update... even for iOS 3 • By adding some code
  • 27.
    HOCKEY • Cons • Less configurable web page • Needs PHP5 server • Special build target for beta
  • 28.
    XCODE & TEXTMATE • Right in the Organizer • It creates: • Manifest PLIST file • App IPA file
  • 29.
    XCODE & TEXTMATE • Right in the Organizer • It creates: • Manifest PLIST file • App IPA file
  • 30.
    XCODE & TEXTMATE • Add this to any web page: <a href="itms-services://?action=download- manifest&url=http://example.com/manifest.plist"> Click here to install my app</a> • Upload IPA + manifest files • That’s it!
  • 31.
    LINKS & CREDITS •L’atelier du mobile http://atelierdumobile.com • iOS Beta Builder http://www.hanchorllc.com/category/ios-betabuilder/ • Hockey http://buzzworks.de/blog/announcing-developer-framework-hockey • TestFlight http://www.testflightapp.com/ • More at Apple http://developer.apple.com/library/ios/featuredarticles/FA_Wireless_Enterprise_App_Distribution/
  • 32.
  • 33.