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, support subtitles.
GNU General Public License v3.0
868 stars 182 forks source link

SwiftUI Demo无法运行 #752

Closed hstdt closed 3 months ago

hstdt commented 3 months ago

Describe the bug

  1. libsmbclient.xcframework 缺少 info.plist(已经通过手动添加解决) CleanShot 2024-03-16 at 22 49 51
  2. Libshaderc_combined.xcframework报错,这个不知道怎么解决 CleanShot 2024-03-16 at 23 13 58

Please try again later. Player.app/Frameworks/libshaderc_combined.framework is missing its bundle executable. Please check your build settings to make sure that a bundle executable is produced at the path "Player.app/Frameworks/libshaderc_combined.framework/libshaderc_combined".

To Reproduce Steps to reproduce the behavior:

  1. 运行SwiftUI Demo

Expected behavior 正常运行demo

Screenshots 见上图

Platform (please complete the following information): Xcode 15.3

Additional context

kingslay commented 3 months ago

现在Xcode 15.3有问题,可以先用Xcode 15.2。这个问题很多sdk都有遇到。还没找到解决的方式

hstdt commented 3 months ago

好的,那issue要关闭嘛

kingslay commented 3 months ago

可以先不关。

kingslay commented 3 months ago

你用最新的代码代码试下。看下xcode 15.3还会不会有这个问题

hstdt commented 3 months ago

还是不行

kingslay commented 3 months ago

你把FFmpegKit 文件夹删除了。然后重新拉一下

hstdt commented 3 months ago

确实是submodule没拉到最新代码,不过libfontconfig.xcframework还是缺少info.plist,手动加上之后就能运行了