The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftHook, reference master (e033f5), with Swift 6.0 for macOS (SPM) on 11 May 2025 13:53:38 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/623637646/SwiftHook.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/623637646/SwiftHook
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e033f57 Merge pull request #19 from flocked/HookContext
Cloned https://github.com/623637646/SwiftHook.git
Revision (git rev-parse @):
e033f57cc6def560cf2fa6f4ecd788411688a6a7
SUCCESS checkout https://github.com/623637646/SwiftHook.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/623637646/SwiftHook.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/23] Write swift-version-5BDAB9E9C0126B9D.txt
[1/23] Compiling win64_x86_64.S
[2/23] Compiling ffiw64_x86_64.c
[2/23] Compiling ffi_armv7.c
[4/23] Compiling sysv_i386.S
[5/23] Compiling unix64_x86_64.S
[6/23] Compiling tramp.c
[7/23] Compiling ffi64_x86_64.c
[8/23] Compiling ffi_i386.c
[9/23] Compiling sysv_armv7.S
[10/23] Compiling raw_api.c
[11/23] Compiling types.c
[12/23] Compiling debug.c
[13/23] Write sources
[14/23] Compiling java_raw_api.c
[15/23] Compiling prep_cif.c
[16/23] Compiling sysv_arm64.S
[17/23] Compiling dlmalloc.c
[18/23] Compiling ffi_arm64.c
[19/23] Compiling closures.c
[20/23] Compiling SwiftHookOCSources SHObjectiveCUtilities.m
[21/23] Compiling SwiftHookOCSources SHMethodSignature.m
[22/23] Compiling SwiftHookOCSources SHFFITypeContext.m
[24/44] Emitting module SwiftHook
[25/46] Compiling SwiftHook AssociatedValue.swift
[26/46] Compiling SwiftHook Utilities.swift
[27/46] Compiling SwiftHook OverrideSuperMethod.swift
[28/46] Compiling SwiftHook TargetObjectExtension.swift
[29/46] Compiling SwiftHook HookClassMethods.swift
[30/46] Compiling SwiftHook HookCommon.swift
[31/46] Compiling SwiftHook InsteadHookClosureExtension.swift
[32/46] Compiling SwiftHook KVOWrapper.swift
[33/46] Compiling SwiftHook ParametersCheck.swift
[34/46] Compiling SwiftHook HookAllInstances.swift
[35/46] Compiling SwiftHook FFICIFContext.swift
[36/46] Compiling SwiftHook FFIClosureContext.swift
[37/46] Compiling SwiftHook DynamicClass.swift
[38/46] Compiling SwiftHook HookSpecificInstance.swift
[39/46] Compiling SwiftHook HookAllInstancesOC.swift
[40/46] Compiling SwiftHook HookSpecificInstanceOC.swift
[41/46] Compiling SwiftHook Signature.swift
[42/46] Compiling SwiftHook HookClassMethodsOC.swift
[43/46] Compiling SwiftHook HookCommonOC.swift
[44/46] Compiling SwiftHook HookContext.swift
[45/46] Compiling SwiftHook HookDeallocAfterDelegate.swift
[46/46] Compiling SwiftHook HookInternal.swift
Build complete! (9.64s)
Fetching https://github.com/623637646/libffi.git
[1/15566] Fetching libffi
Fetched https://github.com/623637646/libffi.git from cache (1.41s)
Computing version for https://github.com/623637646/libffi.git
Computed https://github.com/623637646/libffi.git at 3.4.7 (0.45s)
Creating working copy for https://github.com/623637646/libffi.git
Working copy of https://github.com/623637646/libffi.git resolved at 3.4.7
Build complete.
{
  "dependencies" : [
    {
      "identity" : "libffi",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.4.7",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/623637646/libffi.git"
    }
  ],
  "manifest_display_name" : "SwiftHook",
  "name" : "SwiftHook",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftHook",
      "targets" : [
        "SwiftHook"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftHookOCSources",
      "module_type" : "ClangTarget",
      "name" : "SwiftHookOCSources",
      "path" : "SwiftHook/Classes/OCSources",
      "product_dependencies" : [
        "libffi_apple"
      ],
      "product_memberships" : [
        "SwiftHook"
      ],
      "sources" : [
        "SHFFITypeContext.m",
        "SHMethodSignature.m",
        "SHObjectiveCUtilities.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftHook",
      "module_type" : "SwiftTarget",
      "name" : "SwiftHook",
      "path" : "SwiftHook/Classes",
      "product_dependencies" : [
        "libffi_apple"
      ],
      "product_memberships" : [
        "SwiftHook"
      ],
      "sources" : [
        "FFI/FFICIFContext.swift",
        "FFI/FFIClosureContext.swift",
        "Hook/DynamicClass.swift",
        "Hook/HookContext.swift",
        "Hook/HookDeallocAfterDelegate.swift",
        "Hook/HookInternal.swift",
        "Hook/InsteadHookClosureExtension.swift",
        "Hook/KVOWrapper.swift",
        "Hook/OverrideSuperMethod.swift",
        "Hook/TargetObjectExtension.swift",
        "Parameters/ParametersCheck.swift",
        "Public/HookAllInstances.swift",
        "Public/HookClassMethods.swift",
        "Public/HookCommon.swift",
        "Public/HookSpecificInstance.swift",
        "PublicObjectiveCAPI/HookAllInstancesOC.swift",
        "PublicObjectiveCAPI/HookClassMethodsOC.swift",
        "PublicObjectiveCAPI/HookCommonOC.swift",
        "PublicObjectiveCAPI/HookSpecificInstanceOC.swift",
        "Signature/Signature.swift",
        "Utilities/AssociatedValue.swift",
        "Utilities/Utilities.swift"
      ],
      "target_dependencies" : [
        "SwiftHookOCSources"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.