The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DirtyCowKit, reference main (349744), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 15:34:27 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BomberFish/DirtyCowKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BomberFish/DirtyCowKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3497447 ok so not everyone is using xcode beta ;-;
Cloned https://github.com/BomberFish/DirtyCowKit.git
Revision (git rev-parse @):
349744780f7928ab2af2d0135f1edae8aee836a1
SUCCESS checkout https://github.com/BomberFish/DirtyCowKit.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "dirtycowkit",
      "name": "DirtyCowKit",
      "url": "https://github.com/BomberFish/DirtyCowKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DirtyCowKit",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/BomberFish/DirtyCowKit.git
[1/78] Fetching dirtycowkit
Fetched https://github.com/BomberFish/DirtyCowKit.git from cache (0.59s)
Creating working copy for https://github.com/BomberFish/DirtyCowKit.git
Working copy of https://github.com/BomberFish/DirtyCowKit.git resolved at main (3497447)
warning: '.resolve-product-dependencies': dependency 'dirtycowkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/BomberFish/DirtyCowKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version--6988338F2F200930.txt
[2/5] Compiling Exploit vm_unaligned_copy_switch_race.c
[3/5] Compiling Exploit helpers.m
/Users/admin/builder/spi-builder-workspace/Sources/Exploit/grant_full_disk_access.m:14:19: error: typedef redefinition with different types ('NSObject *' vs 'NSObject<OS_xpc_object> *')
   14 | typedef NSObject* xpc_object_t;
      |                   ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/xpc/xpc.h:69:1: note: previous definition is here
   69 | OS_OBJECT_DECL(xpc_object);
      | ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/os/object.h:144:3: note: expanded from macro 'OS_OBJECT_DECL'
  144 |                 OS_OBJECT_DECL_IMPL(name, NSObject, <NSObject>)
      |                 ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/os/object.h:134:33: note: expanded from macro 'OS_OBJECT_DECL_IMPL'
  134 |                                 * OS_OBJC_INDEPENDENT_CLASS name##_t
      |                                                             ^
<scratch space>:18:1: note: expanded from here
   18 | xpc_object_t
      | ^
1 error generated.
[4/5] Compiling Exploit grant_full_disk_access.m
BUILD FAILURE 6.3 macosSpm