简体   繁体   English

隐藏Xcode dsymutil关于缺少架构信息的警告

[英]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.

相关问题 Dsymutil警告“可执行文件中没有调试符号” - Dsymutil warning “no debug symbols in executable” Xcode-缺少体系结构(库链接) - Xcode - Missing Architecture (library linking) 使Xcode抱怨缺少参数 - Making Xcode complain about a missing parameter xcode验证错误:应用程序可执行文件缺少必需的体系结构 - xcode validation error : application executable is missing a required architecture 在Xcode 3.2.5中的项目信息/构建选项卡中缺少GCC 4.2选项 - Missing GCC 4.2 options in Project Info / Build tab in Xcode 3.2.5 XCode 4上的缺少文件,显示警告文件://localhost/…/WaveView.h:警告:工作副本中缺少文件:/…/WaveView.h - Missing file on XCode 4 showing the warning file://localhost/…/WaveView.h: warning: Missing file: /…/WaveView.h is missing from working copy Xcode 错误 - 警告:所有应用程序都应包含 armv7 架构(当前 ARCHS =“”) - Error on Xcode - Warning: all apps should include an armv7 architecture (current ARCHS = "") xCode iOS Dev - Apple Mach-O链接器错误// Dsymutil错误 - xCode iOS Dev - Apple Mach-O Linker Error // Dsymutil Error ld:警告:忽略文件[path],在文件中缺少必需的体系结构i386 - ld: warning: ignoring file [path], missing required architecture i386 in file Xcode警告:应用程序可执行文件包含不受支持的体系结构:arm,arm(-19031) - Xcode warning: application executable contains unsupported architecture(s):arm, arm (-19031)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM