Search code examples
iosobjective-cxcodeionic-framework

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


Solution

  • 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.