<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Crash loading TPK file in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/crash-loading-tpk-file/m-p/1019#M6</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It turns out the problem was the TPK file size, 4.3 GB. The Mac OS acts like the file has been moved but is still copying it in the background. You have to move slowly and make sure the data has really been moved. Trying to access it to before hand seems to break the transfer process.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Jun 2012 01:32:12 GMT</pubDate>
    <dc:creator>ThaneMorgan</dc:creator>
    <dc:date>2012-06-17T01:32:12Z</dc:date>
    <item>
      <title>Crash loading TPK file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/crash-loading-tpk-file/m-p/1018#M5</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm loading a TPK file which crashes in the method [AGSZipFile initWithFileName:mode:]. The crash is 4 methods into the method called by my code [AGSLocalTiledLayer localTiledLayerWithPath:locallayerpath].&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The TPK loads OK in a Flex app but not in the SDK. I've unzipped successfully so it doesn't appear to be a corruption problem. Here's the section of code that I'm using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Local aerial photography&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NSString *locallayerpath = [[NSBundle mainBundle] pathForResource:@"ClarksvilleAerials2010" ofType:@"tpk"];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSLocalTiledLayer* localtiledlayer = [AGSLocalTiledLayer localTiledLayerWithPath:locallayerpath];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (localtiledlayer != Nil)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [self.mapView addMapLayer:localtiledlayer withName:@"Local Tiled Layer"];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 01:06:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/crash-loading-tpk-file/m-p/1018#M5</guid>
      <dc:creator>ThaneMorgan</dc:creator>
      <dc:date>2012-06-15T01:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Crash loading TPK file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/crash-loading-tpk-file/m-p/1019#M6</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It turns out the problem was the TPK file size, 4.3 GB. The Mac OS acts like the file has been moved but is still copying it in the background. You have to move slowly and make sure the data has really been moved. Trying to access it to before hand seems to break the transfer process.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jun 2012 01:32:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/crash-loading-tpk-file/m-p/1019#M6</guid>
      <dc:creator>ThaneMorgan</dc:creator>
      <dc:date>2012-06-17T01:32:12Z</dc:date>
    </item>
  </channel>
</rss>

