kingslay / KSPlayer

A video player for iOS、macOS、tvOS、visionOS , based on AVPlayer and FFmpeg, support the horizontal, vertical screen. support adjust volume, brightness and seek by slide, SwiftUI, support subtitles.
https://apps.apple.com/app/tracyplayer/id6450770064
GNU General Public License v3.0
980 stars 198 forks source link

iOS13 dyld: Library not loaded: /usr/lib/libexpat.1.dylib #743

Closed charsdavy closed 6 months ago

charsdavy commented 7 months ago

iOS13的设备,无法启动,控制台提示错误: iOS13 dyld: Library not loaded: /usr/lib/libexpat.1.dylib Reason: image not found

推测FFmpeg在编译时,开启了 "--enable-libxml2" 所致。 请问需要如何处理?自行编译FFmpegKit 吗?

kingslay commented 7 months ago

你试着把FFmpegKit中的 .linkedLibrary("expat") 给注释掉。看下能不能编的过

charsdavy commented 6 months ago

可以编译成功。问题解决。