PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Principle
  • Ad Hoc setup: the different steps
  • Connection to the Apple site and identification
  • Provisioning Portal
  • Operations in Xcode
  • In-house setup: the different steps
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Principle
This type of deployment allows you to distribute your application on an iPhone or iPad device.
Most of the operations will be performed on the Web, then in the "Apple developer center", then in the XCode compiler on a Mac.
Depending on your iOS development license, you will have the ability to perform one of the following setups:
  • adhoc.
  • in-house.
Ad Hoc setup: the different steps
The Ad Hoc setup is used to install the application on several devices (up to 100).
Note: The following operations can be modified at any time by Apple.
The distribution of application includes several steps:

Connection to the Apple site and identification

  1. Connect to the site of the iOS developer center: "http://developer.apple.com".
  2. Click the "iOS Dev Center" link.
  3. Click the "Log In" button and type your login and password (created when registering toward the "iOS Dev Center").
  4. Click the "iOS Provisioning Portal" link.

Provisioning Portal

Once connected to the iOS Provisioning Portal, follow these 4 steps:
  • Certificates.
  • Devices.
  • App IDs.
  • Provisioning.
These steps will allow you to:
  • Retrieve the certificates in order to authenticate your application.
  • Reference the devices on which your application will be distributed.
  • Create an identifier for your application (bundle).
  • Associate your application with the target devices.
  • Create a final certificate. This certificate will be installed on the computer that compiles in Xcode the application in Release mode (distributable) in order to install it on the relevant devices.
Click the "Distribution" link for more details. This documentation explains the different steps for saving and distributing an iOS application on a device.
Certificates step: downloading the developer certificate
Click the "Certificates" link. Several tabs are visible in the page :
  • "Development": this tab is used to download and install a certificate to run the test of the application on the device.
  • "Distribution": this tab is used to download and distribute the application on the device (real deployment).
For example, to run the test of the application on your device:
  • Select the "Development" tab
  • Download the development certificate (developer signature).
  • Download the Intermediate certificate (Apple signature).
  • Double-click each certificate to install it on the Apple computer used for the compilation.
Device step: Recognizing the devices
Click the "Devices" link. For an AdHoc setup, each device (up to 100 devices) must be registered before installing an application on a device.
The list of registered devices is displayed in a table.
To register a new device, click the "Add device" link. You must specify the "Device ID" of device to register.
App IDs step: Creating an identifier for the application
The "App ID" of the application is used to represent in a unique way the application that will be installed (this identifier is also called "Bundle Identifier").
This identifier must be unique for each application. Caution, this name cannot be deleted. This identifier includes 2 sections (prefix and suffix):
  • The prefix can be a generic identifier (* for team id) or an identifier linked to your developer account.
  • The suffix corresponds to the name of your application.
This identifier should be named in 'reverse domain', which means for example: fr.pcsoft.MyApp
Versions 21 and later
Apple Watch Application associated with an Apple Watch application: Two additional identifiers must be created:
  • "<Identifier of iOS application>.watchkitapp".
  • "<Identifier of iOS application>.watchkitapp.watchkitextension".
For example, if the identifier of the iOS application is fr.pcsoft.MyApp, create the identifiers:
  • fr.pcsoft.MyApp.watchkitapp
  • fr.pcsoft.MyApp.watchkitapp.watchkitextension.
New in version 21
Apple Watch Application associated with an Apple Watch application: Two additional identifiers must be created:
  • "<Identifier of iOS application>.watchkitapp".
  • "<Identifier of iOS application>.watchkitapp.watchkitextension".
For example, if the identifier of the iOS application is fr.pcsoft.MyApp, create the identifiers:
  • fr.pcsoft.MyApp.watchkitapp
  • fr.pcsoft.MyApp.watchkitapp.watchkitextension.
Apple Watch Application associated with an Apple Watch application: Two additional identifiers must be created:
  • "<Identifier of iOS application>.watchkitapp".
  • "<Identifier of iOS application>.watchkitapp.watchkitextension".
For example, if the identifier of the iOS application is fr.pcsoft.MyApp, create the identifiers:
  • fr.pcsoft.MyApp.watchkitapp
  • fr.pcsoft.MyApp.watchkitapp.watchkitextension.
See the Apple documentation for more details.
Provisioning step
The "Provisioning" is used to link the application certificates and the device certificates. This association is used to represent in a unique way the couple corresponding to your device and to your application.
To do so, you must:
  • Create a profile ("New Profile" button).
  • Select the "App Id" of your application and check the devices onto which your application will be installed.
Versions 21 and later
Apple Watch Application associated with an Apple Watch application: Create a profile for the two additional identifiers ("<Identifier of iOS application>.watchkitapp" and "<Identifier of iOS application>.watchkitapp.watchkitextension") created during the previous step.
New in version 21
Apple Watch Application associated with an Apple Watch application: Create a profile for the two additional identifiers ("<Identifier of iOS application>.watchkitapp" and "<Identifier of iOS application>.watchkitapp.watchkitextension") created during the previous step.
Apple Watch Application associated with an Apple Watch application: Create a profile for the two additional identifiers ("<Identifier of iOS application>.watchkitapp" and "<Identifier of iOS application>.watchkitapp.watchkitextension") created during the previous step.
Once the profile is created:
  • click the "Action" column to download the certificate that must be installed on the compilation computer (Apple computer with Xcode)
  • clickl the downloaded certificate to install it. It will be automatically installed in Xcode.
Versions 21 and later
Apple Watch Application associated with an Apple Watch application: Repeat these operations for the two additional profiles created for the Apple Watch application.
New in version 21
Apple Watch Application associated with an Apple Watch application: Repeat these operations for the two additional profiles created for the Apple Watch application.
Apple Watch Application associated with an Apple Watch application: Repeat these operations for the two additional profiles created for the Apple Watch application.
Note : On the MAC compilation computer, don't forget to install the private key generated when purchasing the developer license.

Operations in Xcode

The operations in Xcode are as follows:
  • Start Xcode and load your project.
  • Drag and Drop the "provisioning" certificate that was previously downloaded into the Xcode environment. It will be automatically installed.
    Versions 21 and later
    Apple Watch Application associated with an Apple Watch application: Repeat these operations for the two additional "Provisioning" certificates created for the Apple Watch application.
    New in version 21
    Apple Watch Application associated with an Apple Watch application: Repeat these operations for the two additional "Provisioning" certificates created for the Apple Watch application.
    Apple Watch Application associated with an Apple Watch application: Repeat these operations for the two additional "Provisioning" certificates created for the Apple Watch application.
  • Create a new configuration for your project (or copy an existing configuration for example).
  • In the "Target Info" window, select the "build" tab and select the new configuration that was created beforehand.
  • In the "Target Info" window:
    • Click the "Code Signing" pane.
    • Click "Code Signing identity".
    • Then, click "any iOS device".
    • Associate the certificate that was previously downloaded.
  • In the "Target Info" window, select the "Properties" tab and enter the suffix of the identifier of your application (for example, if your application identifier is ABCDEF123456.com.domainname.applicationname, enter "com.domainname.apllicationname".
  • In the project window, in the top left corner, select the "active configuration" and the "active SDK" for the corresponding device (iPhone or iPad).
  • Then, start the compilation ("build").
If the device is connected to the compilation MAC, the application will be automatically installed on this one.
In-house setup: the different steps
The in-house setup is intended for a company that wants to install an application on the devices that belong to the company. The distribution of the application will be performed:
  • via a private Web server of the company.
  • by iTunes.
The distribution of application includes several steps:
  • Connect to the site of the iOS developer center: "http://developer.apple.com"
  • Click the "iOS Dev Center" link
  • Click the "Log In" button and type your login and password (created when registering toward the "iOS Dev Center").
  • Click the "Certificates, Identifiers & Profiles" link. Then, follow these 3 steps:
    • Certificates.
    • App IDs.
    • Provisioning Profiles.
      These 3 steps are used to:
      • Retrieve the certificates in order to authenticate your application.
      • Create an identifier for your application.
      • Associate your application ID with the certificate in order to create a final certificate. This certificate will be installed on the computer that compiles in Xcode the application in Release mode (distributable) in order to distribute it.
Minimum required version
  • Version 17
Comments
Click [Add] to post a comment