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
@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.4I also included/imported but it failed again.