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

Package resolution failed #794

Closed stefanosn closed 4 days ago

stefanosn commented 1 week ago

Describe the bug Can not install via SPM swift package manager on Xcode 15.2 macOS 13.6.4

To Reproduce Steps to reproduce the behavior:

  1. Go to File
  2. Click on Add package depedencies
  3. Add github.com/kingslay/KSPlayer.git
  4. Click Add package
  5. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots Screenshot 2024-06-27 at 3 00 02 PM

Platform (please complete the following information):

Additional context Add any other context about the problem here. or Using FFmpeg to extract problematic video segments and upload them to GitHub.(ffmpeg -i http://xxx.com/123.mkv -map 0 -c copy -ss 00:00:50 -to 00:04:10 1.mkv)

kingslay commented 4 days ago

我用Xcode 15.4 是可以的。如果你只能用xcode 15.2的话,那你试下用分支而不是tag 试试看。

mirkokg commented 3 days ago

I am using Xcode 15.4 and I tried both branch (main) and tags.

Everything above KSPlayer 2.2.4 fails to resolve. I tried both 2.3.2 and 2.3.3 and they definitely don't work.

image

This is an error if you try to use main branch:

image