- 新增 ODRManager 管理模型资源下载 - EditorView 添加下载进度 UI - Package.swift 移除内嵌模型资源 - 减小应用包体积约 64MB 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
663 B
Swift
31 lines
663 B
Swift
// swift-tools-version: 6.0
|
||
|
||
import PackageDescription
|
||
|
||
let package = Package(
|
||
name: "ToLivePhoto",
|
||
platforms: [
|
||
.iOS(.v18)
|
||
],
|
||
products: [
|
||
.library(
|
||
name: "LivePhotoCore",
|
||
targets: ["LivePhotoCore"]
|
||
)
|
||
],
|
||
targets: [
|
||
.target(
|
||
name: "LivePhotoCore",
|
||
dependencies: [],
|
||
resources: [
|
||
.copy("Resources/metadata.mov")
|
||
// AI 模型已移至 On-Demand Resources,按需下载
|
||
]
|
||
),
|
||
.testTarget(
|
||
name: "LivePhotoCoreTests",
|
||
dependencies: ["LivePhotoCore"]
|
||
)
|
||
]
|
||
)
|