Tuto WINDEV Mobile 25

Part 5: Android and iOS: Developing an application 173 18.  The generation is performed in the EXE folder of project directory. The directory containing the source code that will be used on Mac is named "Project_name.xcode.gen" ("WM Managing Products.xcode.gen" in our example). This is the directory that must be copied onto Mac. Click the "Open the generation directory" button. The other operations must be performed on Mac. You must: • Transfer the WINDEV Mobile project onto Mac. • Compile the project in Xcode. 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&gt.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. 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 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). 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.

RkJQdWJsaXNoZXIy NDQ0OA==