问题
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