1.Explicit call to xxxxx results in duplicate call to xxxxx(方法被重復(fù)調(diào)用)
方法名重復(fù)了,檢查一下是不是跟原生SDK的方法命名一樣
2.Assigning to ‘id<xxxxDelegate>’ from incompatible type ‘xxxxViewController *const __strong’
給xxxxViewController添加xxxxDelegate代理
@interface xxxxViewController : UIViewController<xxxxDelegate>
3.code will never be executed
代碼不會(huì)執(zhí)行
4.Implicit conversion loses integer precision: 'unsigned long' to 'CC_LONG' (aka 'unsigned int')
CC_MD5(str,strlen(str), r);讥邻,改成了CC_MD5(str,(CC_LONG)strlen(str), r);即可。
5.Incompatible pointer to integer conversion sending 'void *' to parameter of type 'NSStringEncoding' (aka 'unsigned long')
參數(shù)傳遞時(shí)轉(zhuǎn)換錯(cuò)誤赘艳,把傳入NSStringEncoding的nil值改為0
6.The image set "xxxx" has an unassigned child.
刪除Images.xcassets里邊叫“xxxx”的多余圖片
7.The Copy Bundle Resources build phase contains this target's Info.plist file
刪除Build phases->Copy bundle Resources->info.plist->選中然后刪除
8.Directory not found for option '-L/路徑/xxxxSDK'
這種提示摊求,通常是由于添加了第三方SDK,但是后來改了個(gè)名字或者去掉了SDK
刪除Build Settings-->Search Paths-->Library Search Paths 和Framework Search Paths中警告的路徑
iOS之"performSelector may cause a leak because its selector is unknown"警告原因及其解決辦法
怎么去掉Xcode工程中的某種類型的警告 Implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int32
集成支付寶報(bào)一堆warning: (arm64) /Users/scmbuild/workspace/standard-pay/.....警告問題解決辦法親測可行埠帕!