Runtime content crashes on 64 bit devices

4799
4
10-07-2015 10:01 AM
raffia
by
New Contributor II

- Using the ArcGIS iOS SDK specifically on ARM 64-Bit, a consistent crash always happen when attempting to solve a route offline. The stack trace always returns the following function:

Esri_runtimecore::Network_analyst::Traversal_result::get_partial_edge_geometry_(Esri_runtimecore::Geodatabase::Transportation_network_view::Source_object_range, std::__1::shared_ptr<Esri_runtimecore::Geometry::Geometry> const&, std::__1::shared_ptr<Esri_runtimecore::Geometry::Polyline>&, bool, double, double) const ()

- Given the declaration, I'm inclined to suspect that a 64-Bit pointer is being casted to a 32-Bit variable (or something similar). Please note that that doesn't occur on ARM 32-Bit. I'm not currently certain whether this issue exists with other similar Esri_runtimecore functions or not.

Thanks for any feedback

0 Kudos
4 Replies
DiveshGoyal
Esri Regular Contributor

Thanks for reporting this. Your initial suspicion is probably right. We will look into it.

0 Kudos
raffia
by
New Contributor II

Thank you for replying.

0 Kudos
DavidChambers1
New Contributor III

I encountered this as well.  As raffi a​ mentioned you can workaround this issue on devices that have a 64-bit ARM processor by changing the build settings architecture section to build for armv7 instead.   In the section in xcode change 'Architectures' to '$(ARCHS_STANDARD_32_BIT)' and change 'Valid Architectures' to armv7 only.  Screenshot 2015-12-02 13.33.48.png

梦竹许
New Contributor II

I'm sorry to disturb,I have the same crash with you when i using the RouteTask of ArcGis, and i do as the last replier said ,but i met new mistakes. Because i used Afnetwoking and so on, it support arm64 only ,so i guess how i can solve th problem, would you give me some suggestions?  Thanks.屏幕快照 2016-04-19 上午10.58.25.png屏幕快照 2016-04-19 上午10.58.55.png