Add an iPhone client sharing the macOS app's SwiftUI code

This commit is contained in:
Ian Gulliver
2026-10-21 22:00:54 -07:00
parent 57d660c57f
commit 9e81e9107d
46 changed files with 1625 additions and 287 deletions
+6 -3
View File
@@ -3,7 +3,7 @@ import PackageDescription
let package = Package(
name: "Byre",
platforms: [.macOS("27.0")],
platforms: [.macOS("27.0"), .iOS("27.0")],
dependencies: [
.package(url: "https://github.com/migueldeicaza/SwiftTerm", from: "1.2.0"),
.package(url: "https://github.com/apple/swift-openapi-generator", from: "1.10.0"),
@@ -29,10 +29,13 @@ let package = Package(
.product(name: "SwiftTerm", package: "SwiftTerm"),
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
.product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"),
.product(name: "Sparkle", package: "Sparkle"),
.product(name: "Sparkle", package: "Sparkle", condition: .when(platforms: [.macOS])),
],
swiftSettings: [.strictMemorySafety()],
linkerSettings: [.unsafeFlags(["-Xlinker", "-rpath", "-Xlinker", "@executable_path/../Frameworks"])]
linkerSettings: [
.unsafeFlags(["-Xlinker", "-rpath", "-Xlinker", "@executable_path/../Frameworks"], .when(platforms: [.macOS])),
.unsafeFlags(["-Xlinker", "-rpath", "-Xlinker", "@executable_path/Frameworks"], .when(platforms: [.iOS])),
]
),
.executableTarget(
name: "byre-update",