[英]Veracode, Debug Symbols, and XCode
I'm attempting to have an iOS application scanned by Veracode: an application security platform. 我正在尝试通过Veracode扫描iOS应用程序:一个应用程序安全平台。 In order for them to scan an .IPA, the .IPA needs to contain debug symbols.
为了使它们扫描.IPA,.IPA需要包含调试符号。
For the Archive build-configuration and project/target being used, I've specified: 对于正在使用的Archive构建配置和项目/目标,我已指定:
Yet, Veracode still gives me the following error when submitting the .IPA: 然而,在提交.IPA时,Veracode仍然给我以下错误:
Primary Files Compiled without Debug Symbols - 1 File 没有调试符号编译的主文件 - 1个文件
Is there another step I need to take to create debug symbols, perhaps wrt archiving? 我需要采取另一个步骤来创建调试符号,或许是存档吗?
I had the same issue. 我遇到过同样的问题。 I was able to resolve it by following the veracode instructions below.
我可以按照下面的veracode说明解决它。 It basically tells you to manually create archive package, move the .app and .app.sym folders to a new location and then rename the zip file to an ipa.
它基本上告诉您手动创建存档包,将.app和.app.sym文件夹移动到新位置,然后将zip文件重命名为ipa。
From Veracode Help Center: 从Veracode帮助中心:
"Because Xcode does not create .IPA packages that contain DSYM information, you must create the package yourself. Xcode dynamically creates a folder to contain the .app and .app.dsym files. There is no definite path to this folder, but you can search the folder after you build your application. To do this, open Xcode and click Products on the left side of the window. Right-click the .app file, and select Reveal in Finder, which takes you to the folder where the .app and .app.dsym files are located. Once you have located the DSYM information, you can package your compiled iOS application as follows: “因为Xcode不会创建包含DSYM信息的.IPA包,所以必须自己创建包.Xcode会动态创建一个包含.app和.app.dsym文件的文件夹。这个文件夹没有明确的路径,但你可以在构建应用程序后搜索文件夹。为此,打开Xcode并单击窗口左侧的Products。右键单击.app文件,然后选择Finder中的Reveal,它将带您进入.app文件夹。找到.app.dsym文件。找到DSYM信息后,您可以按如下方式打包已编译的iOS应用程序:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.