Using Corona SDK with Apple’s TestFlightApp

Using Corona SDK with Apple’s TestFlightApp

As several people have noted in the forums, trying to use TestFlightApp with the iTunes Connect portal isn’t working quite like it should.  After some research, it seems that including the entitlements in the provisioning profile isn’t enough to satisfy some of Apple’s requirements.  An extra entitlements file needs to be added to the app bundle that is the same as the entitlements.plist file that is created by Xcode when adding other entitlements.

While we work to resolve this, you can still use TestFlight successfully in the mean time. You just need to use a 3rd party product called AirSign.

After downloading/installing AirSign, there are several things to setup the very first time you launch, including telling AirSign where your provisioning profiles are, which should be in a folder under your home directory:

~/Library/MobileDevice/Provisioning Profiles

Since ~/Library is hidden by default, this is normally difficult to get to. When AirSign prompts you for the provisioning profile folder, use this special keyboard shortcut: Command-Shift-G. This brings up a sheet where you can type in the above path.

(You can also unhide this folder via the terminal enter chflags nohidden ~/Library ).

Making IPA files

AirSign looks for an .ipa file.  This is the type of file you would install using iTunes.  Corona SDK outputs an unpacked app bundle (.app) and a .zip file of that .app file.  To make a .ipa file do the following:

  1. Make a new folder called Payload (case sensitive)
  2. Drag the app bundle (not the .zip file) into the Payload folder
  3. CTRL-Click (or Right-click) on the Payload folder and choose Compress
  4. This will create a file, rename this file to YourAppName.ipa

Once that is complete, you can then run AirSign, navigate to the .ipa file and open it.  Go to the CodeSigning tab and select the the Distribution provisioning profile for your app (not AdHoc).  Visit the distribution tab and save a new .ipa file.

Run Application Loader and pick the newly resigned .ipa file as the file to send to iTunes Connect.

This should upload a valid app to iTunes Connect and allow you to invite people to test your app.



Rob Miracle

Rob is the Developer Relations Manager for Corona Labs. Besides being passionate about helping other developers make great games using Corona, he is also enjoys making games in his spare time. Rob has been coding games since 1979 from personal computers to mainframes. He has over 16 years professional experience in the gaming industry.

  • J. A. Whye
    Posted at 19:51h, 12 December

    Or, if you’re just using the “old fashioned” TestFlight you don’t have to do anything — that one still works as it always has.

    • Chris Zukowski
      Posted at 12:58h, 13 December

      Are you able to use game center with “old fashioned” testflight? If you are then can you tell me your secret? If not, then itunes connect is the only way I know of to get that to work for beta testers. Anxious for a fix here soon. <3

      • Rob Miracle
        Posted at 16:27h, 13 December

        Old fashioned test flight should work with GameCenter. Your testers have to logout of their real GameCenter accounts and then login with a test account while running your app.


  • Tom
    Posted at 12:09h, 03 March

    Is this still a problem, or does it work as expected now? Do you know of a tutorial for using Corona with TestFlight?

    • Al
      Posted at 10:06h, 22 March

      I’m with Tom, any updates on this?

      • Rob Miracle
        Posted at 19:17h, 22 March

        As far as I know, there are no issues with using Apple’s new Testflight with Corona built apps.

        • Simon Fearby
          Posted at 08:59h, 28 April

          Do we need to use Airsign or is there a simpler guide?