jdg / MBProgressHUD

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

MBProgressHud File Not Found when included in an Obj-c file header that's included in a bridging header #542

Closed zackshapiro closed 6 years ago

zackshapiro commented 6 years ago

I found a bug that I'm kind of stumped by. Wondering if anyone else experienced this.

I include MBProgressHUD in my ViewController.h. Presumably I'll use it in ViewController.m somewhere.

I also want to include ViewController.h in my bridging header so that I can write a Swift extension.

However, when I build and run, I get an error:

'MBProgressHUD.h' file not found


I've recreated the error in this project: https://github.com/zackshapiro/PodTest

Any help would be appreciated. Thanks!

zackshapiro commented 6 years ago

Figured it out. You have to do #import <MBProgressHud/MBProgressHud.h> to avoid the error

04192202 commented 1 year ago

It is not working, now. Anybody has the same bug as me? Help!!!