mirror of
https://github.com/Lakr233/vphone-cli.git
synced 2026-04-05 13:09:06 +08:00
- Replace Python cfw_inject_dylib.py with tyilo/insert_dylib (built by setup_tools) - Use --weak flag for LC_LOAD_WEAK_DYLIB injection (avoids crash on missing dylib) - Preserve original launchd entitlements on re-sign (fixes "operation not permitted") - Deploy dylibs from pre-built basebin payload instead of building from source - Remove launchdhook, systemhook, treblehook sources (no longer needed) - Print GDB debug stub port after VM starts - Cleanup: remove test scripts, rename patch comparison doc
33 lines
967 B
Swift
33 lines
967 B
Swift
// swift-tools-version:6.0
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "vphone-cli",
|
|
platforms: [
|
|
.macOS(.v15),
|
|
],
|
|
products: [],
|
|
dependencies: [
|
|
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.1"),
|
|
.package(url: "https://github.com/mhdhejazi/Dynamic", from: "1.2.0"),
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "vphone-cli",
|
|
dependencies: [
|
|
.product(name: "ArgumentParser", package: "swift-argument-parser"),
|
|
.product(name: "Dynamic", package: "Dynamic"),
|
|
],
|
|
path: "sources/vphone-cli",
|
|
linkerSettings: [
|
|
.linkedFramework("Virtualization"),
|
|
.linkedFramework("AppKit"),
|
|
.linkedFramework("SwiftUI"),
|
|
.linkedFramework("CoreLocation"),
|
|
.linkedFramework("AVFoundation"),
|
|
]
|
|
),
|
|
]
|
|
)
|