Symbol not found: _CFXMLNodeGetInfoPtr when start Instruments

我怕爱的太早我们不能终老 提交于 2019-12-18 04:35:06

问题


I am developing a iPhone app and everything works fine so far. I can build and start the app in the simulator. But when I now start the app with Instruments I got the error:

Dyld Error Message:
Symbol not found: _CFXMLNodeGetInfoPtr
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

I've googled but did not find a solution.

Hope somebody can help me out. Thx


回答1:


I think you're linking against the Security.Framework and possibly libcurl. Try starting a new default project and see if you can compile it without this error.




回答2:


Try removing all of the frameworks that you are linking in your Target one at a time (and presumably also removing any code that relies on those frameworks). I found that having either CoreVideo or CoreMedia linked with a Target you were building for the iPad simulator caused a crash with this message.




回答3:


I just got this error and it was a red herring, the actual problem was an Assertion failure. Tracked it down by add an Xcode 4 breakpoint on all exceptions. http://www.dosomethinghere.com/2011/04/18/xcode-4-exception-breakpoint/



来源:https://stackoverflow.com/questions/1281261/symbol-not-found-cfxmlnodegetinfoptr-when-start-instruments

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!