6

今天我在 xcode 中工作,当这个错误出现在应用程序启动时,我的应用程序有什么问题?

2012-07-29 19:29:58.682 Champagne Pop[10601:1b03] 加载/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn: dlopen(/System/Library) 时出错/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn,262):找不到符号:__ CFObjCIsCollectable 引用自:/System/Library/Frameworks/Security.framework/Versions/A/Security
预期在:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 在/System/Library/Frameworks/Security .framework/Versions/A/Security 2012-07-29 19:29:58.690 Champagne Pop[10601:1b03] 加载/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/时出错AppleHDAHALPlugIn:dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn,262):找不到符号:_
_CFObjCIsCollectable 引用自:/System/Library/Frameworks/Security。框架/版本/A/安全
预期在:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 在/System/Library/Frameworks/Security .framework/Versions/A/Security 2012-07-29 19:29:58.703 Champagne Pop[10601:1b03] 加载/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/时出错AppleHDAHALPlugIn:dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn,262):找不到符号:__ CFObjCIsCollectable 引用自:/System/Library/Frameworks/Security。框架/版本/A/安全
预期在:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 在/System/Library/Frameworks/Security .framework/Versions/A/Security 2012-07-29 19:29:58.710 Champagne Pop[10601:1b03] 加载错误 /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/ AppleHDAHALPlugIn:dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn,262):找不到符号:_
_CFObjCIsCollectable 引用自:/System/Library/Frameworks/Security。框架/版本/A/安全
预期在:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 在/System/Library/Frameworks/Security .framework/版本/A/安全

4

4 回答 4

12

正如这里所回答的,这是 iOS 模拟器中的一个错误,但在实际设备上运行时不是问题。这个错误至少在 Xcode 4.4.1 和 iOS 5.1 SDK 中仍然存在。

于 2012-08-16T06:52:13.797 回答
4

删除调试器断点并重新运行。这对我有用。显然问题在 iOS6 中有效,并且在设备上也应该没问题。

于 2012-10-12T17:50:29.440 回答
3

尝试在您的项目中添加一个

安全框架

CoreFoundation.framework

从模拟器文件夹

于 2012-07-30T00:07:41.797 回答
0

删除调试器断点并重新运行。这对我有用。显然问题在 iOS6 中有效,并且在设备上也应该没问题。

这是我的问题。去掉断点,就OK了。

于 2013-04-15T03:10:29.730 回答