MobileNativeFoundation / XCLogParser

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

Fix parsing Swift errors and add Error detail #81

Closed ecamacho closed 4 years ago

ecamacho commented 4 years ago
  1. Fixes a bug when a Swift error occur while building with whole-module option enabled, the list of Swift files that were compiled is in the parent's command description instead than in the LogSection command description.
  2. Adds a new File to Errors called detail that shows a detailed text with the error and its location. For instance, a text like this will be shown for a Swift Semantic error:
\/MyProject\/MyService.swift:399:26: error: expression type 'SomethingLoader<_>' is ambiguous without more context\r        let aLoader = SomethingLoader(loadable: loadable)\r                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r"

cc @BalestraPatrick @polac24

ecamacho commented 4 years ago

@polac24 yes, when the app is compiled with the whole-module option