Deploying the Device Application

Goal: Deploy the SUP101 application to the iPhone Simulator for testing.

Prerequisites
Have a registered device user in Sybase Control Center.

You must be connected to the server where the mobile application project is deployed.

Task
  1. In XCode, select Build > Build and Run.
    The project builds and the iPhone Simulator starts.
  2. In the Settings screen of the iPhone simulator, choose SUP101 and enter the connection settings:
    • ServerNameSetting – the machine that hosts the server where the SUP101 mobile application project is deployed.
    • ServerPortSetting – Unwired Server port number. The default is 5001.
    • CompanyIDSetting – the company ID you entered when you registered the device in Sybase Control Center, in this case, 0.
    • UserNameSetting – the user you registered in Sybase Control Center, user1.
    • ActivationCodeSetting – the activation code for the user, 123.
  3. In the iPhone applications screen, open the SUP101 application.
  4. Click Subscribe.
    The customer list appears.
  5. Select a customer record from the customer list and double-click to open the detail view.
    The customer detail shows the fields: First Name, Last Name, and Phone.
  6. Change the First Name to something else, and click Submit.
  7. You return to the customer list screen, where the changed record appears with an indicator.