Testing App Store "Distribution" Version

Is there a way to test the App Store distribution that will be sent to iTunes Connect on a device, for example. Ipod touch?

In addition, is it important for a distribution package to delete the file "Entitlemenets.plist"?

+2
iphone
source share
4 answers

You can run the Distribution design on a device with an Ad Hoc training profile.

(You cannot run it using the debugger.)

Alternatively, you can send Ad Hoc to the App Store.

This is because the Ad Hoc and Distribution assemblies are signed with the same distribution certificate. (There is no separate "Special Certificate".)

Do not delete Entitlements.plist. He must be present.

+4
source share

Yes it is possible. All you have to do is install the Ad Hoc Provision profile app on your device first. Then, when you uninstalled your application again, you can install it using an assembly signed with the App Store provisioning profile.

This works because when you install the Ad Hoc build, an Ad Hoc Provision profile is installed on your phone, which adds your distribution certificate, which is the same as the App Store profile profile. This is enough to run your distribution assembly.

A provisioning profile is just a set of rules that explain which devices are allowed to install your certificate. An Ad Hoc profile allows registered devices to install your distribution certificate. An App Store profile allows App Store users to install it. After the device has a certificate, they do not need to install it again and can use your application no matter what profile is included in the application.

Step by step for Xcode to test your distribution package:

(Note: this does NOT require a jailbreak phone)

The first time you want to test your application using the distribution build:

  • Create provisioning profiles for the app store and ad hoc in the initialization portal and install them on your Mac.
  • Archive project
  • Press distributes and selects ad hoc / enterprise
  • Select ad hoc provisiong profile
  • Install the package on your iPhone (via iTunes or in any other way). Make sure the Ad Hoc profile is installed on your phone. Settings
  • Uninstall the application, but save the installed profile on your phone.

Now, every time you want to release your application and pre-test it with your own, you can do this:

  • Archive project
  • Press distributes and selects ad hoc / enterprise
  • Select App Store Provisioning Profile
  • Install on your phone and test it (for example, using iTunes)
  • Download the exported .ipa to the App Store (via the application loader)
+2
source share

You can test the equivalent of the App Store distribution by creating a target that is identical to the target of the App Store, except for one signed with the Ad Hoc profile.

0
source share
0
source share

All Articles