P1: Fix TestFlight deployment — add LendairApp executable target,
use xcodebuild archive/export instead of swift build for IPA
P2: Fix swift-format — use built-in 'swift format lint' (Swift 5.6+)
instead of external 'swift-format' binary
P3: Create missing index.html for Vite build entry point
P3: Update vercel-action from v30 to v25 (better maintained)
46 lines
1008 B
Swift
46 lines
1008 B
Swift
// swift-tools-version: 5.9
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "Lendair",
|
|
platforms: [
|
|
.iOS(.v16),
|
|
.macOS(.v13)
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "Lendair",
|
|
targets: ["Lendair"]
|
|
),
|
|
.executable(
|
|
name: "LendairApp",
|
|
targets: ["LendairApp"]
|
|
)
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "Lendair",
|
|
path: ".",
|
|
sources: [
|
|
"Models",
|
|
"Services",
|
|
"ViewModels",
|
|
"Views"
|
|
],
|
|
linkerSettings: [
|
|
.linkedFramework("UIKit", .when(platforms: [.iOS]))
|
|
]
|
|
),
|
|
.executableTarget(
|
|
name: "LendairApp",
|
|
dependencies: ["Lendair"],
|
|
path: "App"
|
|
),
|
|
.testTarget(
|
|
name: "LendairTests",
|
|
dependencies: ["Lendair"],
|
|
path: "LendairTests"
|
|
)
|
|
]
|
|
)
|