PowerBuilder Authors: Chris Pollach, Yeshim Deniz, Jayaram Krishnaswamy, Kevin Benedict, Avi Rosenthal

Related Topics: Wearables, Mobile IoT, PowerBuilder

Wearables: Article

Testing the iOS Application

Sybase Unwired Platform Article Series #7

In the 7th and penultimate article of my Sybase UnWired Platform Series developing against iOS, we have created the app and now need to iteratively test. Testing the iOS/SUP application uses a combination of Apple's Xcode Environment, the SUP Control Center and the Logs generated by the Unwired Server

Below is a screen shot of the SUP Control Center web console. This is where we need to register a user against the Unwired Server, including an activation code, before we run the iOS client that has been written. This is accessible via the URL https://<servername>:8283/scc/#


The user id and activation code, that was created above, is referenced in the application settings bundle of the application. Once deployed these are accessible by the settings app in the iOS itself, shown below.

Settings for iSurvey


When all the above are set we can run the application, in this case within the simulator and watch for statements in the Xcode console.

Below is an example of the first few statements displayed as the app connects to the Unwired Server and starts to create the remote database and synchronize the data.


Please check back weekly on a Friday for the next article and please follow me on Twitter @ithain

More Stories By Ian Thain

As one of the Sybase Technical Evangelists, Ian regularly addresses technical audiences all over the world and his sessions are always very well attended. He also writes education classes, whitepapers, demos and articles for various Sybase products and publishes regularly in Journals such as SYS-CON's PBDJ and International Developer Magazine. He is also the Sybase Unwired Platform & PocketBuilder Evangelist and works closely with the team in Dublin, CA and Concord, MA on new features and demonstrations for the products. In his customer-facing Evangelist role, Ian is very involved with the design, production and testing of Enterprise class Unwired Solutions, that have been implemented using Sybase's Unwired tools for Sybase customers around the globe. In addition, Ian is a dedicated technical expert continually working with Sybase's key partners and clients to enhance the capabilities of the Unwired solutions that Sybase can offer to its customers. Ian can also be found on Twitter @ithain