The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwizzleHelper, reference main (d0e5e0), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 04:00:24 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chipjarred/SwizzleHelper.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/chipjarred/SwizzleHelper
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d0e5e0d Added support for forwarding to previous implementation of a swizzled method that takes an Objective-C block (aka closure, in Swift).
Cloned https://github.com/chipjarred/SwizzleHelper.git
Revision (git rev-parse @):
d0e5e0d1836bf080bcafdb1ef6023ffeb5c0405d
SUCCESS checkout https://github.com/chipjarred/SwizzleHelper.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/chipjarred/SwizzleHelper.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-1EA4D86E10B52AF.txt
/Users/admin/builder/spi-builder-workspace/SwizzleHelperObjC/swizzleHelper.m:113:1: warning: non-void function does not return a value [-Wreturn-type]
  113 | }
      | ^
1 warning generated.
[2/3] Compiling SwizzleHelperObjC swizzleHelper.m
[4/6] Compiling SwizzleHelper NSObject+Swizzling.swift
[5/6] Emitting module SwizzleHelper
[6/6] Compiling SwizzleHelper NSObject+AssociatedObjects.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwizzleHelper/NSObject+AssociatedObjects.swift:63:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 61 |         get
 62 |         {
 63 |             return objc_getAssociatedObject(Self.self, &associatedValuesKey)
    |                                                        `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 64 |                 as? AssociatedValues ?? [:]
 65 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwizzleHelper/NSObject+AssociatedObjects.swift:70:17: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 68 |             objc_setAssociatedObject(
 69 |                 Self.self,
 70 |                 &associatedValuesKey,
    |                 `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 71 |                 newValue as NSDictionary,
 72 |                 .OBJC_ASSOCIATION_RETAIN
/Users/admin/builder/spi-builder-workspace/Sources/SwizzleHelper/NSObject+AssociatedObjects.swift:86:51: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 84 |         get
 85 |         {
 86 |             return objc_getAssociatedObject(self, &associatedValuesKey)
    |                                                   `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 87 |                 as? AssociatedValues ?? [:]
 88 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwizzleHelper/NSObject+AssociatedObjects.swift:93:17: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 91 |             objc_setAssociatedObject(
 92 |                 self,
 93 |                 &associatedValuesKey,
    |                 `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 94 |                 newValue as NSDictionary,
 95 |                 .OBJC_ASSOCIATION_RETAIN
Build complete! (7.90s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwizzleHelper",
  "name" : "SwizzleHelper",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "SwizzleHelper",
      "targets" : [
        "SwizzleHelper",
        "SwizzleHelperObjC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwizzleHelperTests",
      "module_type" : "SwiftTarget",
      "name" : "SwizzleHelperTests",
      "path" : "Tests/SwizzleHelperTests",
      "sources" : [
        "AssociatedValues_Tests.swift",
        "Swizzling_Tests.swift"
      ],
      "target_dependencies" : [
        "SwizzleHelper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwizzleHelperObjC",
      "module_type" : "ClangTarget",
      "name" : "SwizzleHelperObjC",
      "path" : "SwizzleHelperObjC",
      "product_memberships" : [
        "SwizzleHelper"
      ],
      "sources" : [
        "swizzleHelper.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwizzleHelper",
      "module_type" : "SwiftTarget",
      "name" : "SwizzleHelper",
      "path" : "Sources/SwizzleHelper",
      "product_memberships" : [
        "SwizzleHelper"
      ],
      "sources" : [
        "NSObject+AssociatedObjects.swift",
        "NSObject+Swizzling.swift"
      ],
      "target_dependencies" : [
        "SwizzleHelperObjC"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.