Skip to content

scan fails inside Xcode for new project #932

@niklasamslgruber

Description

@niklasamslgruber

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting feedbackFurther information is requestedxcodeIssues related to Xcode integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions