iBook/ipad_app/Package.swift

31 lines
1.1 KiB
Swift
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// swift-tools-version: 5.9
import PackageDescription
// :
// SwiftPM .iOSApplication DSL API Xcode
// target Xcode iOS App Sources /
// 使 Xcode 15+ .iOSApplication
let package = Package(
name: "IpadReader",
platforms: [ .iOS(.v17) ],
products: [
.executable(name: "IpadReaderCLI", targets: ["IpadReader"]) // iOS Xcode App
],
dependencies: [
.package(url: "https://github.com/weichsel/ZIPFoundation", from: "0.9.0")
],
targets: [
.executableTarget(
name: "IpadReader",
dependencies: [
.product(name: "ZIPFoundation", package: "ZIPFoundation")
],
path: "Sources",
exclude: [
// SwiftUI iOS App CLI
]
)
]
)