2011-10-26 19 views
9

¿Alguien sabe lo que significan estos errores? Lo entiendo cuando hago clic en un botón para reproducir un video (descargue a través de Internet a pedido).Funky errors using MPMoviePlayerViewController

El problema que tengo es que mi video se reproduce sin audio. De hecho, la barra de volumen de audio se va completamente en carga.

Tengo la sensación de que tiene algo que ver con estos errores, je.

~~>>SponViewController :sponButton: 
2011-10-26 12:52:04.212 myapp[2692:12e03] Error loading /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn: dlopen(/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn, 262): Symbol not found: ___CFObjCIsCollectable 
    Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security 
    Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 
in /System/Library/Frameworks/Security.framework/Versions/A/Security 

2011-10-26 12:52:04.222 myapp[2692:12e03] Error loading /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn: dlopen(/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn, 262): Symbol not found: ___CFObjCIsCollectable 
    Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security 
    Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 
in /System/Library/Frameworks/Security.framework/Versions/A/Security 

2011-10-26 12:52:04.258 myapp[2692:12e03] 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: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 
in /System/Library/Frameworks/Security.framework/Versions/A/Security 

2011-10-26 12:52:04.269 myapp[2692:12e03] 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: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 
in /System/Library/Frameworks/Security.framework/Versions/A/Security 

2011-10-26 12:52:04.293 myapp[2692:12e03] 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: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 
in /System/Library/Frameworks/Security.framework/Versions/A/Security 

2011-10-26 12:52:04.307 myapp[2692:12e03] 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: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 
in /System/Library/Frameworks/Security.framework/Versions/A/Security 

2011-10-26 12:52:04.340 myapp[2692:12e03] 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: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 
in /System/Library/Frameworks/Security.framework/Versions/A/Security 

2011-10-26 12:52:04.351 myapp[2692:12e03] 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: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 
in /System/Library/Frameworks/Security.framework/Versions/A/Security 

2011-10-26 12:52:04.442 myapp[2692:12e03] Error loading /System/Library/Extensions/IOBluetoothFamily.kext/Contents/PlugIns/IOBluetoothSCOAudioDriver.kext/Contents/Resources/IOBluetoothSCOAudioDriverPlugIn.bundle/Contents/MacOS/IOBluetoothSCOAudioDriverPlugIn: dlopen(/System/Library/Extensions/IOBluetoothFamily.kext/Contents/PlugIns/IOBluetoothSCOAudioDriver.kext/Contents/Resources/IOBluetoothSCOAudioDriverPlugIn.bundle/Contents/MacOS/IOBluetoothSCOAudioDriverPlugIn, 262): Symbol not found: _objc_assign_ivar 
    Referenced from: /System/Library/Frameworks/IOBluetooth.framework/Versions/A/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth 
    Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/usr/lib/libobjc.A.dylib 
in /System/Library/Frameworks/IOBluetooth.framework/Versions/A/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth 

2011-10-26 12:52:04.453 myapp[2692:12e03] Error loading /System/Library/Extensions/IOBluetoothFamily.kext/Contents/PlugIns/IOBluetoothSCOAudioDriver.kext/Contents/Resources/IOBluetoothSCOAudioDriverPlugIn.bundle/Contents/MacOS/IOBluetoothSCOAudioDriverPlugIn: dlopen(/System/Library/Extensions/IOBluetoothFamily.kext/Contents/PlugIns/IOBluetoothSCOAudioDriver.kext/Contents/Resources/IOBluetoothSCOAudioDriverPlugIn.bundle/Contents/MacOS/IOBluetoothSCOAudioDriverPlugIn, 262): Symbol not found: _objc_assign_ivar 
    Referenced from: /System/Library/Frameworks/IOBluetooth.framework/Versions/A/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth 
    Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/usr/lib/libobjc.A.dylib 
in /System/Library/Frameworks/IOBluetooth.framework/Versions/A/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth 
+2

¿Obtiene estos errores cuando se ejecuta en el dispositivo, o simplemente el simulador? Creo que he visto errores como este en el simulador, pero nunca en el dispositivo. – joerick

+0

Interesante. No, solo el simulador. – crewshin

+0

Supongo que son solo frameworks que representan características que no se reproducen en el simulador. Mirándolo, todo está relacionado con el hardware. Así que supongo que no tiene nada que ver con su problema ... – joerick

Respuesta

1

HDA es un formato de audio (http://en.wikipedia.org/wiki/Intel_High_Definition_Audio). Dado que la Mac utiliza diferentes controladores de audio y video, ha habido ciertas situaciones en las que los tipos de audio o video no se reproducirán en el simulador ya que en realidad no implementa la pila completa de software que se encuentra en el dispositivo. En este caso, parece que el controlador para el audio HDA ​​que utilizan sus videos no está disponible en Mac.

Esto no significa que su Mac no pueda reproducir audio HDA ​​solo que el complemento exacto que iOS está buscando no está disponible. Por lo tanto, solo deshabilita la parte de audio del video y continúa y reproduce lo que puede.

Históricamente solías no poder reproducir videos de YouTube en el simulador mientras que funcionaban bien en el dispositivo. De nuevo, esto fue un caso de un complemento faltante. Las versiones más nuevas del simulador de iOS tienen un complemento que se traduce entre las capacidades de la Mac y cómo el simulador desea acceder a ellas.

0

¿Agregó los marcos mencionados en la configuración de compilación de su proyecto?

Para mí, parece que los marcos están referenciados sin estar presentes en su binario.

Para añadir los marcos necesarios que se pueden hacer los siguientes pasos:

  1. abrir el proyecto en Xcode
  2. Haga clic en el elemento raíz en el navegador de proyectos
  3. Seleccione su destino
  4. Ir a Build Phases y ampliar Link with libraries
  5. Asegúrese de que los marcos mencionados se enumeran aquí.
  6. Si no están presentes añadir ellos y reconstruir su aplicación

espero que esto ayude a

+0

Ok, lo pensé de nuevo.Si funciona en el dispositivo, entonces mi sugerencia probablemente no sea la que está buscando, porque si los marcos no estuvieran vinculados con su proyecto, entonces no funcionaría en ninguna de las situaciones ... – Besi

+0

Exactamente a la derecha. Es algo que ahora está ocurriendo al compilar en el Xcode más nuevo. Por alguna razón, el Sim no está viendo los marcos correctos para Sim – Jann

0

La barra de volumen se supone que se vaya - se comporta como si estuviera conectado a un muelle de salida de línea de crudo dispositivo. Asegúrese de que el sonido de su computadora también esté encendido ...

En cuanto a los errores, tengo un problema similar con mi aplicación, que a pesar de recibir una serie de errores similar, no está teniendo ningún problema real. La regla de oro es que si funciona en el dispositivo, estás bien.