今天加入SVProgressHUD的第三方库的时候报了24个错误( too many errors emitted, stopping now),都是 expected identifier or '(' ,unknown type name 'NSString',could not build module 'Foundation',could not build module 'UIKit'. 解决方法: 在所在项目pch文件中,把自己所#import的头文件做如下操作 #ifdef __O…
使用了一段时间CocoaPods来管理Objective-c的类库,方便了不少.但是有一个小问题,当我在xcode输入import关键字的时候,没有自动联想补齐代码的功能,需要手工敲全了文件名,难以适应. 在stackoverflow上找到了解决办法: Go to the Target > ”Build Settings” tab and find the ”User Header Search Paths” setting. Set this to ”$(BUILT_PRODUCTS_DIR)…
使用了一段时间CocoaPods来管理Objective-c的类库,方便了不少.但是有一个小问题,当我在xcode输入import关键字的时候,没有自动联想补齐代码的功能,需要手工敲全了文件名,难以适应. 在stackoverflow上找到了解决办法: Go to the Target > ”Build Settings” tab and find the ”User Header Search Paths” setting. Set this to ”$(BUILT_PRODUCTS_DIR)…
使用了一段时间CocoaPods来管理Objective-c的类库,方便了不少.但是有一个小问题,当我在xcode输入import关键字的时候,没有自动联想补齐代码的功能,需要手工敲全了文件名,难以适应. 在stackoverflow上找到了解决办法: Go to the Target > \”Build Settings\” tab and find the \”User Header Search Paths\” setting. Set this to \”$(BUILT_PRODUCTS…
错误提示: error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed 导致原因: curl的postBuffer默认值太小,需要在终端重新配置这个值 解决方案: 1.将curl的postBuffer值配置为500M,具体值看项目…
xcode中的第三方库配置总结 在导入第三方库的时候,总是会遇到许多的问题.在这里,我记录一下学到的一些知识点.写得比较乱.只要是想要记录下来,在第三方库导入的时候,遇到的一些问题. 参考网址: http://www.entlib.net/?p=1645(xcode应用程序编译阶段分析) http://www.cnblogs.com/robinkey/archive/2013/05/27/3101095.html(xcode中 other link flags介绍) http://blog.c…