
- 将iOS平台版本更新至17,确保与最新的开发环境兼容。 - 更新Podfile中的iOS部署目标至17.0,确保依赖项与新版本兼容。 - 修改Podfile.lock以反映新的依赖项版本,确保项目一致性。 - 在多个视图中重构代码,优化状态管理和视图逻辑,提升用户体验。
38 lines
988 B
Swift
38 lines
988 B
Swift
// swift-tools-version: 5.9
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "yana",
|
|
platforms: [
|
|
.iOS(.v17),
|
|
.macOS(.v12)
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "yana",
|
|
targets: ["yana"]
|
|
),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/pointfreeco/swift-composable-architecture", from: "1.20.2"),
|
|
.package(url: "https://github.com/pointfreeco/swift-case-paths.git", branch: "main"),
|
|
.package(url: "https://github.com/BarredEwe/LiquidGlass.git", from: "0.7.0")
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "yana",
|
|
dependencies: [
|
|
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
|
|
"LiquidGlass"
|
|
],
|
|
path: "yana",
|
|
),
|
|
.testTarget(
|
|
name: "yanaTests",
|
|
dependencies: ["yana"],
|
|
path: "yanaAPITests",
|
|
),
|
|
]
|
|
)
|