We're building an application that loads large (3GB+) tile package from the app's iTunes documents directory. In our apps developed using the latest version of the SDK the app fails to open the large .tpk file and displays a white screen.
I'm throwing errors to NSLog when running the app in the simulator and it is returning:
Domain=com.Esri.ArcGIS.ErrorDomain Code=10003 "Failed to open file. May not be a valid tile package." UserInfo=0x9ac7850 {NSLocalizedDescription=Failed to open file. May not be a valid tile package.
At the same time - a smaller .tpk file packaged from the same tile cache will display correctly (~300mb in size). Both tile packages were built on the same computer using 10.1
I'm working on a different app, for the Android platform, and the same problem exists there. Any chance there's going to be an Update 2 that permits use of .tpk's greater than 2GB on that platform? Thanks.
ArcGIS Runtime SDK for Android 10.1.1 update has been released in June 2013. For more information on this update, please go to http://developersdev.arcgis.com/en/android/. However, the support for tpk greater than 2GB didn't make into this update. You can get this support in the upcoming release.