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

[BUG] [SWIFT]: URLSession warns about deprecated Classes with iOS 15 #18331

Closed
4 tasks done
egesucu opened this issue Apr 8, 2024 · 1 comment
Closed
4 tasks done

Comments

@egesucu
Copy link
Contributor

egesucu commented Apr 8, 2024

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
Description

With iOS 15, URLSession deprecated couple classes in favor of their new usages.

Related Warnings
  • URLSessionImplementations.swift:563:22 'UTTypeCreatePreferredIdentifierForTag' was deprecated in iOS 15.0: Use the UTType class instead.
  • URLSessionImplementations.swift:563:60 'kUTTagClassFilenameExtension' was deprecated in iOS 15.0: Use UTTagClassFilenameExtension instead.
  • URLSessionImplementations.swift:564:32 'UTTypeCopyPreferredTagWithClass' was deprecated in iOS 15.0: Use the UTType class instead.
  • URLSessionImplementations.swift:564:69 'kUTTagClassMIMEType' was deprecated in iOS 15.0: Use UTTagClassMIMEType instead.
openapi-generator version

Latest Stable version, 7.4.0

Suggest a fix

Suggested Fix PR

@egesucu
Copy link
Contributor Author

egesucu commented Apr 8, 2024

PR opened: #18330

@egesucu egesucu closed this as completed Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant