Swift Code Coverage documentation, using profdata on Xcode 9.3+

On the Swift Coverage Results Import page, it mentions to use the “Generic Test Data” on Xcode 9.3+, however this isn’t strictly the case.

I was able to continue to use the .profdata on Xcode 9.3 - 10.1 by setting my “Project Format” to “Xcode 8.0-compatible”. This is done in Xcode by clicking on my project file in the Project Navigator (left panel), then opening the File Inspector (right panel).

I would recommend adding this information to the documentation page.

Thank you for your valuable feedback, @aclaus.

Our documentation is split based on the default toolset coming with the IDE.

Xcode 9.3 introduced a tool called xccov, which is the default, thus we adapted our documentation to the default. For the people who use the Xcode 8.0-compatible mode inside Xcode 9.3+, the documentation For Xcode 7 - 9.2 is relevant.