periphery
periphery copied to clipboard
Crash when running setup or scan
Describe the bug
I just installed on a macOS 26 running with Xcode 26.1 beta. After trying to run periphery scan --setup, the tool crashed. Config file was saved, but periphery scan also crashed.
Here is with --verbose
periphery scan --setup --verbose
[version] 3.2.0
[shell] swift -version
Apple Swift version 6.2.1 (swiftlang-6.2.1.1.1 clang-1700.4.1.1)
Target: arm64-apple-macosx26.0
Welcome to Periphery!
This guided setup will help you select the appropriate configuration for your project.
* Detected Xcode project
* Inspecting project...
[shell] xcodebuild -version
Xcode 26.1
Build version 17B5025f
[xcode:project] Loading /Users/myuser/MyProject/MyProject.xcodeproj
[shell] xcodebuild -project "/Users/myuser/MyProject/MyProject.xcodeproj" -list -json
Select the schemes to build:
Periphery will scan all files built by your chosen schemes.
1 MyProject
? Delimit choices with a single space, e.g: 1 2 3
=> 1
Does this project contain Objective-C code?
(Y)es/(N)o
=> n
Assume all 'public' declarations are in use?
Choose 'Yes' if your project is a framework/library without a main application target.
(Y)es/(N)o
=> y
Save configuration to .periphery.yml?
(Y)es/(N)o
=> y
* Executing command:
periphery scan
* Inspecting project...
Xcode 26.1
Build version 17B5025f
[xcode:project] Loading /Users/myuser/MyProject/MyProject.xcodeproj
[shell] xcodebuild -project "/Users/myuser/MyProject/MyProject.xcodeproj" -list -json
[configuration:begin]
project: MyProject.xcodeproj
retain_public: true
schemes:
- MyProject
verbose: true
[configuration:end]
* Building MyProject...
[shell] xcodebuild -project "/Users/myuser/MyProject/MyProject.xcodeproj" -scheme "MyProject" -parallelizeTargets -derivedDataPath '/Users/myuser/Library/Caches/com.github.peripheryapp/DerivedData-d3ecaf5b-890be61e-890be61e' -quiet build-for-testing CODE_SIGNING_ALLOWED="NO" ENABLE_BITCODE="NO" DEBUG_INFORMATION_FORMAT="dwarf" COMPILER_INDEX_STORE_ENABLE="YES" INDEX_ENABLE_DATA_STORE="YES"
* Indexing...
[index] Reading /Users/myuser/Library/Caches/com.github.peripheryapp/DerivedData-d3ecaf5b-890be61e-890be61e/Index.noindex/DataStore
fish: Job 1, 'periphery scan --setup --verbose' terminated by signal SIGILL (Illegal instruction)
Reproduction Crash reproduced in a brand new project, attached here
Environment Copy the output from running:
periphery version
3.2.0
swift -version
swift-driver version: 1.127.14.1 Apple Swift version 6.2.1 (swiftlang-6.2.1.1.1 clang-1700.4.1.1)
Target: arm64-apple-macosx26.0
xcodebuild -version
Xcode 26.1
Build version 17B5025f