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
-
ld: library not found for -lMBProgressHUD
clang: error: linker command failed with exit code 1 (use -v to see invocation)
在路径中删去类似-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" 文件 就行了