错误:找不到符号:___ CFObjCIsCollectable

时间:2012-07-29 18:37:19

标签: iphone objective-c ios xcode symbols

今天我在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.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.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.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.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.framework/Versions/A/Security
  期望:   /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation   in /System/Library/Frameworks/Security.framework/Versions/A/Security

4 个答案:

答案 0 :(得分:12)

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

答案 1 :(得分:4)

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

答案 2 :(得分:3)

尝试在项目中添加

Security.framework

CoreFoundation.framework

来自Simulator文件夹

答案 3 :(得分:0)

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

这是我的问题。删除断点,没关系。