Install Genero Mobile for iOS (single version)

To build and package Genero Mobile for iOS (GMI) applications, you must first install GMI. This topic explains how to install a unique GMI version/package into FGLDIR.

Before you begin:

The installation and licensing of Genero products requires you to read and accept the End User License Agreement, which can be found on the Four Js website at http://4js.com/end-user-license-agreements/.

Important: The GMI and Genero BDL X.YZ versions are interdependent. For example, GMI 1.30 is required to work with Genero BDL version 3.10, GMI 1.40 is required to work with Genero BDL 3.20, etc.
  • Download the Genero Mobile for iOS (GMI) distribution archive from the Four Js Web site. GMI can only be installed on a Mac® OS X computer.
  • Install Genero Business Development Language. See Installing Genero BDL for more details.
Follow this procedure if you are using only one version of GMI for a Genero BDL installation.
Important: When re-installing a new GMI archive, remove all "build" directories created by the gmibuildtool.
  1. Install Xcode®.
    The Xcode version must support the iOS versions of your mobile devices.
    Tip: As a general rule, update the Xcode and iOS to the latest versions
  2. Define the FGLDIR environment variable with the Genero BDL installation directory.
    $ export FGLDIR=/opt/fourjs/fglgws-3.10 
  3. Extract the GMI distribution archive (fjs-fglgmi-*.zip) into FGLDIR.
    The GMI distribution archive contains the GMI buildtool and the needed iOS libraries and helper scripts.
    $ unzip -q -o -d $FGLDIR fgl-fglgmi-*.zip
  4. If you have installed Cordova plugins, you need to re-install the plugins with the --install-plugin option of gmibuildtool. For more details, see Installing Cordova plugins.