Yonto Player 如何修正 VLCKit 在舊版 macOS 播放影片時的當機
A jump to address 0: the function our SDK had and older Macs didn't
重點導讀
Yonto Player 在 macOS 15.7 播放影片時會當機,但同一版本的 App 在 macOS 27 可以正常播放。
- 作者檢視當機紀錄後,發現 VLCKit 呼叫了 SDK 宣告的新函式 pipe2。
- 舊系統找不到這個函式,呼叫時就跳到空位址,導致 App 關閉。作者在建置指令碼中讓 VLCKit 改用各版 macOS 都有的替代做法,並加入檢查,遇到來自系統函式庫的弱連結就停止建置。修正已用在 Yonto Player 5.6.5 的 Mac 版,其他裝置版本仍在準備中。
AI 伴隨問答
針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:
信源出處dev.to
A jump to address 0: the function our SDK had and older Macs didn't
本文為 888news 精選之重點導讀。若需閱讀作者完整原文、技術細節與官方討論,請前往原始網站。
來源: Dev.to Top Tech (dev.to)
開啟原文