MBProgressHud.h file not found

I have download MBProgressHUD.m and MBProgressHUD.h file from github and

Placed under a folder Classes->MBprogressHub->then both files

Now i have include this file under Share Extension

import "MBProgressHUD.h".

When i an trying to build an app. it is giving me an error. MBProgressHUD.h not found.

any idea how to resolve this.

I am using ionic framwork and new to ios and mac.

Error ScreenShot

enter image description here

Thanks

Do following step my be it will solve problem

  • Go to finder/Library/Xcode
  • delete DerivedData that folder
  • Clean your project
  • build it again

If still error is there once close your Xcode and reopen it.

I have same problem with MBProgress hud I have solved as above step.

Do as suggested by Pravin Tate.

If problem not solved, In addition :

Set the target membership for the MBProgressHUD with the BiblioHiveShare

enter image description here

You will found target membership in MBProgressHUD files

Remove the files from your project.

When you add it back then you will find this window.

enter image description here

Select the targets

If you added new target manually then you can change target from File inspector at right panel

enter image description here

Hope it will help you.

use cocoapods for handling 3rd party in your application. see this site for more information :- https://cocoapods.org