Hi everybody,
we would like to include a local geodatabase into our iOS Application bundle.
We created the geodatabase in ArcMap 10.2.2 and are using the Runtime SDK 10.2.4.
We load the geodatabase like this:
AGSGDBGeodatabase *gdb = [[AGSGDBGeodatabase alloc]initWithPath:thePathStringGDB error:&error];
and run into the following error:
***Error Domain=com.esri.arcgis.runtime.error Code=12 "automatic extension loading failed: " UserInfo=0x17027e700 {NSLocalizedDescription=automatic extension loading failed: }
Printing description of [0].value:
automatic extension loading failed:***
We assume that the Runtime tries to open the geodatabase in writable mode which is not possible within the bundle.
It works fine if we copy the geodatabase into the File Sharing folder of our device and load it from there.
We also tried to share the Runtime Content in ArcMap with the option "Optimize size for view only".
In this case the geodatabase could be opened from the bundle.
But a lot of (necessary) attributes from our Feature Classes were removed, so this is not an option.
Since we understand that Runtime Content shared from ArcMap should always be created as "read-only" this seems to be a bug?
Are there any solutions/workarounds?
Cheers,
Beate