openbakery / gradle-xcodePlugin

gradle plugin for building Xcode Projects for iOS, watchOS, macOS or tvOS
Apache License 2.0
458 stars 129 forks source link

Erik/coverage xcode9 #381

Closed ErikEverson closed 6 years ago

ErikEverson commented 6 years ago

Solves: #371 The path to the coverage output has changed in Xcode 9.

Xcode now places the profdata file under the destination identifier associated with the specific device id that the tests ran on. Without a clean of the derived data there can be multiple profdata files. Therefore getting the destinations from test result will return the correct GUID that the current builds coverage files live under.

phatblat commented 6 years ago

🎉