标签:
在stackoverflow上找到了解决办法:
Go to the Target > ”Build Settings” tab and find the ”User Header Search Paths” setting.
Set this to ”$(BUILT_PRODUCTS_DIR)” and check the ”Recursive” check box.
Now the built target will search the workspace’s shared build directory to locate the linkable header files.
简单说就是这么几步:
选择Target -> Build Settings 菜单,找到User Header Search Paths设置项
新增一个值"${SRCROOT}",并且选择Recursive,这样xcode就会在项目目录中递归搜索文件
自动补齐功能马上就好使了。
标签:
原文地址:http://www.cnblogs.com/fengmin/p/5631780.html