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- In XCode, make sure that the Scheme is set to SUP101|iPhone 4.3 Simulator, and select and then .
The project is built and the iPhone Simulator starts.
- In the iPhone simulator, go to the Settings app, 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.
- In the iPhone applications screen, open the SUP101 application.
- Click Subscribe.
The customer list appears.
- 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.
- Change the First Name to something else, and click Submit.