The Swift Package Index logo.Swift Package Index

Build Information

Successful build of KeepMacAwakeCore, reference v1.0.12 (f1ebfd), with Swift 6.1 for macOS (SPM) on 20 Nov 2026 20:52:41 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bartdudzic/keepmacawake.git
Reference: v1.0.12
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bartdudzic/keepmacawake
 * tag               v1.0.12    -> FETCH_HEAD
HEAD is now at f1ebfda Keep Mac Awake 1.0.12 public core
Cloned https://github.com/bartdudzic/keepmacawake.git
Revision (git rev-parse @):
f1ebfda88f45ac169c691b37c15dbbb70e7882c4
SUCCESS checkout https://github.com/bartdudzic/keepmacawake.git at v1.0.12
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bartdudzic/keepmacawake.git
https://github.com/bartdudzic/keepmacawake.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "KeepMacAwakeCore",
  "name" : "KeepMacAwakeCore",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "26.0"
    }
  ],
  "products" : [
    {
      "name" : "KeepMacAwakeCore",
      "targets" : [
        "KeepMacAwakeCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KeepMacAwakeControlProtocol",
      "targets" : [
        "KeepMacAwakeControlProtocol"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KeepMacAwakeControlCore",
      "targets" : [
        "KeepMacAwakeControlCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KeepMacAwakeServiceSupport",
      "targets" : [
        "KeepMacAwakeServiceSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KeepMacAwakeHelper",
      "targets" : [
        "KeepMacAwakeHelper"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KeepMacAwakeServiceSupport",
      "module_type" : "SwiftTarget",
      "name" : "KeepMacAwakeServiceSupport",
      "path" : "Sources/KeepMacAwakeServiceSupport",
      "product_memberships" : [
        "KeepMacAwakeServiceSupport",
        "KeepMacAwakeHelper"
      ],
      "sources" : [
        "FirstSessionRecord.swift",
        "PeerSupervision.swift",
        "ServiceFileValidation.swift",
        "SessionPolicy.swift",
        "SessionPowerPolicy.swift",
        "UpdatePackageCheck.swift"
      ],
      "target_dependencies" : [
        "KeepMacAwakeControlCore",
        "KeepMacAwakeControlProtocol"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KeepMacAwakeHelperTests",
      "module_type" : "SwiftTarget",
      "name" : "KeepMacAwakeHelperTests",
      "path" : "Tests/KeepMacAwakeHelperTests",
      "sources" : [
        "BatterySessionPolicyTests.swift",
        "BatteryWatchdogTests.swift",
        "FirstSessionRecordTests.swift",
        "PeerObservationTests.swift",
        "PeerSupervisionTests.swift",
        "ServiceFileValidationTests.swift",
        "SessionPolicyTests.swift",
        "UpdatePackageCheckTests.swift"
      ],
      "target_dependencies" : [
        "KeepMacAwakeServiceSupport",
        "KeepMacAwakeControlProtocol"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KeepMacAwakeHelper",
      "module_type" : "SwiftTarget",
      "name" : "KeepMacAwakeHelper",
      "path" : "Sources/KeepMacAwakeHelper",
      "product_memberships" : [
        "KeepMacAwakeHelper"
      ],
      "sources" : [
        "SecureState.swift",
        "ServiceRuntime.swift",
        "UpdateInstall.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "KeepMacAwakeCore",
        "KeepMacAwakeControlCore",
        "KeepMacAwakeControlProtocol",
        "KeepMacAwakeServiceSupport"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "KeepMacAwakeCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "KeepMacAwakeCoreTests",
      "path" : "Tests/KeepMacAwakeCoreTests",
      "sources" : [
        "PowerSnapshotTests.swift"
      ],
      "target_dependencies" : [
        "KeepMacAwakeCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KeepMacAwakeCore",
      "module_type" : "SwiftTarget",
      "name" : "KeepMacAwakeCore",
      "path" : "Sources/KeepMacAwakeCore",
      "product_memberships" : [
        "KeepMacAwakeCore",
        "KeepMacAwakeHelper"
      ],
      "sources" : [
        "PowerSnapshot.swift",
        "SystemProbe.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KeepMacAwakeControlProtocol",
      "module_type" : "SwiftTarget",
      "name" : "KeepMacAwakeControlProtocol",
      "path" : "Sources/KeepMacAwakeControlProtocol",
      "product_memberships" : [
        "KeepMacAwakeControlProtocol",
        "KeepMacAwakeServiceSupport",
        "KeepMacAwakeHelper"
      ],
      "sources" : [
        "ControlProtocol.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KeepMacAwakeControlCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "KeepMacAwakeControlCoreTests",
      "path" : "Tests/KeepMacAwakeControlCoreTests",
      "sources" : [
        "RecoveryJournalTests.swift",
        "SleepTransactionTests.swift"
      ],
      "target_dependencies" : [
        "KeepMacAwakeControlCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KeepMacAwakeControlCore",
      "module_type" : "SwiftTarget",
      "name" : "KeepMacAwakeControlCore",
      "path" : "Sources/KeepMacAwakeControlCore",
      "product_memberships" : [
        "KeepMacAwakeControlCore",
        "KeepMacAwakeServiceSupport",
        "KeepMacAwakeHelper"
      ],
      "sources" : [
        "NativeSleepBackend.swift",
        "RecoveryJournal.swift",
        "SleepTransaction.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/10] Write sources
[2/10] Write KeepMacAwakeHelper-entitlement.plist
[6/10] Write swift-version-2F0A5646E1D333AE.txt
[8/19] Compiling KeepMacAwakeControlCore RecoveryJournal.swift
[9/19] Emitting module KeepMacAwakeControlProtocol
[10/19] Compiling KeepMacAwakeControlProtocol ControlProtocol.swift
[11/19] Compiling KeepMacAwakeControlCore NativeSleepBackend.swift
[12/19] Emitting module KeepMacAwakeControlCore
[13/19] Compiling KeepMacAwakeControlCore SleepTransaction.swift
[14/19] Compiling KeepMacAwakeCore PowerSnapshot.swift
[15/19] Emitting module KeepMacAwakeCore
[16/19] Compiling KeepMacAwakeCore SystemProbe.swift
[17/26] Compiling KeepMacAwakeServiceSupport SessionPowerPolicy.swift
[18/26] Compiling KeepMacAwakeServiceSupport ServiceFileValidation.swift
[19/26] Compiling KeepMacAwakeServiceSupport UpdatePackageCheck.swift
[20/26] Compiling KeepMacAwakeServiceSupport SessionPolicy.swift
[21/26] Compiling KeepMacAwakeServiceSupport FirstSessionRecord.swift
[22/26] Compiling KeepMacAwakeServiceSupport PeerSupervision.swift
[23/26] Emitting module KeepMacAwakeServiceSupport
[24/31] Compiling KeepMacAwakeHelper UpdateInstall.swift
/Users/admin/builder/spi-builder-workspace/Sources/KeepMacAwakeHelper/UpdateInstall.swift:154:27: warning: reference to captured var 'pid' in concurrently-executing code
152 |         DispatchQueue.global(qos: .utility).async {
153 |             var status: Int32 = 0
154 |             while waitpid(pid, &status, 0) == -1, errno == EINTR {}
    |                           `- warning: reference to captured var 'pid' in concurrently-executing code
155 |         }
156 |     }
[25/31] Compiling KeepMacAwakeHelper main.swift
[26/31] Compiling KeepMacAwakeHelper ServiceRuntime.swift
/Users/admin/builder/spi-builder-workspace/Sources/KeepMacAwakeHelper/ServiceRuntime.swift:185:17: warning: capture of 'self' with non-sendable type 'ServiceRuntime' in a '@Sendable' closure
 88 | }
 89 |
 90 | final class ServiceRuntime: NSObject, NSXPCListenerDelegate {
    |             `- note: class 'ServiceRuntime' does not conform to the 'Sendable' protocol
 91 |     enum Mode { case controller, watchdog }
 92 |     let queue = DispatchQueue(label: "com.keepmacawake.service")
    :
183 |             guard let self else { return }
184 |             self.queue.async {
185 |                 self.supervise()
    |                 `- warning: capture of 'self' with non-sendable type 'ServiceRuntime' in a '@Sendable' closure
186 |                 self.policy.disconnected(identifier)
187 |                 self.publishOrExit()
/Users/admin/builder/spi-builder-workspace/Sources/KeepMacAwakeHelper/ServiceRuntime.swift:200:13: warning: capture of 'self' with non-sendable type 'ServiceRuntime' in a '@Sendable' closure
 88 | }
 89 |
 90 | final class ServiceRuntime: NSObject, NSXPCListenerDelegate {
    |             `- note: class 'ServiceRuntime' does not conform to the 'Sendable' protocol
 91 |     enum Mode { case controller, watchdog }
 92 |     let queue = DispatchQueue(label: "com.keepmacawake.service")
    :
198 |         queue.async {
199 |             // The policy ticks inside handle(), before it reads the request.
200 |             self.supervise(tickingPolicy: false)
    |             `- warning: capture of 'self' with non-sendable type 'ServiceRuntime' in a '@Sendable' closure
201 |             let status: ControlStatus
202 |             if data.count > 4096 {
/Users/admin/builder/spi-builder-workspace/Sources/KeepMacAwakeHelper/ServiceRuntime.swift:204:54: warning: capture of 'connection' with non-sendable type 'NSXPCConnection' in a '@Sendable' closure
202 |             if data.count > 4096 {
203 |                 status = ControlStatus(phase: .failed, message: "The request is too large.")
204 |             } else if let console = consoleUserID(), connection.effectiveUserIdentifier == console,
    |                                                      `- warning: capture of 'connection' with non-sendable type 'NSXPCConnection' in a '@Sendable' closure
205 |                       let request = try? JSONDecoder().decode(ControlRequest.self, from: data) {
206 |                 if request.kind == .start, UpdateInstall.isInstalling() {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:49:12: note: class 'NSXPCConnection' does not conform to the 'Sendable' protocol
 47 | // This object is the main configuration mechanism for the communication between two processes. Each NSXPCConnection instance has a private serial queue. This queue is used when sending messages to reply handlers, interruption handlers, and invalidation handlers.
 48 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
 49 | @interface NSXPCConnection : NSObject <NSXPCProxyCreating>
    |            `- note: class 'NSXPCConnection' does not conform to the 'Sendable' protocol
 50 |
 51 | // Initialize an NSXPCConnection that will connect to the specified service name. Note: Receiving a non-nil result from this init method does not mean the service name is valid or the service has been launched. The init method simply constructs the local object.
/Users/admin/builder/spi-builder-workspace/Sources/KeepMacAwakeHelper/ServiceRuntime.swift:240:13: warning: capture of 'reply' with non-sendable type '(Data) -> Void' in a '@Sendable' closure
238 |             answer.latestSeenAt = self.firstSession.record?.latestSeenAt
239 |             // Encoding this closed Codable model cannot fail for normal finite values.
240 |             reply((try? JSONEncoder().encode(answer)) ?? Data())
    |             |- warning: capture of 'reply' with non-sendable type '(Data) -> Void' in a '@Sendable' closure
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
241 |         }
242 |     }
/Users/admin/builder/spi-builder-workspace/Sources/KeepMacAwakeHelper/ServiceRuntime.swift:208:41: warning: implicit capture of 'self' requires that 'ServiceRuntime' conforms to 'Sendable'; this is an error in the Swift 6 language mode
 88 | }
 89 |
 90 | final class ServiceRuntime: NSObject, NSXPCListenerDelegate {
    |             `- note: class 'ServiceRuntime' does not conform to the 'Sendable' protocol
 91 |     enum Mode { case controller, watchdog }
 92 |     let queue = DispatchQueue(label: "com.keepmacawake.service")
    :
206 |                 if request.kind == .start, UpdateInstall.isInstalling() {
207 |                     status = ControlStatus(phase: .failed, message: "Keep Mac Awake is updating. Try again in a minute.")
208 |                 } else if self.ready && self.recovery == nil {
    |                                         `- warning: implicit capture of 'self' requires that 'ServiceRuntime' conforms to 'Sendable'; this is an error in the Swift 6 language mode
209 |                     status = self.policy.handle(request, connection: identifier, user: console, confirmWatchdog: {
210 |                         // The watchdog reads the policy's state after this request's tick, for
/Users/admin/builder/spi-builder-workspace/Sources/KeepMacAwakeHelper/ServiceRuntime.swift:212:25: warning: capture of 'self' with non-sendable type 'ServiceRuntime' in an isolated closure; this is an error in the Swift 6 language mode
 88 | }
 89 |
 90 | final class ServiceRuntime: NSObject, NSXPCListenerDelegate {
    |             `- note: class 'ServiceRuntime' does not conform to the 'Sendable' protocol
 91 |     enum Mode { case controller, watchdog }
 92 |     let queue = DispatchQueue(label: "com.keepmacawake.service")
    :
210 |                         // The watchdog reads the policy's state after this request's tick, for
211 |                         // example an expired session already ended, not the timer's older one.
212 |                         self.publishOrExit()
    |                         `- warning: capture of 'self' with non-sendable type 'ServiceRuntime' in an isolated closure; this is an error in the Swift 6 language mode
213 |                         return self.awaitWatchdogAfterWake()
214 |                     })
/Users/admin/builder/spi-builder-workspace/Sources/KeepMacAwakeHelper/ServiceRuntime.swift:253:19: warning: capture of 'self' with non-sendable type 'ServiceRuntime' in a '@Sendable' closure
 88 | }
 89 |
 90 | final class ServiceRuntime: NSObject, NSXPCListenerDelegate {
    |             `- note: class 'ServiceRuntime' does not conform to the 'Sendable' protocol
 91 |     enum Mode { case controller, watchdog }
 92 |     let queue = DispatchQueue(label: "com.keepmacawake.service")
    :
251 |         }
252 |         queue.async {
253 |             guard self.mode == .controller, let console = consoleUserID(), connection.effectiveUserIdentifier == console else {
    |                   `- warning: capture of 'self' with non-sendable type 'ServiceRuntime' in a '@Sendable' closure
254 |                 try? package.close()
255 |                 return answer(false, "The request is not from the console user.")
/Users/admin/builder/spi-builder-workspace/Sources/KeepMacAwakeHelper/ServiceRuntime.swift:253:76: warning: capture of 'connection' with non-sendable type 'NSXPCConnection' in a '@Sendable' closure
251 |         }
252 |         queue.async {
253 |             guard self.mode == .controller, let console = consoleUserID(), connection.effectiveUserIdentifier == console else {
    |                                                                            `- warning: capture of 'connection' with non-sendable type 'NSXPCConnection' in a '@Sendable' closure
254 |                 try? package.close()
255 |                 return answer(false, "The request is not from the console user.")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:49:12: note: class 'NSXPCConnection' does not conform to the 'Sendable' protocol
 47 | // This object is the main configuration mechanism for the communication between two processes. Each NSXPCConnection instance has a private serial queue. This queue is used when sending messages to reply handlers, interruption handlers, and invalidation handlers.
 48 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
 49 | @interface NSXPCConnection : NSObject <NSXPCProxyCreating>
    |            `- note: class 'NSXPCConnection' does not conform to the 'Sendable' protocol
 50 |
 51 | // Initialize an NSXPCConnection that will connect to the specified service name. Note: Receiving a non-nil result from this init method does not mean the service name is valid or the service has been launched. The init method simply constructs the local object.
/Users/admin/builder/spi-builder-workspace/Sources/KeepMacAwakeHelper/ServiceRuntime.swift:255:24: warning: capture of 'answer' with non-sendable type '(Bool, String) -> ()' in a '@Sendable' closure
253 |             guard self.mode == .controller, let console = consoleUserID(), connection.effectiveUserIdentifier == console else {
254 |                 try? package.close()
255 |                 return answer(false, "The request is not from the console user.")
    |                        |- warning: capture of 'answer' with non-sendable type '(Bool, String) -> ()' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
256 |             }
257 |             self.supervise()
/Users/admin/builder/spi-builder-workspace/Sources/KeepMacAwakeHelper/ServiceRuntime.swift:249:14: warning: concurrently-executed local function 'answer' must be marked as '@Sendable'
247 |     /// starts, in a process of its own that holds the update lock.
248 |     func installUpdate(_ package: FileHandle, connection: NSXPCConnection, reply: @escaping (Data) -> Void) {
249 |         func answer(_ accepted: Bool, _ message: String) {
    |              `- warning: concurrently-executed local function 'answer' must be marked as '@Sendable'
250 |             reply((try? JSONEncoder().encode(UpdateInstallReply(accepted: accepted, message: message))) ?? Data())
251 |         }
/Users/admin/builder/spi-builder-workspace/Sources/KeepMacAwakeHelper/ServiceRuntime.swift:282:17: warning: capture of 'self' with non-sendable type 'ServiceRuntime' in a '@Sendable' closure
 88 | }
 89 |
 90 | final class ServiceRuntime: NSObject, NSXPCListenerDelegate {
    |             `- note: class 'ServiceRuntime' does not conform to the 'Sendable' protocol
 91 |     enum Mode { case controller, watchdog }
 92 |     let queue = DispatchQueue(label: "com.keepmacawake.service")
    :
280 |                 }
281 |                 try? package.close()
282 |                 self.queue.async {
    |                 `- warning: capture of 'self' with non-sendable type 'ServiceRuntime' in a '@Sendable' closure
283 |                     self.preparingUpdate = false
284 |                     switch prepared {
/Users/admin/builder/spi-builder-workspace/Sources/KeepMacAwakeHelper/ServiceRuntime.swift:286:25: warning: capture of 'answer' with non-sendable type '(Bool, String) -> ()' in a '@Sendable' closure
284 |                     switch prepared {
285 |                     case .failure(let error):
286 |                         answer(false, error.localizedDescription)
    |                         |- warning: capture of 'answer' with non-sendable type '(Bool, String) -> ()' in a '@Sendable' closure
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
287 |                     case .success(let (copy, version)):
288 |                         // A session may have started while the copy was checked.
/Users/admin/builder/spi-builder-workspace/Sources/KeepMacAwakeHelper/ServiceRuntime.swift:283:21: warning: capture of 'self' with non-sendable type 'ServiceRuntime' in a '@Sendable' closure
 88 | }
 89 |
 90 | final class ServiceRuntime: NSObject, NSXPCListenerDelegate {
    |             `- note: class 'ServiceRuntime' does not conform to the 'Sendable' protocol
 91 |     enum Mode { case controller, watchdog }
 92 |     let queue = DispatchQueue(label: "com.keepmacawake.service")
    :
281 |                 try? package.close()
282 |                 self.queue.async {
283 |                     self.preparingUpdate = false
    |                     `- warning: capture of 'self' with non-sendable type 'ServiceRuntime' in a '@Sendable' closure
284 |                     switch prepared {
285 |                     case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/KeepMacAwakeHelper/ServiceRuntime.swift:286:25: warning: capture of 'answer' with non-sendable type '(Bool, String) -> ()' in a '@Sendable' closure
284 |                     switch prepared {
285 |                     case .failure(let error):
286 |                         answer(false, error.localizedDescription)
    |                         |- warning: capture of 'answer' with non-sendable type '(Bool, String) -> ()' in a '@Sendable' closure
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
287 |                     case .success(let (copy, version)):
288 |                         // A session may have started while the copy was checked.
[27/31] Emitting module KeepMacAwakeHelper
[28/31] Compiling KeepMacAwakeHelper SecureState.swift
[28/31] Write Objects.LinkFileList
[29/31] Linking KeepMacAwakeHelper
[30/31] Applying KeepMacAwakeHelper
Build complete! (7.39s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "KeepMacAwakeCore",
  "name" : "KeepMacAwakeCore",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "26.0"
    }
  ],
  "products" : [
    {
      "name" : "KeepMacAwakeCore",
      "targets" : [
        "KeepMacAwakeCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KeepMacAwakeControlProtocol",
      "targets" : [
        "KeepMacAwakeControlProtocol"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KeepMacAwakeControlCore",
      "targets" : [
        "KeepMacAwakeControlCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KeepMacAwakeServiceSupport",
      "targets" : [
        "KeepMacAwakeServiceSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KeepMacAwakeHelper",
      "targets" : [
        "KeepMacAwakeHelper"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KeepMacAwakeServiceSupport",
      "module_type" : "SwiftTarget",
      "name" : "KeepMacAwakeServiceSupport",
      "path" : "Sources/KeepMacAwakeServiceSupport",
      "product_memberships" : [
        "KeepMacAwakeServiceSupport",
        "KeepMacAwakeHelper"
      ],
      "sources" : [
        "FirstSessionRecord.swift",
        "PeerSupervision.swift",
        "ServiceFileValidation.swift",
        "SessionPolicy.swift",
        "SessionPowerPolicy.swift",
        "UpdatePackageCheck.swift"
      ],
      "target_dependencies" : [
        "KeepMacAwakeControlCore",
        "KeepMacAwakeControlProtocol"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KeepMacAwakeHelperTests",
      "module_type" : "SwiftTarget",
      "name" : "KeepMacAwakeHelperTests",
      "path" : "Tests/KeepMacAwakeHelperTests",
      "sources" : [
        "BatterySessionPolicyTests.swift",
        "BatteryWatchdogTests.swift",
        "FirstSessionRecordTests.swift",
        "PeerObservationTests.swift",
        "PeerSupervisionTests.swift",
        "ServiceFileValidationTests.swift",
        "SessionPolicyTests.swift",
        "UpdatePackageCheckTests.swift"
      ],
      "target_dependencies" : [
        "KeepMacAwakeServiceSupport",
        "KeepMacAwakeControlProtocol"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KeepMacAwakeHelper",
      "module_type" : "SwiftTarget",
      "name" : "KeepMacAwakeHelper",
      "path" : "Sources/KeepMacAwakeHelper",
      "product_memberships" : [
        "KeepMacAwakeHelper"
      ],
      "sources" : [
        "SecureState.swift",
        "ServiceRuntime.swift",
        "UpdateInstall.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "KeepMacAwakeCore",
        "KeepMacAwakeControlCore",
        "KeepMacAwakeControlProtocol",
        "KeepMacAwakeServiceSupport"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "KeepMacAwakeCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "KeepMacAwakeCoreTests",
      "path" : "Tests/KeepMacAwakeCoreTests",
      "sources" : [
        "PowerSnapshotTests.swift"
      ],
      "target_dependencies" : [
        "KeepMacAwakeCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KeepMacAwakeCore",
      "module_type" : "SwiftTarget",
      "name" : "KeepMacAwakeCore",
      "path" : "Sources/KeepMacAwakeCore",
      "product_memberships" : [
        "KeepMacAwakeCore",
        "KeepMacAwakeHelper"
      ],
      "sources" : [
        "PowerSnapshot.swift",
        "SystemProbe.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KeepMacAwakeControlProtocol",
      "module_type" : "SwiftTarget",
      "name" : "KeepMacAwakeControlProtocol",
      "path" : "Sources/KeepMacAwakeControlProtocol",
      "product_memberships" : [
        "KeepMacAwakeControlProtocol",
        "KeepMacAwakeServiceSupport",
        "KeepMacAwakeHelper"
      ],
      "sources" : [
        "ControlProtocol.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KeepMacAwakeControlCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "KeepMacAwakeControlCoreTests",
      "path" : "Tests/KeepMacAwakeControlCoreTests",
      "sources" : [
        "RecoveryJournalTests.swift",
        "SleepTransactionTests.swift"
      ],
      "target_dependencies" : [
        "KeepMacAwakeControlCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KeepMacAwakeControlCore",
      "module_type" : "SwiftTarget",
      "name" : "KeepMacAwakeControlCore",
      "path" : "Sources/KeepMacAwakeControlCore",
      "product_memberships" : [
        "KeepMacAwakeControlCore",
        "KeepMacAwakeServiceSupport",
        "KeepMacAwakeHelper"
      ],
      "sources" : [
        "NativeSleepBackend.swift",
        "RecoveryJournal.swift",
        "SleepTransaction.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.