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

Xcode 16 compiler warnings extending UIKit types with AlamofireExtended #478

Open
adamjansch opened this issue Jul 16, 2024 · 0 comments
Open

Comments

@adamjansch
Copy link

ℹ Please fill out this template when filing an issue.
All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.

Per our *CONTRIBUTING guidelines, we use GitHub for
bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag alamofireimage.

Please remove this line and everything above it before submitting.

What did you do?

I built AlamofireImage 4.3.0 (installed via Cocoapods) with Xcode 16 beta 3 (16A5202i)

What did you expect to happen?

No compiler warnings from AlamofireImage.

What happened instead?

Received 3 compiler warnings from AlamofireImage:

  • Extension declares a conformance of imported type 'UIButton' to imported protocol 'AlamofireExtended'; this will not behave correctly if the owners of 'UIKit' introduce this conformance in the future
  • Extension declares a conformance of imported type 'UIImage' to imported protocol 'AlamofireExtended'; this will not behave correctly if the owners of 'UIKit' introduce this conformance in the future
  • Extension declares a conformance of imported type 'UIImageView' to imported protocol 'AlamofireExtended'; this will not behave correctly if the owners of 'UIKit' introduce this conformance in the future
2024-06-12 Xcode - AlamoFire warnings in Xcode 16

Alamofire Environment

**Alamofire version: 4.3.0
**Xcode version: 16.0 beta 3 (16A5202i)
**Swift version: 5
**Platform(s) running AlamofireImage: iOS/Mac Catalyst
**macOS version running Xcode: Sonoma 14.5

Demo Project

None

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

No branches or pull requests

1 participant