I recently updated XCode 10 and on my project I receiving a bug whenever I use UINavigationController, so the app continuosly crashes with the error:
* Terminating app due to uncaught exception ‘NSRangeException’, reason: ‘* -[__NSArray0 objectAtIndex:]: index 0 beyond bounds for empty NSArray’
Wiithout using UInavigatonController, so just adapting or presenting an UIVIewController it’s working fine.
In Xcode 9, the code works well, so it kinda sure it’s the fault of the new XCode.
Powered by WPeMatico