Skip to content

[SR-1281] Code coverage testing with custom toolchains in Xcode doesn't work #43889

@swift-ci

Description

@swift-ci
Previous ID SR-1281
Radar None
Original Reporter rfdickerson (JIRA User)
Type Bug

Attachment: Download

Environment

swift-DEVELOPMENT-04-12-a, Mac OS X 10.11

Additional Detail from JIRA
Votes 3
Component/s Compiler
Labels Bug, CodeCoverage
Assignee None
Priority Medium

md5: 832192ff9d7246fb2eec64e5038f4b79

Issue Description:

When I add Code Coverage testing to the XCode project generated with 'swift build -X' then following error occurs:

I have also tried adding emiting profiling and coverage to the project with

`swift build -Xcc -fprofile-instr-generate -Xcc -ftest-coverage`

But that did not work, either

Metadata

Metadata

Assignees

No one assigned

    Labels

    XcodeFlag: Involves XcodebugA deviation from expected or documented behavior. Also: expected but undesirable behavior.code coverageArea → source tooling: code coverageoff topicResolution: Is beyond the scope of the Swift project (Xcode, proprietary Apple frameworks, etc.)source toolingArea: IDE support, SourceKit, and other source toolingswift 5.7unexpected errorBug: Unexpected error

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions