lexical preprocessor issue GooglePlus/GooglePlus.h not found

烈酒焚心 提交于 2020-01-25 23:47:40

问题


1) I am having google-plus-ios-sdk-1.7.1.

2) I have added all frameworks in project's Build_Settings ->Build_Phases.

3) In my Build Settings i kept YES to Always search user paths.

4) Here are the snapshots of that

5) After going through

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

I did Build->Clean and Restarted Xcode, after removing frameworks and added once again but Xcode still giving GooglePlus/GooglePlus.h not found


回答1:


Add this string to the Build Settings->User Header Search Paths

"${SRCROOT}/<--path-->/GooglePlus.framework/Headers"

The path "(SRCROOT)" is required if the google framework located in the sources folder.

E.g. for the my app this path looks like:

"${SRCROOT}/thirdparties/GooglePlus.framework/Headers"


来源:https://stackoverflow.com/questions/31563609/lexical-preprocessor-issue-googleplus-googleplus-h-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!