This commit is contained in:
2026-04-16 16:13:40 +07:00
parent 4b968a3347
commit 687218bdc1
4 changed files with 67 additions and 2 deletions

1
.python-version Normal file
View File

@ -0,0 +1 @@
3.10

64
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,64 @@
{
"configurations": [
{
"type": "swift",
"request": "launch",
"args": [],
"cwd": "${workspaceFolder:FFmpegKit56}",
"name": "Debug ffmpeg",
"target": "ffmpeg",
"configuration": "debug",
"preLaunchTask": "swift: Build Debug ffmpeg"
},
{
"type": "swift",
"request": "launch",
"args": [],
"cwd": "${workspaceFolder:FFmpegKit56}",
"name": "Release ffmpeg",
"target": "ffmpeg",
"configuration": "release",
"preLaunchTask": "swift: Build Release ffmpeg"
},
{
"type": "swift",
"request": "launch",
"args": [],
"cwd": "${workspaceFolder:FFmpegKit56}",
"name": "Debug ffplay",
"target": "ffplay",
"configuration": "debug",
"preLaunchTask": "swift: Build Debug ffplay"
},
{
"type": "swift",
"request": "launch",
"args": [],
"cwd": "${workspaceFolder:FFmpegKit56}",
"name": "Release ffplay",
"target": "ffplay",
"configuration": "release",
"preLaunchTask": "swift: Build Release ffplay"
},
{
"type": "swift",
"request": "launch",
"args": [],
"cwd": "${workspaceFolder:FFmpegKit56}",
"name": "Debug ffprobe",
"target": "ffprobe",
"configuration": "debug",
"preLaunchTask": "swift: Build Debug ffprobe"
},
{
"type": "swift",
"request": "launch",
"args": [],
"cwd": "${workspaceFolder:FFmpegKit56}",
"name": "Release ffprobe",
"target": "ffprobe",
"configuration": "release",
"preLaunchTask": "swift: Build Release ffprobe"
}
]
}

View File

@ -4,7 +4,7 @@ import PackageDescription
let package = Package(
name: "FFmpegKit",
defaultLocalization: "en",
platforms: [.macOS(.v10_15), .macCatalyst(.v14), .iOS(.v13), .tvOS(.v13),
platforms: [.macOS(.v10_15), .macCatalyst(.v14), .iOS(.v16), .tvOS(.v13),
.visionOS(.v1)],
products: [
.library(

View File

@ -747,7 +747,7 @@ enum PlatformType: String, CaseIterable {
var minVersion: String {
switch self {
case .ios, .isimulator:
return "13.0"
return "16.0"
case .tvos, .tvsimulator:
return "13.0"
case .macos: