cocoapod .h file not found

用git签出项目之后,发现不能运行,在stackoverflow找到了答案。
在HEADER_SEARCH_PATHS加上$(inherited)

I've updated this since my original answer, that got the downvote, so I hope this helps. And if it does, hopefully it will get my vote back.

If the headers aren't being imported, you probably have a conflict in the HEADER_SEARCH_PATHS. Try and add $(inherited) to the header search paths in your Build Settings to make sure that it pulls in any search paths included in the .xcconfig file from your CocoaPods.

This should help with any conflicts and get your source imported correctly.

猜你喜欢

转载自lizhuang.iteye.com/blog/1926605