[英]Hide Xcode dsymutil warning about missing architecture info
I have an iOS app that is to be linked with several 3rd party prebuilt static libraries. 我有一个iOS应用程序,它将与几个第三方预建的静态库链接。 Those static libraries have had their debug info stripped and apparently lost their architecture information as well.
那些静态库已经剥离了调试信息,并且显然也丢失了它们的架构信息。 When building the app (simulator in this case) I receive lots of warnings like this :
在构建应用程序(在这种情况下是模拟器)时,我会收到很多这样的警告:
/Developer/usr/bin/dsymutil
warning: (i386) 'libtest.a(test.o)' doesn't contain architecture information for i386.
Is there any way to tell dsymutil to shut up about this? 有没有办法告诉dsymutil关闭这个? The app compiles and runs just fine but all those warnings are quite ugly and I would like to get rid of them.
该应用程序编译并运行得很好,但所有这些警告都非常难看,我想摆脱它们。 Any suggestions ?
有什么建议 ?
I too was facing the same issue. 我也面临同样的问题。 After searching a lot what I found is
经过大量搜索我发现了什么
Changing Build Settings -> Debug Information Format value from "DWARF with dSYM File" to DWARF fixes the problem and hides the warnings. 将构建设置 - > 调试信息格式值从“带有dSYM文件的 DWARF ”更改为DWARF可以解决问题并隐藏警告。
将项目中的体系结构更改为仅包含armv7,而不是默认值。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.