注册

cocoaPods导入sdk, 超级多warnings, 不能忍

自从导入了sdk,项目里满满地都是warnings,希望能改掉这些warings,求助求助求助。
Xcode版本7.2,cocoaPods导入的sdk为最新版本。
 
不要跟我说这些警告没关系的,不影响!!!
已邀请:
看看你运行崩溃不,运行不崩溃就没有问题
以下是网上找到的方法,测试有用,给遇到相同问题的小伙伴做参考。
 问题:使用XCode7链接第三方库提示warning
Lots of warnings when building with Xcode 7 with 3rd party libraries
warning: Could not resolve external type c:objc(cs)NSString
warning: Could not resolve external type c:objc(cs)NSDictionary
warning: Could not resolve external type c:objc(cs)NSMutableString
warning: Could not resolve external type c:objc(cs)NSError
https://forums.developer.apple.com/thread/17921
目前没发现好的解决办法,可以尝试如下:
I had this problem too. Here's how I fixed it.
1) Go to Build Settings -> Build Options -> Debug Information Format
2) Change the Debug setting from "DWARF with dSYM File" to "DWARF"
3) Leave the Release setting at "DWARF with dSYM File"
The problem appears to be that Xcode was trying to create dSYM files for Debug builds. You don't need dSYM files for Debug builds -- it's release builds where you need them.

要回复问题请先登录注册