periphery icon indicating copy to clipboard operation
periphery copied to clipboard

`scan` fails inside Xcode for new project

Open niklasamslgruber opened this issue 9 months ago • 1 comments

Describe the bug Create a new project in Xcode, add some basic Unit and UI Tests, add Periphery as an Aggregate and run the scan command from a Build Phase. The scan command fails with TEST BUILD FAILED. There was a similar issue reported here which states that it has something to do with the Test Targets having no sources. If you delete the Test targets inside the new project it works though, but it should also work with Test Targets (which have sources as we added some basic unit tests). Any ideas on how to fix this?

Environment

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

niklasamslgruber avatar May 04 '25 10:05 niklasamslgruber

@ileitch any ideas why this fails?

niklasamslgruber avatar May 25 '25 09:05 niklasamslgruber