MobileNativeFoundation / XCLogParser

Tool to parse Xcode and xcodebuild logs stored in the xcactivitylog format
Apache License 2.0
1.73k stars 121 forks source link

Fix Swift errors assignment #138

Closed ecamacho closed 3 years ago

ecamacho commented 3 years ago

When we breakdown the Swift files in a Swift module, we weren't assigning correctly an error or warning to its source file causing to some errors not being shown in the Reports. For instance, when the actual file that failed was not reported by the Swift Compiler. We couldn't attribute the error to one of the files in the Build Log. With this fix we are assigning to a file in the same Swift Module, so the error is correctly reported.

SwiftLint was reporting new issues, I also fixed them in this PR