记录遇到的问题

1.编译警告 treating unicode character as whitespace
可能是两行之间回车导致的问题,重新回车就ok了。
2.消除documentation issue中的第三方注释文档不匹配造成的警告,如/Users/XXX/Documents/git/Project/Others/AlipaySDK.framework/Headers/AlipaySDK.h:50:12: Parameter 'compltionBlock' not found in the function declaration
Building Setting中搜索warnings-All languages中将Documentation Comments的设置改为NO,默认YES

3.数组初始化有问题
invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.
libc++abi.dylib: terminate_handler unexpectedly threw an exception

  1. ld: library not found for -lMBProgressHUD
    clang: error: linker command failed with exit code 1 (use -v to see invocation)


    WechatIMG273.jpeg
WechatIMG274.jpeg

在路径中删去类似-lMBProgressHUD即可

4.错误 ld: library not found for -lPods

ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to see invocation)在将工程放到git上管理时 然后克隆下来 再打开工程可能会出现上面的问题解决办法: 在 Build Phase 下的 Link Binary With Libraries 中删除 "libPods.a" 文件 就行了

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容