Pages: [1]   Go Down
  Print  
Author Topic: TestFlight in iOS 8: Explained  (Read 538 times)
HCK
Global Moderator
Hero Member
*****
Posts: 79425



« on: June 10, 2014, 09:00:25 am »

TestFlight in iOS 8: Explained

<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p><a href='http://www.imore.com/testflight-ios-8-explained' title="TestFlight in iOS 8: Explained"><img src='http://www.imore.com/sites/imore.com/files/styles/large/public/field/image/2014/06/wwdc_2014_test_flight_cook.jpg?itok=RFEfl-s1' /></a></p> <p>Beta testing apps has long been a pain point for iOS developers. So it's no surprise that the announcement of TestFlight as part of <a href="http://www.imore.com/ios-8" title="iOS 8 news, rumors, speculation">iOS 8</a> was met with much fanfare at <a href="http://www.imore.com/wwdc-2014" title="Complete coverage of Apple's 2014 World Wide Developers Conference">WWDC 2014</a>. Since <a href="http://www.imore.com/burstly-maker-testflight-app-testing-platform-acquired-apple">Apple's acquisition of Burstly</a> (makers of TestFlight), there has been a lot of speculation and hope that Apple could finally release a more friendly solution for handling the distribution of beta apps. TestFlight marks a significant advancement for Apple in that area, and a welcome change for developers.<!--break--></p> <h2>TestFlight vs. ad hoc distribution</h2> <p>Most people only ever install apps on their devices by way of the App Store. For people in the business of making apps, another method is frequently used: Ad Hoc distribution. Each iOS device has a unique device identifier (UDID). This UDID can be added to a developer account in order to provision the device for ad hoc distribution. This allows developers to distribute their apps for testing without making it publicly available for anybody to download. Managing ad hoc distribution requires developers to create and maintain provisioning profiles that specify what devices can run a particular app. This process is easy to screw up, can frequently lead to confusing errors, and most developers are limited to only 100 devices on their account. TestFlight seeks to change this.</p> <p>The first significant change is TestFlight will not require developers or testers to deal with UDIDs or provisioning profiles. Currently, in order to add a new device, the flow goes like this: 1. Developer asks tester for UDID (and has to provide instructions on how to retrieve it if the tester doesn't know how) 2. Tester uses an application to retrieve the UDID 3. Tester sends UDID to developer 4. Developer logs into Apple's Developer Portal 5. Developer adds the tester's device to the account 6. Developer adds the new device to the appropriate provisioning profile 7. Developer updates app with new profile 8. Developer distributes app to tester</p> <p>The exact flow may differ depending on what tools a developer is using, but that's more or less how it works. TestFlight's flow looks like it's going to be more like this: 1. Tester tells developer their Apple ID 2. Developer logs in to iTunes Connect 3. Developer sends email invitation to tester 4. Tester accepts invitation 5. Tester installs app via TestFlight app</p> <p>If TestFlight can deliver on its promises, many of the frustrations of dealing with UDIDs and provisioning profiles could be a thing of the past.</p> <h2>1000 Apple IDs vs. 100 device IDs</h2> <p>The second big change addresses a long time complain of many developers — the 100 device limit. Developers will now be able to add the Apple IDs for up to 1,000 beta testers to their app. Though this comes with a caveat. TestFlight will require apps to go through a review by Apple. We don't know what guidelines apps will have to meet in order to be approved, and once an app has been approved, minor updates to the beta that don't significantly change the app won't need to be reviewed, but this is a new hoop for developers to have to jump through.</p> <p>In addition to the 1,000 beta testers, developers will also be allowed to have up to 25 internal testers. Internal testers can't just be invited via email, they'll need to have an account created for them in the developer's iTunes Connect account. The advantage for internal testers is they won't have to wait for betas to be approved; they'll have access as soon as the developer uploads a new build.</p> <p>After a build has been uploaded (and possibly approved), it will be valid for 30 days. If a developer goes more than 30 days without uploading a new build, testers won't be able to run the app until the developer uploads a new one. In addition to the binary upload itself, developers will also be required to enter metadata for the app. This includes an app description, as well as information about what testers should test.</p> <p>Testers will be able to manage and install betas they've been invited to using the TestFlight app. TestFlight will only be available for iOS 8 when it's released, so developers still supporting (what will be) old iOS versions or Android won't be able to rely on TestFlight for those. The TestFlight app will allow users to view app descriptions, as well as testing notes. Testing notes will give developers a way to give their testers information about what needs to be looked at. Testers will also have the ability to submit feedback to developers from the TestFlight app (via email).</p> <h2>Latest version only</h2> <p>Another item worth noting here is it looks like all testers, whether beta or internal, will only be able to install the latest version of a beta available. In Apple's demonstration during their <a href="http://devstreaming.apple.com/videos/wwdc/2014/302xxo8xxixuera/302/302_hd_the_new_itunes_connect.mov?dl=1">The New iTunes Connect</a> session, the video shows all builds except for the latest being marked as "Inactive". When a new build goes up, the previously available build goes from having a checkmark to showing "Inactive" as well. Of course maybe developers will have the ability to control if testers get access to old builds, we can't say for sure until Apple documents it or we get access to the new iTunes Connect this fall, but this could be a deal breaker for many.</p> <h2>Crash reporting... later next year</h2> <p>One final big feature for TestFlight worth covering is crash reporting. When an app crashes on your device, a crash log is generated. iTunesConnect has long offered the ability to view those crash logs, but with limited success. One of the big missing pieces of functionality has always been lack of symbolication. Basically this means instead of a crash report telling a developer the name of the piece of code it crashed in, it would show the infinitely less useful hex address of that piece of code. Instead of something like "[OMGASIHTTPRequest reportFinished]", they'd see something like "0x9b000 + 23698". 3rd party services like HockeyApp have offered crash log symbolication for some time, and now iTunes Connect will finally have it. Unfortunately this feature will be coming "later next year", so developers interested in useful crash reporting in the mean time will need to stick with something else.</p> <h2>TestFlight in iOS 8: The bottom line</h2> <p>Ultimately TestFlight in <a href="http://www.imore.com/ios-8" title="iOS 8 news, rumors, speculation">iOS 8</a> means more options for developers and testers when it comes to beta testing. Developers will have the ability to distribute apps to more users outside of the App Store than they were able to before, and testers will get a sanctioned, native app for install 3rd party apps outside of the App Store for testing. And hopefully this expanded testing results in fewer bugs shipping to the App Store, and more polished apps getting into the hands of end users.</p> <p>If you're a developer let me know — what do you think of the all new, all-Apple, currently all-iOS test Flight?</p> <ul><li><a href="http://www.neglectedpotential.com/2014/06/testflight/">Read more about TestFlight and what developers need to know</a></li> </ul></div></div></div><div id="comment-wrapper-nid-25032"></div><img width='1' height='1' src='http://tipb.com.feedsportal.com/c/33998/f/616881/s/3b4633f4/sc/4/mf.gif' border='0'/><br clear='all'/><br/><br/><a href="http://da.feedsportal.com/r/199106747634/u/49/f/616881/c/33998/s/3b4633f4/sc/4/rc/1/rc.htm" rel="nofollow"><img src="http://da.feedsportal.com/r/199106747634/u/49/f/616881/c/33998/s/3b4633f4/sc/4/rc/1/rc.img" border="0"/></a><br/><a href="http://da.feedsportal.com/r/199106747634/u/49/f/616881/c/33998/s/3b4633f4/sc/4/rc/2/rc.htm" rel="nofollow"><img src="http://da.feedsportal.com/r/199106747634/u/49/f/616881/c/33998/s/3b4633f4/sc/4/rc/2/rc.img" border="0"/></a><br/><a href="http://da.feedsportal.com/r/199106747634/u/49/f/616881/c/33998/s/3b4633f4/sc/4/rc/3/rc.htm" rel="nofollow"><img src="http://da.feedsportal.com/r/199106747634/u/49/f/616881/c/33998/s/3b4633f4/sc/4/rc/3/rc.img" border="0"/></a><br/><br/><a href="http://da.feedsportal.com/r/199106747634/u/49/f/616881/c/33998/s/3b4633f4/sc/4/a2.htm"><img src="http://da.feedsportal.com/r/199106747634/u/49/f/616881/c/33998/s/3b4633f4/sc/4/a2.img" border="0"/></a><img width="1" height="1" src="http://pi.feedsportal.com/r/199106747634/u/49/f/616881/c/33998/s/3b4633f4/sc/4/a2t.img" border="0"/><img src="http://feeds.feedburner.com/~r/TheIphoneBlog/~4/CrAUehikJNQ" height="1" width="1"/>
Source: TestFlight in iOS 8: Explained
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: