I'm coding a small application (with SDK for iOS 10.2.2) for displaying an offline geodatabase that I have created with ArcGIS for Desktop 10.2.1. I have put the geodatabase into my application bundle and everything looks good on the xcode ipad simulator. But on my "real" ipad I'm getting the following error message when creating the AGSGDBGeodatabase object:
Nathan, This seems to be work for simulator, for iPad its giving error Domain=com.esri.arcgis.runtime.error code=12 "automatic extension loading failed:"
Vikrant, At present, the SDK does not support opening geodatabase from bundle in device for those geodatabases created from REST services. (Geodatabase created as "Runtime Content" from ArcMap should work fine) Hence the error. In this case, the geo database has to be in the documents directory. I've outlined a work around in my previous reply where you can add the geodatabase through iTunes File Sharing. Does that work for you?