Logic Pro 常常說要關閉應用程式

常常 Logic Pro 專案過沒多久,就會出現:

An Audio Unit plug-in reported a problem which might cause the system to become unstable. Please quit and restart Logic Pro.

有時候甚至發生在錄音的時候。

為什麼會這樣?

我的電腦是 M2,有些 Plugin 比較舊,可能是支援 Intel 晶片,因此不相容。

做法一:Rosetta(不推薦)

  • 從 Finder 找到 Logic Pro X,按 Get Info
  • Check the box “Open using Rosetta”

Rosetta 是一個可以幫助 Intel 晶片轉譯成 Apple 晶片的工具。

這樣改之後雖然解決原本的問題,但會出現其他問題,例如打開專案出現:

You are using incompatible Audio Units.

Dear Logic Pro user,
you have 18 Audio Unit(s) enabled which did not pass the Apple AU validation. This may cause problems and can even crash Logic Pro or lead to data loss! Please check with the manufacturer(s) for updated versions. We recommend disabling these plug-ins in the Plug-In Manager.

或是出現:

Can’t get core function pointer.

然後專案都打開不了。

參考來源:

做法二:找到詳細哪些 Plugin 不支援 Apple 晶片

在終端機輸入:

file /Library/Audio/Plug-Ins/Components/*.component/Contents/MacOS/*
  • file 是用來告訴我們每個檔案是什麼格式、支援什麼架構
  • /Library/Audio/Plug-Ins/Components/ 是 Plugins 存放的位置
  • .component 是每個 Plugins 的實際資料夾
  • /Contents/MacOS 是每個 Plugins 裡面真正運行的程式

接著會出現類似這樣:

/Library/Audio/Plug-Ins/Components/SOUND Canvas VA.component/Contents/MacOS/SOUND Canvas VA:                Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle x86_64] [i386:Mach-O bundle i386]
/Library/Audio/Plug-Ins/Components/SOUND Canvas VA.component/Contents/MacOS/SOUND Canvas VA (for architecture x86_64):        Mach-O 64-bit bundle x86_64
/Library/Audio/Plug-Ins/Components/SOUND Canvas VA.component/Contents/MacOS/SOUND Canvas VA (for architecture i386):  Mach-O bundle i386
/Library/Audio/Plug-Ins/Components/SSDSampler5.component/Contents/MacOS/SSDSampler5:                        Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle x86_64] [arm64]
/Library/Audio/Plug-Ins/Components/SSDSampler5.component/Contents/MacOS/SSDSampler5 (for architecture x86_64):        Mach-O 64-bit bundle x86_64
/Library/Audio/Plug-Ins/Components/SSDSampler5.component/Contents/MacOS/SSDSampler5 (for architecture arm64): Mach-O 64-bit bundle arm64
  • SSDSampler5 這個 Plugin 支援 x86_64 (Intel) 和 arm64 (Apple Chip)
  • SOUND Canvas VA 這個 Plugin 只支援 x86_64 (Intel 64-bit) 跟 i386 (Intel 32-bit),沒有支援 arm64 (Apple Chip)

找到詳細有哪些 Plugin 有問題之後,就可以針對這些進行處理。比方說把這些 Plugin 更新到支援 Apple Chip 的版本,或暫時移除 Plugin。

較舊一篇 MuseScore 筆記
使用 Hugo 建立
主題 StackJimmy 設計