Write distinct file path entries only.

This issue affected me as well:
https://groups.google.com/forum/#!topic/oclint-users/J5Xkxpooois

It wasn't due to tee or not deleting the old xcodebuild.log; oclint-xcodebuild will write duplicate file entries, and Xcode will mark the SDK as having errors.

I had this issue while running the latest Xcode and setting up a starter Single View application.

Following the steps in the documentation, I tried to integrate the reporting into the IDE, but ran into false positive errors which pointed at the SDK.