2012-07-29 6 views
7

heute arbeitete ich in xcode, als dieser Fehler beim Start der App auftauchte, was ist falsch mit meiner App?Fehler: Symbol nicht gefunden: ___CFObjCIsCollectable

2012-07-29 19:29:58.682 Champagne Pop[10601:1b03] Error loading /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): Symbol not found: __CFObjCIsCollectable Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /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 2012-07-29 19:29:58.690 Champagne Pop[10601:1b03] Error loading /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): Symbol not found: _
_CFObjCIsCollectable Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /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 2012-07-29 19:29:58.703 Champagne Pop[10601:1b03] Error loading /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): Symbol not found: __CFObjCIsCollectable Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /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 2012-07-29 19:29:58.710 Champagne Pop[10601:1b03] Error loading /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): Symbol not found: _
_CFObjCIsCollectable Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /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

Antwort

3

Versuchen Sie in Ihrem Projektordner

+0

Das hat in meinem Fall nicht geholfen. – fsharp

+0

Es scheint, Sie versuchen, für Simulator zu kompilieren? – CReaTuS

12

Wie beantwortet

CoreFoundation.framework

von Simulator einen

Security.framework hinzufügen here dies ein Fehler in dem iOS-Simulator ist aber ist kein Problem, wenn auf dem tatsächlichen Gerät ausgeführt wird. Dieser Fehler bleibt mindestens durch Xcode 4.4.1 und das iOS 5.1 SDK bestehen.

4

Entfernen Sie die Debugger-Haltepunkte & erneut ausführen. Das hat für mich funktioniert. Offenbar funktioniert das Problem in iOS6 und sollte auch auf dem Gerät in Ordnung sein.

+0

Das hat nicht für mich funktioniert. – DavidH

+0

Sind Sie auf iOS6 oder 7? Das war ein alter Workaround, ich kann mich nicht erinnern, an welcher Version von iOS6 er gearbeitet hat. – ardochhigh

0

Entfernen Sie die Debugger-Haltepunkte & erneut ausführen. Das hat für mich funktioniert. Offenbar funktioniert das Problem in iOS6 und sollte auch auf dem Gerät in Ordnung sein.

Das ist mein Problem. Entfernen Sie den Haltepunkt, das ist OK.