Files
firezone/swift/apple/FirezoneKit/Package.swift
Jamil 2cdd30437b refactor(apple): Collapse SwiftUI codepaths across platforms and remove dead code (#4417)
~~Had to do another big round of ball-of-yarn untangling in order to
create two auth flows for iOS / macOS.~~

~~This is required because of App Store guidelines.~~

Edit: Appeal filed. There seems to be no good way to have a nice
browser-based auth experience without using ASWebAuthenticationSession.
The last resort would be to open a normal browser tab and push the
client's token over an unauthenticated websocket channel from the portal
to the client.

This PR is now just to clean up the SwiftUI mess.

---------

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
Co-authored-by: Reactor Scram <ReactorScram@users.noreply.github.com>
2024-04-04 04:20:47 +00:00

26 lines
641 B
Swift

// swift-tools-version: 5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "FirezoneKit",
platforms: [.iOS(.v15), .macOS(.v12)],
products: [
// Products define the executables and libraries a package produces, and make them visible to
// other packages.
.library(name: "FirezoneKit", targets: ["FirezoneKit"])
],
dependencies: [],
targets: [
.target(
name: "FirezoneKit",
dependencies: []
),
.testTarget(
name: "FirezoneKitTests",
dependencies: ["FirezoneKit"]
),
]
)