2011-10-26 37 views
9

有誰知道這些錯誤是什麼意思?當我點擊一個按鈕來播放視頻時,我會得到這個(通過網絡按需下載)。使用MPMoviePlayerViewController的時髦錯誤

我遇到的問題是我的視頻沒有音頻播放。實際上音頻音量欄在加載時會完全消失。

我有這事做這些錯誤嘿的感覺。

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

在設備上運行時,或者只是在模擬器上出現這些錯誤嗎?我想我在模擬器上看到過這樣的錯誤,但從來沒有在設備上看到。 – joerick

+0

有趣。不,只是模擬器。 – crewshin

+0

我想他們只是代表在模擬器中不能再現的功能的框架 - 看着它,這都是與硬件相關的東西。所以我猜測它與你的問題沒有任何關係...... – joerick

回答

1

HDA是音頻格式(http://en.wikipedia.org/wiki/Intel_High_Definition_Audio)。由於Mac使用不同的音頻和視頻驅動程序,因此某些情況下音頻或視頻類型將無法在模擬器中播放,因爲它實際上並未實現設備上的完整軟件堆棧。在這種情況下,它看起來像您的視頻所使用的HDA音頻驅動程序在Mac上不可用。

這並不意味着您的Mac不能播放音頻HDA只是內部監督辦公室尋找的插件是不可用的。所以它只是禁用視頻的音頻部分並繼續播放。

歷史你以前不能夠在模擬器上播放YouTube視頻,而他們將努力在設備正常。這又是一個缺少插件的情況。較新版本的iOS模擬器有一個存根插件,用於轉換Mac的能力和模擬器如何訪問它們。

0

您是否在項目的構建設置中添加了提到的框架?

對我來說,它看起來像框架是不存在於你的二進制文件引用。

添加所需的框架,你可以做以下步驟:

  1. 在Xcode
  2. 打開項目,在項目導航
  3. 點擊根項目選擇目標
  4. 轉到Build Phases並展開Link with libraries
  5. 確保提到的框架在此處列出。
  6. 如果它們不存在添加它們,重建你的App

我希望這有助於

+0

好吧,我又想過了。如果它在設備上工作,那麼我的建議可能不是你正在尋找的,因爲如果框架沒有與你的項目鏈接,那麼它在任何情況下都不起作用... – Besi

+0

沒錯。這是編譯最新的Xcode時發生的事情。由於某些原因,Sim沒有看到Sim的正確框架 – Jann

0

音量欄應該走 - 因爲它是連接到粗線路輸出碼頭它的表現設備。請確保您的計算機的聲音是,太...

至於錯誤 - 我也有類似的問題,我的應用程序,它越來越不顧錯誤的相似的轉換,是沒有任何實際問題。經驗法則是,如果它在設備上工作,那麼你很好。