我的应用在iOS的4.2和4.3版本上崩溃。崩溃的代码行在C++库中:
Ais8_001_22_Circle const *circle = dynamic_cast<Ais8_001_22_Circle const*>(*sa);
控制台说:
dyld: lazy symbol binding failed: can't resolve symbol ___dynamic_cast MY_APP
because dependent dylib #2 could not be loaded
dyld: can't resolve symbol ___dynamic_cast in MY_APP
because dependent dylib #2 could not be loaded
如果我能弄清楚“dylib#2”是什么,那可能会有所帮助。
最佳答案
原来我需要在iOS 4.X下包含lstdc++链接器标志
关于iphone - 调试iPhone上的晦涩错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/10287117/