2011-10-26 15 views
9

Qualcuno sa cosa significano questi errori? Ottengo questo quando clicco su un pulsante per riprodurre un video (scarica su internet su richiesta).Errori funky con MPMoviePlayerViewController

Il problema che sto riscontrando è che il mio video viene riprodotto senza audio. Infatti la barra del volume audio si spegne completamente al caricamento.

Ho la sensazione che abbia qualcosa a che fare con questi errori eh.

~~>>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

Si verificano questi errori durante l'esecuzione sul dispositivo o solo sul simulatore? Penso di aver visto errori come questo sul simulatore, ma mai sul dispositivo. – joerick

+0

Interessante. No, solo il simulatore. – crewshin

+0

Suppongo che siano solo quadri che rappresentano caratteristiche che non sono riprodotte nel Simulatore: guardandolo, sono tutte cose legate all'hardware. Quindi immagino che non abbia niente a che fare con il tuo problema ... – joerick

risposta

1

HDA è un formato audio (http://en.wikipedia.org/wiki/Intel_High_Definition_Audio). Poiché il Mac utilizza driver audio e video diversi, ci sono alcune situazioni in cui i tipi di audio o video non vengono riprodotti nel simulatore poiché non implementa effettivamente lo stack software completo trovato sul dispositivo. In questo caso, sembra che il driver per l'audio HDA ​​che i tuoi video utilizzano non sia disponibile su Mac.

Ciò non significa che il tuo Mac non possa riprodurre l'audio HDA ​​solo che il plug-in esatto che iOS sta cercando non è disponibile. Quindi disabilita solo la parte audio del video e procede e suona ciò che può.

Storicamente non si è in grado di riprodurre video di YouTube nel simulatore mentre funzionavano correttamente sul dispositivo. Anche in questo caso si trattava di un plug-in mancante. Le versioni più recenti del simulatore iOS hanno un plugin per stub che si traduce tra le abilità del Mac e il modo in cui il simulatore vuole accedervi.

0

Hai aggiunto i quadri citati nelle impostazioni di costruzione del tuo progetto?

Per me sembra che i framework siano referenziati senza essere presenti nel file binario.

Per aggiungere i quadri necessari si possono fare le seguenti operazioni:

  1. Aprire il progetto in Xcode
  2. Clicca l'elemento principale nella navigazione di progetto
  3. Seleziona il tuo target
  4. Vai a Build Phases ed espandere Link with libraries
  5. Assicurarsi che i framework menzionati siano elencati qui.
  6. Se non sono presenti aggiungerli e ricostruire la vostra App

Spero che questo aiuta

+0

Ok ci ho pensato di nuovo.Se funziona sul dispositivo, il mio suggerimento non è probabilmente quello che stai cercando, perché se i framework non fossero collegati al tuo progetto, allora non funzionerebbe in nessuna delle due situazioni ... – Besi

+0

Esattamente. È qualcosa che sta accadendo ora quando si compila sul Xcode più recente. Per qualche motivo il Sim non vede i framework corretti per Sim – Jann

0

La barra del volume dovrebbe andare via - è comportarsi come se fosse collegato ad un bacino line-out greggio dispositivo. Assicurati che anche l'audio del tuo computer sia acceso ...

Per quanto riguarda gli errori - Ho un problema simile con la mia app, che nonostante abbia avuto un simile errore di errori, non ha alcun problema reale. La regola generale è che se funziona sul dispositivo, stai bene.

Problemi correlati