Run and test the application on an emulator and verify that the application automatically registers to Unwired Server using the default application connection template.
- In Xcode, select Product > Build and then Product > Run.
The project is built and the iPhone Simulator starts.
- In the iPhone simulator, go to to enter the connection settings.
- ServerNameSetting – the machine that hosts the server where the mobile application project is deployed.
- ServerPortSetting – Unwired Server port number. The default is 5001.
- CompanyIDSetting – if connecting directly to Unwired Server company ID is not required. If connecting through a Relay Server, set the company ID to the Relay Server farm ID.
- UserNameSetting – the user defined in the security configuration you selected at deployment time.
- ActivationCodeSetting – the activation code for the user. This setting is not required for automatic registration; an activation code is only required if you are performing manual registration.
- In the iPhone applications screen, open the application.
- In Sybase Control Center verify that the application connection was created in Applications > Application Connections.
When the application has successfully registered, the application connection displays a value of zero in the Pending Items column.
- Test the functionality of the application. Use debug tools as necessary, setting breakpoints at appropriate places in the application.