在引入第三方库后,出现这个警告
while processing /Users/.../Pods/libWeChatSDK/libWeChatSDK.a(WeChatRegister.o):
warning: /Users/yuetongmai/Library/Developer/Xcode/DerivedData/WeChatSDK-dxxshmzcbrssjsfhojftiecovviv/Build/Intermediates/PrecompiledHeaders/WeChatSDK-Prefix-hcolxgxtprjnneanopoelztuskxm/WeChatSDK-Prefix.pch.pch: No such file or directory
while processing /Users/.../Pods/libWeChatSDK/libWeChatSDK.a(WeChatRegister.o):
warning: /Users/yuetongmai/Library/Developer/Xcode/DerivedData/WeChatSDK-dxxshmzcbrssjsfhojftiecovviv/Build/Intermediates/PrecompiledHeaders/WeChatSDK-Prefix-hcolxgxtprjnneanopoelztuskxm/WeChatSDK-Prefix.pch.pch: No object file for requested architecture
while processing /Users/.../Pods/libWeChatSDK/libWeChatSDK.a(WeChatRegister.o):
warning: Could not resolve external type c:objc(cs)NSObject
while processing /Users/.../Pods/libWeChatSDK/libWeChatSDK.a(WeChatRegister.o):
warning: Could not resolve external type c:objc(cs)NSString
while processing /Users/.../Pods/libWeChatSDK/libWeChatSDK.a(WeChatRegister.o):
warning: Could not resolve external type c:objc(cs)NSDictionary
while processing /Users/.../Pods/libWeChatSDK/libWeChatSDK.a(WeChatRegister.o):
warning: Could not resolve external type c:objc(cs)NSNotificationCenter
while processing /Users/.../Pods/libWeChatSDK/libWeChatSDK.a(WeChatRegister.o):
warning: Could not resolve external type c:objc(cs)UIPasteboard
while processing /Users/.../Pods/libWeChatSDK/libWeChatSDK.a(WeChatRegister.o):
warning: Could not resolve external type c:objc(cs)NSData
while processing /Users/.../Pods/libWeChatSDK/libWeChatSDK.a(WeChatRegister.o):
warning: Could not resolve external type c:objc(cs)NSArray
while processing /Users/...Pods/libWeChatSDK/libWeChatSDK.a(WeChatRegister.o):
warning: Could not resolve external type c:objc(cs)NSBundle
while processing /Users/.../Pods/libWeChatSDK/libWeChatSDK.a(WeChatRegister.o):
warning: Could not resolve external type c:objc(cs)NSMutableDictionary
while processing /Users/.../Pods/libWeChatSDK/libWeChatSDK.a(WapAuthHandler.o):
warning: /Users/yuetongmai/Library/Developer/Xcode/DerivedData/WeChatSDK-dxxshmzcbrssjsfhojftiecovviv/Build/Intermediates/PrecompiledHeaders/WeChatSDK-Prefix-hcolxgxtprjnneanopoelztuskxm/WeChatSDK-Prefix.pch.pch: No such file or directory
while processing /Users/.../Pods/libWeChatSDK/libWeChatSDK.a(WapAuthHandler.o):
warning: /Users/yuetongmai/Library/Developer/Xcode/DerivedData/WeChatSDK-dxxshmzcbrssjsfhojftiecovviv/Build/Intermediates/PrecompiledHeaders/WeChatSDK-Prefix-hcolxgxtprjnneanopoelztuskxm/WeChatSDK-Prefix.pch.pch: No object file for requested architecture
while processing /Users/.../Pods/libWeChatSDK/libWeChatSDK.a(WapAuthHandler.o):
warning: Could not resolve external type c:objc(cs)NSObject
while processing /Users/.../Pods/libWeChatSDK/libWeChatSDK.a(WapAuthHandler.o):
warning: Could not resolve external type c:objc(cs)UIViewController
while processing /Users/.../Pods/libWeChatSDK/libWeChatSDK.a(WapAuthHandler.o):
warning: Could not resolve external type c:objc(cs)UIWebView
while processing /Users/.../Pods/libWeChatSDK/libWeChatSDK.a(WapAuthHandler.o):
warning: Could not resolve external type c:objc(cs)NSString
解决方法:
the option to set "Debug Information Format" to "DWARF", rather than "DWARF with dSYM" is not a viable alternative, since it prevents the capture of crash reports by Crashlytics, HockeyApp, etc.