I have created an Ultralite db sample Iphone App using Xcode 4.2, Apple IOS SDK 5.0, Objective C and SQL Anywhere 12 version. I am trying to connect the ultralite db in my app. I created 'libulrt.a' file for the simulator and armV6 and armV7 processors. The app connects to the db and retrieves the data when I run it in the simulator.
If I run the same app in the Iphone device, it does not work. It throws the error sqlcode = -954.
–954 The database '%1' was not found
I copied the ultralite dub file into 'Resources' folder of my app. I have written the code to copy this db from the App path to the Documents directory. The database gets copied to Documents directory but unable to connect to this db.
FYI: The Ultralite db has been created using Sybase SQL Anywhere 12 version with Ultralite 184.108.40.20652
The below 2 links will give more information of what we are trying it out.
Is there any solution to come out of this problem? It is blocking my project research and development.