Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » UltraLite - C and C++ Programming » Tutorials » Tutorial: Building an iPhone application using the C++ API


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:

  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.