Skip to content

Commit c912118

Browse files
committed
again
1 parent 6458bc7 commit c912118

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Package.swift

+7-3
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,24 @@ let package = Package(
3030
// Targets can depend on other targets in this package, and on products in packages this package depends on.
3131
.target(
3232
name: "DJSwiftHelpers",
33-
path: "Sources/Common/"
33+
path: "Sources/Common/",
34+
linkerSettings: [
35+
.unsafeFlags(["-Xlinker", "-no_application_extension"])
36+
]
3437
),
3538
.target(
3639
name: "DJSwiftHelpers_UIKit",
3740
path: "Sources/UIKit/",
3841
linkerSettings: [
39-
.linkedFramework("UIKit", .when(platforms: [.iOS]))
42+
.linkedFramework("UIKit", .when(platforms: [.iOS])),
4043
]
4144
),
4245
.target(
4346
name: "DJSwiftHelpers_SwiftUI",
4447
path: "Sources/SwiftUI/",
4548
linkerSettings: [
46-
.linkedFramework("SwiftUI")
49+
.linkedFramework("SwiftUI"),
50+
.unsafeFlags(["-Xlinker", "-no_application_extension"])
4751
]
4852
)
4953
]

0 commit comments

Comments
 (0)