periphery icon indicating copy to clipboard operation
periphery copied to clipboard

option --target causes errors

Open davidakoontz opened this issue 9 months ago • 1 comments

Describe the bug A clear and concise description of what the bug is.

Reproduction If you are reporting an incorrect result, please provide a sample Xcode or Swift package project that reproduces the issue.

Environment Copy the output from running:

periphery version
swift -version
xcodebuild -version

davidakoontz avatar May 11 '25 21:05 davidakoontz

the instructions to integrate with Xcode show a command line that causes an error.

periphery scan --project AcmeApp. xcodeproj --schemes AcmeApp --targets AcmeApp --format xcode

the --targets AcmeApp seems to a problem.

===

❯ periphery version swift -version xcodebuild -version 3.1.0 swift-driver version: 1.120.5 Apple Swift version 6.1 (swiftlang-6.1.0.110.21 clang-1700.0.13.3) Target: arm64-apple-macosx15.0 Xcode 16.3 Build version 16E140

davidakoontz avatar May 11 '25 21:05 davidakoontz

looks like --targets is not an argument anymore -> https://github.com/peripheryapp/periphery/blob/master/Sources/Configuration/Configuration.swift only --exclude_targets was deleted in this PR https://github.com/peripheryapp/periphery/pull/767

omarzlopentable avatar Jul 22 '25 17:07 omarzlopentable

Will be addressed in #987

ileitch avatar Oct 25 '25 10:10 ileitch