启动 Instruments 时未找到符号:_CFXMLNodeGetInfoPtr
我正在开发一个 iPhone 应用程序,到目前为止一切正常。 我可以在模拟器中构建并启动应用程序。 但是,当我现在使用 Instruments 启动应用程序时,我收到错误:
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 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我认为您正在链接 Security.Framework 和可能的 libcurl。 尝试启动一个新的默认项目,看看是否可以编译它而不会出现此错误。
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.
尝试一次删除您在 Target 中链接的所有框架(并且可能还删除依赖于这些框架的任何代码)。 我发现将 CoreVideo 或 CoreMedia 与您为 iPad 模拟器构建的目标链接会导致崩溃并显示此消息。
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.
我刚刚收到此错误,这是一个转移注意力的错误,实际问题是断言失败。 通过在所有异常上添加 Xcode 4 断点来追踪它。 http://www.dosomethinghere.com/2011/04/ 18/xcode-4-异常-断点/
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/