Skip to content

Commit

Permalink
Rename targets to avoid conflicts with native AppKit
Browse files Browse the repository at this point in the history
  • Loading branch information
sbihel committed Mar 15, 2024
1 parent 4f7ac70 commit 889fc3c
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,54 +32,54 @@ let project = Project(
"Resources/**"
],
dependencies: [
.target(name: "AppKit"),
.target(name: "AppUI"),
.target(name: "AppAppKit"),
.target(name: "AppUIKit"),
]
),
.target(
name: "AppKit",
name: "AppAppKit",
destinations: [.iPhone],
product: .framework,
bundleId: "com.spruceid.wallet.kit",
deploymentTargets: .iOS("16.0"),
infoPlist: .default,
sources: ["Targets/AppKit/Sources/**"],
sources: ["Targets/AppAppKit/Sources/**"],
dependencies: [ ]
),
.target(
name: "AppKitTests",
name: "AppAppKitTests",
destinations: [.iPhone],
product: .unitTests,
bundleId: "com.spruceid.wallet.kittests",
deploymentTargets: .iOS("16.0"),
infoPlist: .default,
sources: ["Targets/AppKit/Tests/**"],
sources: ["Targets/AppAppKit/Tests/**"],
dependencies: [
.target(name: "AppKit")
.target(name: "AppAppKit")
]
),
.target(
name: "AppUI",
name: "AppUIKit",
destinations: [.iPhone],
product: .framework,
bundleId: "com.spruceid.wallet.ui",
deploymentTargets: .iOS("16.0"),
infoPlist: .default,
sources: ["Targets/AppUI/Sources/**"],
sources: ["Targets/AppUIKit/Sources/**"],
dependencies: [
.package(product: "SpruceIDWalletSdk", type: .runtime),
]
),
.target(
name: "AppUITests",
name: "AppUIKitTests",
destinations: [.iPhone],
product: .unitTests,
bundleId: "com.spruceid.wallet.uitests",
deploymentTargets: .iOS("16.0"),
infoPlist: .default,
sources: ["Targets/AppUI/Tests/**"],
sources: ["Targets/AppUIKit/Tests/**"],
dependencies: [
.target(name: "AppUI")
.target(name: "AppUIKit")
]
)
],
Expand Down
2 changes: 1 addition & 1 deletion Targets/App/Sources/App.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SwiftUI
import AppUI
import AppUIKit

@main
struct AppApp: App {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 889fc3c

Please sign in to comment.