Skip to content

Commit 0c65202

Browse files
committed
Cleaned up Package.swift
1 parent f151428 commit 0c65202

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Package.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,18 @@ let package = Package(
3232
defaultLocalization: "en",
3333
platforms: [.iOS(.v18), .macOS(.v15)],
3434
products: [
35-
// Products define the executables and libraries a package produces, and make them visible to other packages.
3635
.library(name: "Canopy", targets: ["Canopy"]),
3736
.library(name: "CanopyTestTools", targets: ["CanopyTestTools"])
3837
],
3938
dependencies: dependencies,
4039
targets: [
41-
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
42-
// Targets can depend on other targets in this package, and on products in packages this package depends on.
4340
.target(
4441
name: "Canopy",
4542
dependencies: [
4643
"Semaphore",
4744
.product(name: "Dependencies", package: "swift-dependencies")
4845
],
4946
path: "Targets/Canopy/Sources"
50-
// https://danielsaidi.com/blog/2022/05/18/how-to-suppress-linking-warning
51-
// Canopy by default gives a warning about unsafe code for application extensions. Not sure why it says that.
52-
// See the above blog post for more info.
53-
// The following line is OK to have in local development, but in live setting, cannot be used.
54-
// This could also be obsolete, latest Canopy does not give warnings with extensions any more.
55-
// Keeping this info here just for a while longer.
56-
// linkerSettings: [.unsafeFlags(["-Xlinker", "-no_application_extension"])]
5747
),
5848
.target(
5949
name: "CanopyTestTools",

0 commit comments

Comments
 (0)