The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MMLanScan, reference v4.0.0 (0ed541), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 13:41:31 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/b5i/MMLanScan.git
Reference: v4.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/b5i/MMLanScan
 * tag               v4.0.0     -> FETCH_HEAD
HEAD is now at 0ed541d Added support for SPM.
Cloned https://github.com/b5i/MMLanScan.git
Revision (git rev-parse @):
0ed541d3d19b871b41f8f84e891db0d7557c5186
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/b5i/MMLanScan.git at v4.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/b5i/MMLanScan.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Compiling NetworkCalculator.m
/Users/admin/builder/spi-builder-workspace/MMLanScan/Misc/LANProperties.m:74:50: error: 'CNCopyCurrentNetworkInfo' is unavailable: not available on macOS
   74 |         info = (__bridge_transfer NSDictionary *)CNCopyCurrentNetworkInfo((__bridge CFStringRef)ifnam);
      |                                                  ^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/CaptiveNetwork.h:180:1: note: 'CNCopyCurrentNetworkInfo' has been explicitly marked unavailable here
  180 | CNCopyCurrentNetworkInfo        (CFStringRef    interfaceName)
      | ^
1 error generated.
[1/8] Compiling LANProperties.m
[1/8] Compiling SimplePing.m
[1/8] Compiling MacFinder.m
[1/8] Compiling MMDevice.m
[1/8] Compiling MACOperation.m
[1/8] Compiling PingOperation.m
[1/8] Compiling MMLANScanner.m
BUILD FAILURE 6.2 macosSpm