The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DirtyCowKit, reference main (349744), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 04:18:22 UTC.

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/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/BomberFish/DirtyCowKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-1EA4D86E10B52AF.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.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/xpc/xpc.h:69:1: note: previous definition is here
   69 | OS_OBJECT_DECL(xpc_object);
      | ^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.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.2 macosSpm