Xcode ios SDK - dyld:找不到符号:_CFXMLNodeGetInfoPtr
我在 xcode 和 ios 开发方面遇到问题。 去年我决定安装 xcode 和 ios sdks 来学习如何构建 ios 应用程序。 一切正常。
时间过去了,我决定格式化我的 Mac,在全新的 SSD 上安装新的 MacOS。
昨天,我下载了带有 ios SDK 的 Xcode 4.2 并安装了它。 我开始了一个新项目,然后开始它,没有任何编辑。
它失败并出现以下错误消息:
CompileXIB exemple/en.lproj/FirstView.xib
cd /Users/karlcosse/iosDevs/exemple
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv XCODE_DEVELOPER_USR_PATH /Developer/usr/bin/..
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/karlcosse/Library/Developer/Xcode/DerivedData/exemple-fdgpmxhwzhcpnydzkgzelaqeaxnh/Build/Products/Debug-iphonesimulator/exemple.app/en.lproj/FirstView.nib /Users/karlcosse/iosDevs/exemple/exemple/en.lproj/FirstView.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
dyld: Symbol not found: _CFXMLNodeGetInfoPtr
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /System/Library/Frameworks/Security.framework/Versions/A/Security
ibtoold(932,0x7fff712b6cc0) malloc: *** auto malloc[932]: error: auto_zone_set_associative_ref: object should point to a GC block or a global address, otherwise associations will leak. Break on auto_zone_association_error() to debug.
我浏览网页,但没有找到任何答案,所以...你是我最后的机会:D
(我目前正在下载 MacOS Lion,尝试升级是否可以解决我的问题...我们会看到的,
非常感谢您的帮助!
I have a problem with xcode and ios development.
Last year I decided to install xcode and ios sdks to learn how to build a ios app.
All works fine.
Time past and I decided to format my mac to install a new MacOS on a brand new SSD.
Yesterday, I downloaded Xcode 4.2 with ios SDKs and installed it.
I started a new projects then start it without editing nothing.
It failed with this error message :
CompileXIB exemple/en.lproj/FirstView.xib
cd /Users/karlcosse/iosDevs/exemple
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv XCODE_DEVELOPER_USR_PATH /Developer/usr/bin/..
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/karlcosse/Library/Developer/Xcode/DerivedData/exemple-fdgpmxhwzhcpnydzkgzelaqeaxnh/Build/Products/Debug-iphonesimulator/exemple.app/en.lproj/FirstView.nib /Users/karlcosse/iosDevs/exemple/exemple/en.lproj/FirstView.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
dyld: Symbol not found: _CFXMLNodeGetInfoPtr
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /System/Library/Frameworks/Security.framework/Versions/A/Security
ibtoold(932,0x7fff712b6cc0) malloc: *** auto malloc[932]: error: auto_zone_set_associative_ref: object should point to a GC block or a global address, otherwise associations will leak. Break on auto_zone_association_error() to debug.
I browse the web but i didn't found any answers so... you are my last chance :D
(i'm currently downloading MacOS Lion to try if an upgrade will solved my problem... We'll see.
Thank you so much for your help !
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会使用可用的最新稳定版本的 Xcode。如果您使用的是 Snow Leopard,请使用 Xcode 4.0.2。如果您使用的是 Lion,请使用 Xcode 4.1。
Xcode 4.2 仍处于开发者预览版。
I would use the latest stable version of Xcode available to me. If you're on Snow Leopard, Xcode 4.0.2. If you're on Lion, Xcode 4.1.
Xcode 4.2 is still in Developer Preview.