mrackwitz / MRProgress

Collection of iOS drop-in components to visualize progress
MIT License
2.55k stars 306 forks source link

Compile error under Xcode 15: "Multiple methods named 'setProgress:' found with mismatched result, parameter type or attributes" #143

Open Drarok opened 5 months ago

Drarok commented 5 months ago

In Xcode 15.0 and 15.1, there is a compilation error at MRProgressOverlayView.m:811:

        [((id)self.modeView) setProgress:self.progress];

Multiple methods named 'setProgress:' found with mismatched result, parameter type or attributes

There is no issue in Xcode 14.3.1.

silentwind1234 commented 5 months ago

Hi I had the same problem I adjusted this line to be

[((id)self.modeView) setProgress:self.progress animated:animated];

The App compiled and worked