1

We are facing MapboxNavigationNative was compiled with optimization - stepping may behave oddly; issue when we using navigation for about 10 to 20 mins. Kindly help us to overcome this issue.

After seeing many SO posts, I put all Optimization level to none

enter image description here

Sridhar
  • 2,228
  • 10
  • 48
  • 79
  • What problem is this causing? Debugging? Turning off optimization may affect performance in a bad way. – picciano Jun 14 '19 at 12:28
  • App getting crashed... – Sridhar Jun 14 '19 at 12:35
  • https://stackoverflow.com/questions/32772573/project-name-was-compiled-with-optimization-stepping-may-behave-oddly-varia Possible duplicate. Quick tip: Turn off optimization in `Apple Clang - Code generation` and in `Swift Compiler - Code Generation`. Also don't forget to clean project after disabling optimization – DionizB Jun 14 '19 at 12:36

1 Answers1

-1

I encountered this issue when calling mapView.reloadStyle(self) on background thread. Investigate what method causes the crash and try calling it from main thread.