doc92606
doc92606

Reputation: 701

Xcode App Distribution with Testflight

I am currently trying to distribute my Xcode app onto an iPhone with test flight. The website has a tutorial on how to generate the IPA, and so far I'm stuck at step 4. Here is step 4:

4) Go to the Build Settings tab and scroll down to the Code Signing section and expand the Provisioning Profile settings. For the two default build configurations (Debug and Release), select your Development Provisioning Profile for Debug and your Ad Hoc Provisioning Profile for Release.

For starters, when I go to the Code Signing section when I hit Build settings, there is no Provisioning profile setting. Instead, there is a Code Signing Identity setting. Also, The development provisioning profile and the Ad hoc provisioning file don't show up for me when I click on Debug or Release. All that shows up is iPhone Developer and iPhone Distribution.

How can I create a Development Provisioning profile and an Ad Hoc provisioning profile?

Upvotes: 1

Views: 2089

Answers (3)

Krunal
Krunal

Reputation: 79776

Go through following steps (Details of each steps is linked with Apple guideline)

  1. Configuring Your Xcode Project for Distribution
  2. Maintaining Identifiers, Devices, and Profiles
    • Register App IDs
    • Register Devices Using Your Developer Account
    • Create Development/Ad Hoc/Production Provisioning Profiles
    • Download Provisioning Profiles in Xcode
  3. Export Your App for Testing (iOS, tvOS, watchOS)
    • Register Test Device
    • Archive Your App
    • Export Your App for Testing Outside the Store
  4. Distributing Your App Using TestFlight (iOS, tvOS, watchOS)

Upvotes: 1

Charan Giri
Charan Giri

Reputation: 1097

make sure you have development certificate and Provisioning profile for development with devices UDID. if you don't have them create new development certificate and Provisioning profile.

Open Test flight and create an app with some name. It will generate a unique identifier for your app with code to implement. copy code and paste in app delegate.m then create an IPA using those files.

Once you create IPA file open Test flight it will ask you to drag drop the IPA file, once you drop your IPA it will process uploading and shows list of devices and user name. Your device will be either in users name section or in UDID'd section select the device you want to send through test flight and send.

Upvotes: 1

gdavis
gdavis

Reputation: 2585

You create provisioning profiles on http://developer.apple.com. Here, you need to log into your Apple developer account and go through the process of creating an AdHoc Distribution profile. This involves creating a certificate, adding devices, then generating a profile that uses the new certificate and a list of devices. You then download that profile, choose it in the Build Settings of your app for Release builds, and then archive your build. From here, you can then send out your app to your TestFlight users.

Upvotes: 0

Related Questions