<?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: Fail to execute Offline Routing Task in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/fail-to-execute-offline-routing-task/m-p/708445#M6339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you please add routing dataset to the project as described in the &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/ios/guide/routing-task.htm"&gt;doc&lt;/A&gt;&lt;SPAN&gt; and see if it works?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;When adding these files to your project, make sure you choose the Create folder references for any added folders option. This will ensure that the folder hierarchy of the *.tn folder is properly maintained.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2014 15:13:10 GMT</pubDate>
    <dc:creator>NimeshJarecha</dc:creator>
    <dc:date>2014-04-29T15:13:10Z</dc:date>
    <item>
      <title>Fail to execute Offline Routing Task</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/fail-to-execute-offline-routing-task/m-p/708444#M6338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, I'm getting error message 'NSRangeException Reason: *** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array' when I'm running Task for Offline Routing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is fail on initializing AGSRouteTask in this section below, in the last row:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SError* error = nil;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NSString* docDir = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NSString* fullPath = [docDir stringByAppendingPathComponent:@"NetworkData.bundle/RuntimeSanFrancisco.geodatabase"];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_routeTask = [AGSRouteTask routeTaskWithDatabasePath:fullPath network:@"Streets_ND" error:&amp;amp;error];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*All required files are copied in to Document folder and before I'm initializing task I validate existence of *.geodatabase and Streets_ND.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*Installed SDK Runtime version 10.2.3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*Same class has Online Routing and it is working just fine, only when I'm switching to use Offline Routing with the code above it is fail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 22:55:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/fail-to-execute-offline-routing-task/m-p/708444#M6338</guid>
      <dc:creator>AlexanderLitvak</dc:creator>
      <dc:date>2014-04-28T22:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to execute Offline Routing Task</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/fail-to-execute-offline-routing-task/m-p/708445#M6339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you please add routing dataset to the project as described in the &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/ios/guide/routing-task.htm"&gt;doc&lt;/A&gt;&lt;SPAN&gt; and see if it works?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;When adding these files to your project, make sure you choose the Create folder references for any added folders option. This will ensure that the folder hierarchy of the *.tn folder is properly maintained.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 15:13:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/fail-to-execute-offline-routing-task/m-p/708445#M6339</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2014-04-29T15:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to execute Offline Routing Task</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/fail-to-execute-offline-routing-task/m-p/708446#M6340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Nimesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've followed the second approach "Using network dataset copied through iTunes file sharing" and still getting same error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Info.plist contains &amp;lt;key&amp;gt;UIFileSharingEnabled&amp;lt;/key&amp;gt;&amp;lt;true/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 16:47:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/fail-to-execute-offline-routing-task/m-p/708446#M6340</guid>
      <dc:creator>AlexanderLitvak</dc:creator>
      <dc:date>2014-04-29T16:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to execute Offline Routing Task</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/fail-to-execute-offline-routing-task/m-p/708447#M6341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Nimesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One more comment. If I'm implementing this with the first approach "Using network dataset included within the application", then there is no error thrown, and it is never return success or failure result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 17:53:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/fail-to-execute-offline-routing-task/m-p/708447#M6341</guid>
      <dc:creator>AlexanderLitvak</dc:creator>
      <dc:date>2014-04-29T17:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to execute Offline Routing Task</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/fail-to-execute-offline-routing-task/m-p/708448#M6342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you share your project and data with us?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, what is the value of the error variable after the route task fails initialization&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 18:48:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/fail-to-execute-offline-routing-task/m-p/708448#M6342</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2014-04-29T18:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to execute Offline Routing Task</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/fail-to-execute-offline-routing-task/m-p/708449#M6343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The issue resolved, the ArcGIS.bundle in the Xamarin project didn't updated properly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By removing it and adding it back the issue resolved. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you all for support!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 03:50:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/fail-to-execute-offline-routing-task/m-p/708449#M6343</guid>
      <dc:creator>AlexanderLitvak</dc:creator>
      <dc:date>2014-04-30T03:50:56Z</dc:date>
    </item>
  </channel>
</rss>

