Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeprecatedWarnings: Check for type note #179

Merged
merged 1 commit into from
Nov 24, 2022

Conversation

PatrikBillgren
Copy link
Collaborator

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 #171

Copy link
Collaborator

@aleksandergrzyb aleksandergrzyb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💪

@PatrikBillgren PatrikBillgren merged commit 501da3e into master Nov 24, 2022
@PatrikBillgren PatrikBillgren deleted the fix-deprecated-warnings-xcode14 branch November 24, 2022 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

XCLogParser does not pick up deprecation warnings from xcodebuild
2 participants