jdg / MBProgressHUD

MBProgressHUD + Customizations
http://www.bukovinski.com/
MIT License
16.01k stars 3.56k forks source link

Use of undeclared identifier 'M_PI' only on simulator #600

Closed iNima closed 4 years ago

iNima commented 4 years ago

@matej Hi there,

I included the MBProgressHUD .h and .m file to my source code. It builds successfully when I use a real device but it fails when I select an iPhone simulator in Xcode with this error: Use of undeclared identifier 'M_PI' MacOS: 10.14.6 Mojave Xcode: 11.0 Cocoapods: 1.8.4

I also included/imported but it failed again.

iNima commented 4 years ago

It is fixed when I upgraded to Xcode 11.3.1.