build - cocos2d errors when changing iOS target -


i have ios app has been using cocos2dx. app works fine when app , cocos library both target ios 6 when change 7 or 8 error appearing.

libc++abi.dylib: terminating uncaught exception of type std::out_of_range: basic_string

why appear of sudden

this crash in code, iterating on string , accessing out of bounds.

try debugging application in xcode , adding breakpoint exceptions: http://blog.manbolo.com/2012/01/23/xcode-tips-1-break-on-exceptions

you can follow call stack offending code.


Comments

Popular posts from this blog

ios - Is 'init' forbidden as *part* of a variable name? -

javascript - Why Selenium can't find an element that is graphically visible -

angular - Angular2 Router: Cannot find primary outlet to load 'HomeComponent' -