1.編譯警告 treating unicode character as whitespace
可能是兩行之間回車導(dǎo)致的問題,重新回車就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的設(shè)置改為NO,默認(rèn)YES
3.數(shù)組初始化有問題
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上管理時 然后克隆下來 再打開工程可能會出現(xiàn)上面的問題解決辦法: 在 Build Phase 下的 Link Binary With Libraries 中刪除 "libPods.a" 文件 就行了