Compiling the UltraLite iPhone library

To use UltraLite on the iPhone, you must first compile the library.

 Compile the library for the iPhone simulator
  1. In a Terminal window, navigate to the SQL Anywhere ultralite/iphone directory.

  2. If your environment is not set up for SQL Anywhere, source the sa_config shell script for your Terminal's shell from the SQL Anywhere System/bin64 directory.

  3. Run the following command to invoke the interactive build script:

    ./build.sh
  4. Select the options you prefer.

  5. Once compilation is complete, verify that the libulrt.a universal archive has been created in the current directory.