Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Share my iPhone app for testing

Tags:

I'm writing a new iPhone app and want to share it with a couple of friends for testing and general feedback and sign-off. Is there a way I can do that?

They are located in a different state, and they don't have a Mac either.

like image 705
KumarM Avatar asked Sep 20 '10 17:09

KumarM


People also ask

Can I test my app on iPhone?

The short answer would be: You can't. Usually you need a mac to do proper iOS development and usually (which means taking the official route) there's no way to run your app on any device without a certificate.

How do I share an app on TestFlight?

Simply go to your app's TestFlight page, click an existing group, and click Enable Public Link. You can then copy the link and share it on social media, messaging platforms, email campaigns, and more. Remember not to localize the TestFlight name or create TestFlight badges to promote your app.


1 Answers

Edit: I wrote this post a long time ago. Since then, services such as TestFlight have come along which do this entire process. This is really the way to go!

You need to make an ad hoc build which your friends can install on their phones. It's a bit of a pain, but basically, the procedure goes like this:

  1. Go to the Apple Developer Center's Provisioning Portal and register their device ID's. You will need to have your friends give you their device ID's, which can be done by clicking on the "Serial Number" field in iTunes on the device page.
  2. Generate a distribution certificate for ad hoc distribution in the Provisioning Portal under Provisioning -> Distribution
  3. Download that certificate yourself (the .mobileprovision file) and install it into Xcode by dragging it on the Xcode icon.
  4. Duplicate your "Release" build setting in Xcode for an Ad Hoc build. Everything should be the same as Release, except in the "Code Signing" section you will want to select the new Ad Hoc profile generated in step 3.
  5. Make an Ad Hoc build by going to Build -> Build and Archive
  6. When Xcode brings up the organizer window, right click on the archived build and make a .ipa file by saving it to disk
  7. Tell your friends to drag the mobile provisioning profile to the iTunes icon (or with File -> Open for windows users) to install it on their phone.
  8. Tell your friends to drag the .ipa file you made into iTunes, and sync their phones

At this point, the app should be installed on their phone, but lots of things can go wrong, so you should definitely read Apple's documentation on the subject as well.

Note that this procedure won't work unless your friends are using iTunes to sync applications with their phones. Also, as noted, you will need to be a paying developer in ADC to even access any of the Provisioning Portal stuff.

like image 112
Nik Reiman Avatar answered Sep 22 '22 00:09

Nik Reiman