Marxon13 / M13ProgressSuite

A suite containing many tools to display progress information on iOS.
3.93k stars 529 forks source link

Not compiling on Xcode 13 #136

Open WasiAtFolio3 opened 3 years ago

WasiAtFolio3 commented 3 years ago

When compiling on Xcode 13, there is an error on getting device orientation. screenshot is attached.

Screenshot 2021-09-16 at 5 06 13 PM
Dev- commented 3 years ago

Experiencing the same issue, my Podfile lists version as pod 'M13ProgressSuite', '~> 1.2'

Work around is to allow editing of the M13ProgressViewHUD.m file (bad practice as M13ProgressHUD is a dependency) obvs solution is an RC for this repo.

Then replace [notification.object orientation]; with [[UIDevice currentDevice] orientation];

rogerioth commented 3 years ago

Added the fix into a fork of this project - available by using: pod 'M13ProgressSuite', :git => 'https://github.com/rogerioth/M13ProgressSuite.git'