MobileNativeFoundation / XCLogParser

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

DeprecatedWarnings: Check for type note #179

Closed PatrikBillgren closed 1 year ago

PatrikBillgren commented 1 year ago

With Xcode 14 - it seems that swift deprecation warnings have the type note.

Example

{
                  "characterRangeStart" : 0,
                  "startingColumnNumber" : 34,
                  "endingColumnNumber" : 34,
                  "characterRangeEnd" : 18446744073709551615,
                  "detail" : "\/Sources\/SourceDir\/PermissionHandler.swift:24:34: warning: 'authorizationS
tatus()' was deprecated in iOS 14.0\r        switch CLLocationManager.authorizationStatus() {\r                                 ^",
                  "title" : "'authorizationStatus()' was deprecated in iOS 14.0",
                  "endingLineNumber" : 24,
                  "type" : "note",
                  "documentURL" : "file:\/\/\/\/Sources\/SourceDir\/PermissionHandler.swift",
                  "startingLineNumber" : 24,
                  "severity" : 1
                }

Should fix https://github.com/MobileNativeFoundation/XCLogParser/issues/171