File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
Sources/SystemExtensionKit Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,14 @@ let package = Package(
1414 name: " SystemExtensionKit " ,
1515 targets: [ " SystemExtensionKit " ] ) ,
1616 ] ,
17- dependencies: [
18- // Dependencies declare other packages that this package depends on.
19- // .package(url: /* package url */, from: "1.0.0"),
20- ] ,
17+ dependencies: [ ] ,
2118 targets: [
2219 // Targets are the basic building blocks of a package. A target can define a module or a test suite.
2320 // Targets can depend on other targets in this package, and on products in packages this package depends on.
2421 . target(
2522 name: " SystemExtensionKit " ,
26- dependencies: [ ] ) ,
23+ dependencies: [ ] ,
24+ path: " Sources " ) ,
2725 . testTarget(
2826 name: " SystemExtensionKitTests " ,
2927 dependencies: [ " SystemExtensionKit " ] ) ,
Original file line number Diff line number Diff line change 77
88import SystemExtensions
99
10+ // Enforce minimum Swift version for all platforms and build systems.
11+ #if swift(<5.5)
12+ #error("SystemExtensionKit doesn't support Swift versions below 5.5.")
13+ #endif
14+
15+ /// Current SystemExtensionKit version. Necessary since SPM doesn't use dynamic libraries. Plus this will be more accurate.
16+ let version = " 1.0.0 "
17+
1018public let SystemExtension = SystemExtensionKit . shared
1119
1220public protocol SystemExtensionDelegate : NSObjectProtocol {
You can’t perform that action at this time.
0 commit comments