PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Xcode version to use
  • Compilation in Xcode on the MAC
  • Transferring the WINDEV Mobile project onto MAC
  • Managing signatures in Xcode 8
  • Compiling the project in Xcode
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
Overview
When the WINDEV Mobile project for iPhone/iPad is generated on the development computer, the generated files must be transferred onto a Mac in order to be compiled.
For more details, see:
Xcode version to use
WINDEV Mobile 21 Update 3 (210065N) + specific PC SOFT pack for iOS or WINDEV Mobile 21 Update 4 (210067):
The Xcode projects generated by these versions are adapted to Xcode 8. This Xcode version must be used to test and deploy applications for iOS, including for the devices running iOS 10.
Caution: the projects generated from these versions of WINDEV Mobile can only be used on iOS devices version 8 or later.
WINDEV Mobile 21 Update 3 (210065N) :
If you are using Xcode 8 or iOS 10, we advise you to contact the technical support in order to get the specific PC SOFT pack for iOS.
The Xcode projects generated by WINDEV Mobile 21 Update 3 (210065N) are adapted to Xcode 7 (version 7.3.1 at this time).
To deploy on iPhone or iPad devices running iOS 10 from Xcode 7, see the FAQ https://faq.pcsoft.fr/faqread.awp?idfaq=13544&lang=us.
The Xcode projects generated by WINDEV Mobile 22 and 23 are adapted to Xcode 8. This Xcode version must be used to test and deploy applications for iOS, including for the devices running iOS 10. Caution: the projects generated from WINDEV Mobile 22 and 23 can only be used on iOS devices version 8 or later.
Compilation in Xcode on the MAC

Transferring the WINDEV Mobile project onto MAC

To transfer the WINDEV Mobile project onto MAC:
  1. Copy the entire folder generated in the EXE directory onto an external media (USB key, external hard disk, shared directory with MAC on network). This directory is named <Project Name>.xcode.gen.
  2. Paste this folder on the MAC that will compile the application.
  3. Open the folder on MAC and open the file named "Project_name.xcodeproj".
  4. The project is opened in Xcode.
Versions 21 and later

Managing signatures in Xcode 8

From WINDEV Mobile Update 4 (or WINDEV Mobile 21 Update 3 (210065N) + specific PC SOFT pack for iOS), the wizard for generating iOS applications gives you the ability to manage the signatures in Xcode. The wizard for generating iOS applications gives you the ability to manage the signatures in Xcode.
Ih this option was chosen in the generation wizard, when opening the project in Xcode, Xcode is using the "automatic" signature mode by default. The option "Automatically manage signing" is selected.
The "Team" option must be specified before compiling the project in Xcode.
Note: the "Team" characteristics are specified in the Xcode accounts. The "Provisioning profile" is automatically selected.
You have the ability to choose the "manual" signature mode by unchecking the 'option "Automatically manage signing".
In this case, Xcode asks you to fill the signature characteristics. All you have to do is select the requested "Provisioning profile" for the "Debug" and "Release" modes. These files can be imported if they are not found in Xcode.
New in version 21

Managing signatures in Xcode 8

From WINDEV Mobile Update 4 (or WINDEV Mobile 21 Update 3 (210065N) + specific PC SOFT pack for iOS), the wizard for generating iOS applications gives you the ability to manage the signatures in Xcode. The wizard for generating iOS applications gives you the ability to manage the signatures in Xcode.
Ih this option was chosen in the generation wizard, when opening the project in Xcode, Xcode is using the "automatic" signature mode by default. The option "Automatically manage signing" is selected.
The "Team" option must be specified before compiling the project in Xcode.
Note: the "Team" characteristics are specified in the Xcode accounts. The "Provisioning profile" is automatically selected.
You have the ability to choose the "manual" signature mode by unchecking the 'option "Automatically manage signing".
In this case, Xcode asks you to fill the signature characteristics. All you have to do is select the requested "Provisioning profile" for the "Debug" and "Release" modes. These files can be imported if they are not found in Xcode.

Managing signatures in Xcode 8

From WINDEV Mobile Update 4 (or WINDEV Mobile 21 Update 3 (210065N) + specific PC SOFT pack for iOS), the wizard for generating iOS applications gives you the ability to manage the signatures in Xcode. The wizard for generating iOS applications gives you the ability to manage the signatures in Xcode.
Ih this option was chosen in the generation wizard, when opening the project in Xcode, Xcode is using the "automatic" signature mode by default. The option "Automatically manage signing" is selected.
The "Team" option must be specified before compiling the project in Xcode.
Note: the "Team" characteristics are specified in the Xcode accounts. The "Provisioning profile" is automatically selected.
You have the ability to choose the "manual" signature mode by unchecking the 'option "Automatically manage signing".
In this case, Xcode asks you to fill the signature characteristics. All you have to do is select the requested "Provisioning profile" for the "Debug" and "Release" modes. These files can be imported if they are not found in Xcode.

Compiling the project in Xcode

WINDEV Mobile automatically generates an Xcode project for your iOS compilations. To simplify the implementation of applications, WINDEV Mobile generates two "Scheme" for Xcode:
  • The first "Scheme" is used to compile your project for the iPhone/iPad simulator of Xcode. It contains specific code for the Mac processor (i386). It is named like your project followed by " Simulator ".
  • The second "Scheme" is used to generate your project for an iPhone/iPad device. It is named like your project that will be named like the application deployed on the device or in the appstore. It contains code specific to the iPhone/iPad processor.
It is important to choose the proper "Scheme" to generate the project with xCode to avoid errors linked to the code specific to the processor (i386 link error).
To compile the project in Xcode:
  1. In the drop-down list found in the top left corner, select the compilation options:
    • Device mode (first "scheme"): this mode must be selected to generate the application to install on the device.
      Caution: If you directly select the scheme named like your application, no simulation mode must be selected in the list thereafter. Otherwise, compilation errors will occur.
    • Simulator mode (second "scheme"): this mode must be selected to simulate the application execution on MAC as if it was installed on the device. You have the ability to choose a simulation window representing the device (iPhone or iPad).
      Caution: If the "<Application Name> Simulator" scheme is selected in the list, one of the "xxx Simulator" modes must be selected in the list thereafter. Otherwise, compilation errors will occur.
  2. To start the compilation, select "Product .. Clean" then "Product .. Build".
  3. A status report of compilation is displayed at the top ("Succeeded", otherwise the number of warnings and errors). You have the ability to click these symbols to see the list of errors/warnings.
  4. Once the program is compiled without error, you can start the simulation ("Product .. Run"). The simulation window appears with the application.

Then, you have the ability to run the test of your application on your iPhone or iPad. See Deploying the application for more details.
WINDEV Mobile automatically generates an Xcode project for your iOS compilations. To simplify the implementation of applications, WINDEV Mobile generates a "Scheme" for Xcode. To compile the project in Xcode:
  1. In the drop-down list found in the top left corner, select the compilation options. Select the scheme corresponding to your application then the compilation target (device currently connected or a simulator).
    Versions 21 and later
    Apple Watch Application associated with an Apple Watch application: Choose the target combined to Apple Watch ("<device currently connected or simulator> + Apple Watch").
    New in version 21
    Apple Watch Application associated with an Apple Watch application: Choose the target combined to Apple Watch ("<device currently connected or simulator> + Apple Watch").
    Apple Watch Application associated with an Apple Watch application: Choose the target combined to Apple Watch ("<device currently connected or simulator> + Apple Watch").
  2. To start the compilation, select "Product .. Clean" then "Product .. Build".
  3. A status report of compilation is displayed at the top ("Succeeded", otherwise the number of warnings and errors). You have the ability to click these symbols to see the list of errors/warnings.
  4. Once the program is compiled without error, you can start the simulation ("Product .. Run"). The simulation window appears with the application.
Then, you have the ability to run the test of your application on your iPhone or iPad. See Deploying the application for more details.
Notes: 32-bit and 64-bit generation:
  • Caution: From February 1st 2015, Apple imposes that all the iOS applications are necessarily compiled in 32 bits AND in 64 bits. The iOS generation in 64-bit mode is a new feature of the version 20 of WINDEV Mobile. Therefore, it is important to recompile the WINDEV Mobile applications in version 20 so that they can be distributed in the AppStore after this deadline!
    Versions 20 and later
    Caution: From February 1st 2015, Apple imposes that all the iOS applications are necessarily compiled in 32 bits AND in 64 bits. The iOS generation in 64-bit mode is a new feature of the version 20 of WINDEV Mobile. Therefore, it is important to recompile the WINDEV Mobile applications in version 20 so that they can be distributed in the AppStore after this deadline!
    New in version 20
    Caution: From February 1st 2015, Apple imposes that all the iOS applications are necessarily compiled in 32 bits AND in 64 bits. The iOS generation in 64-bit mode is a new feature of the version 20 of WINDEV Mobile. Therefore, it is important to recompile the WINDEV Mobile applications in version 20 so that they can be distributed in the AppStore after this deadline!
    Caution: From February 1st 2015, Apple imposes that all the iOS applications are necessarily compiled in 32 bits AND in 64 bits. The iOS generation in 64-bit mode is a new feature of the version 20 of WINDEV Mobile. Therefore, it is important to recompile the WINDEV Mobile applications in version 20 so that they can be distributed in the AppStore after this deadline!
  • In Xcode in the Apple simulator, the applications will ALWAYS be run in 32-bit mode.
Minimum required version
  • Version 17
Comments
Click [Add] to post a comment