“GooglePlus/GooglePlus.h file not found” when trying to build my project

前端 未结 7 714
误落风尘
误落风尘 2020-12-11 03:27

I get the error

GooglePlus/GooglePlus.h file not found

when I try to build the project. I just add

7条回答
  •  渐次进展
    2020-12-11 04:03

    I had the same problem, under "Build Settings > Search Path > Framework Search Paths" i had

    $(inherited)          non-recursive
    $(PROJECT_DIR)/My     non-recursive
    Project/Frameworks    non-recursive
    

    i think spaces are breaking the directory path changing it to $(PROJECT_DIR)/"My Project"/Frameworks solved my problem..

    Take note that My Project is my project name, Frameworks is where my GooglePlus.bundle & .framework, in case yours contains spaces, adding quotation marks corrects it.. for example: $(PROJECT_DIR)/"My Project"/"Google Frameworks".

提交回复
热议问题