使用XCode7链接第三方库dSYM 提示warning

来源:互联网 发布:c语言float的取值范围 编辑:程序博客网 时间:2024/06/10 08:51
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. 
0 0
原创粉丝点击