Add an iPhone client sharing the macOS app's SwiftUI code
This commit is contained in:
+6
-3
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user