Arcgis Runtime Content - Network Analyst "Out of range"

680
4
Jump to solution
12-02-2018 12:17 AM
NoureddineElzaatari
New Contributor II

Dears,

im facing a very strange error,

im building a network dataset successfully, on Arcmap adding 2 stops and solving successfully, but when i share the transportation layer as Arcgis Runtime Content routing to the same 2 stops on the deployed IOS app, im getting the following error

Error Domain=com.esri.arcgis.runtime.error Code=4 "Out of range" UserInfo={NSLocalizedFailureReason=, NSLocalizedDescription=Out of range, Additional Message=}

the network solves successfully on the Arcmap but on IOS it is not (only some point but on many others it solves),

what could be the issue ?

is there a way to debug this ?

0 Kudos
1 Solution

Accepted Solutions
NoureddineElzaatari
New Contributor II

thank you for the hint, it seems that i was using a lower version than 100.4

i had

pod 'ArcGIS-Runtime-SDK-iOS'

where it must be

pod 'ArcGIS-Runtime-SDK-iOS', '100.4'

the moment i changed, the routing works perfectly as expected

i hope that it helps others

View solution in original post

0 Kudos
4 Replies
FrankKish
Esri Contributor

Hi - What version of ArcGIS Runtime are you using?

NoureddineElzaatari
New Contributor II

Hello,

100.4.0

0 Kudos
NoureddineElzaatari
New Contributor II

thank you for the hint, it seems that i was using a lower version than 100.4

i had

pod 'ArcGIS-Runtime-SDK-iOS'

where it must be

pod 'ArcGIS-Runtime-SDK-iOS', '100.4'

the moment i changed, the routing works perfectly as expected

i hope that it helps others

0 Kudos
NoureddineElzaatari
New Contributor II

i had

 

pod 'ArcGIS-Runtime-SDK-iOS'

 

where it must be

 

pod 'ArcGIS-Runtime-SDK-iOS', '100.4'

 

the moment i changed, the routing works perfectly as expected

 

i hope that it helps others

0 Kudos