ios Xcode - 没有可供下载的 dSYM

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/35159244/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 08:24:41  来源:igfitidea点击:

Xcode - There are no dSYMs available for download

iosxcodexcode7dsym

提问by Felipe Pe?a

I want to extract the dSYM file from but when I click on "Download dSYMs..."in the OrganizerI get the follow message: "There are no dSYMs available for download.".

我想从中提取的dSYM文件,但是当我点击“下载dSYMs ......”组织者,我得到了如下信息:“有可供下载没有dSYMs。”

I'm using Xcode 7.2 with a workspace generated by Cocoapods 0.39.

我将 Xcode 7.2 与 Cocoapods 0.39 生成的工作区一起使用。

How can I get them?

我怎样才能得到它们?

enter image description here

在此处输入图片说明

回答by Ted

NON-BITCODE

非位码

Here's a GIF on how to get DSYMS, compress and upload to crashlytics/fabric

这是一个关于如何获取 DSYMS、压缩和上传到 crashlytics/fabric 的 GIF

enter image description here

在此处输入图片说明

  1. Press Window > Organizer
  2. Right-click on your app> Show in Finder
  3. Right-click on first .xcarchive file > Show package contents
  1. 按窗口 > 管理器
  2. 右键单击您的应用 > 在 Finder 中显示
  3. 右键单击第一个 .xcarchive 文件 > 显示包内容


BITCODE ENABLED

启用位码

You'll need to download dsyms from appStore connect. The easiest would be to use fastlane

您需要从 appStore connect 下载 dsyms。最简单的方法是使用fastlane

lane :refresh_dsyms do
    download_dsyms                  # Download dSYM files from iTC
    upload_symbols_to_crashlytics   # Upload them to Crashlytics
    clean_build_artifacts           # Delete the local dSYM files
end

回答by Lane Rettig

I think @Jordan is correct--it seems that iTunes Connect is recompiling apps with bitcode so that the UUID changes, and the dSYM inside the .xcarchive can't actually be used to symbolicate the app (this appears to be a new development).

我认为@Jordan 是正确的——似乎 iTunes Connect 正在使用 bitcode 重新编译应用程序,以便 UUID 更改,并且 .xcarchive 中的 dSYM 实际上不能用于符号化应用程序(这似乎是一个新的开发) .

You can download the correct dSYM from iTunes Connect. Login, go to My Apps, select your app, then tap on the Activity tab at the top. Tap on the relevant build, and, assuming the app was submitted with symbols in the first place, you should see the option to "Download dSYM."

您可以从 iTunes Connect 下载正确的 dSYM。登录,转到我的应用程序,选择您的应用程序,然后点击顶部的活动选项卡。点击相关版本,假设应用程序首先提交时带有符号,您应该会看到“下载 dSYM”选项。

The file you get is called dSYMs (without an extension) but it is in fact a zip file. Add the .zip extension, unzip, and you'll find your dSYM(s) inside.

你得到的文件叫做 dSYMs(没有扩展名),但它实际上是一个 zip 文件。添加 .zip 扩展名,解压,你会在里面找到你的 dSYM(s)。

(I needed to do this this week since Crashlytics was complaining about a missing dSYM.)

(由于 Crashlytics 抱怨缺少 dSYM,因此我需要在本周执行此操作。)

回答by Joeytat

Actually you can't download dSYM file from iTunesConnect now. There is another way to get that file.

实际上,您现在无法从 iTunesConnect 下载 dSYM 文件。还有另一种获取该文件的方法。

Xcode -> Window -> Organizer -> Show xcarchive file in Finder -> Right Click Your xcarchive file -> Select "Show Package Contents"

Xcode -> 窗口 -> 管理器 -> 在 Finder 中显示 xcarchive 文件 -> 右键单击​​您的 xcarchive 文件 -> 选择“显示包内容”

You can see your dSYM file now.

您现在可以看到您的 dSYM 文件。

回答by Hymansonkr

bitcode must be enabled

必须启用位码

if you want to get your dSYMfrom iTunesConnect

如果您想dSYM从 iTunesConnect 获取

  • Build Settings > Build Options > Enable Bitcode> YES
  • Select device "Generic iOS Device" (or anything that works)
  • Archive
  • 构建设置 > 构建选项 > Enable Bitcode>
  • 选择设备“通用 iOS 设备”(或任何可用的设备
  • Archive

When exporting from archive

从存档导出时

  • CHECK"include app symbols for your application to receive symbolicated crash logs from Apple"
  • CHECK"include bitcode"
  • 检查为您的应用程序包含应用程序符号以接收来自 Apple 的符号化崩溃日志
  • 检查包括位码

Upload using Application Loader

使用应用程序加载器上传

Once your app has been successfullyuploaded to iTunesConnect you can go to iTunesConnect.com > MyApps > [YOUR APP] > Activity > All Builds > [YOUR BUILD] > General Information > Includes Symbols > Download dSYM

一旦您的应用程序成功上传到 iTunesConnect,您可以前往 iTunesConnect.com > MyApps > [YOUR APP] > Activity > All Builds > [YOUR BUILD] > General Information > Includes Symbols > Download dSYM

#xcode8.2.1 #osx10.12.6

#xcode8.2.1 #osx10.12.6

回答by Davide

I've found a solution from https://twittercommunity.com/t/not-matching-uuid-bitcode/61000/2

我从https://twittercommunity.com/t/not-matching-uuid-bitcode/61000/2找到了一个解决方案

"Crashlytics was reporting missing dSYMs with UUID looking like this: 83889b11dedd363c8e5ee56233bcc90c. As I said, I followed the guide7 but I couldn't find that UUID. So I went in the iTunesConnect and I did the following:

“Crashlytics 报告丢失了 UUID 的 dSYM,如下所示:83889b11dedd363c8e5ee56233bcc90c。正如我所说,我遵循了指南 7,但我找不到那个 UUID。所以我进入了 iTunesConnect,并执行了以下操作:

  • Select the app
  • Choose the Activity tab on top
  • Select the build version Crashlytics is complaining about
  • Click the Download dSYM blue link
  • 选择应用
  • 选择顶部的活动选项卡
  • 选择 Crashlytics 抱怨的构建版本
  • 单击下载 dSYM 蓝色链接

The downloaded file is called dSYM has no extension but it is actually a zip. So I added the zip extension and unzipped it. Inside the unzipped folder I found many dSYM files, one on which has called 83889B11-DEDD-363C-8E5E-E56233BCC90C.dSYM which matched the UUID Crashlytics was reporting as missing (even if formatted in a different way). Note also that this file is not inside the xcarchive.

下载的文件名为 dSYM,没有扩展名,但它实际上是一个 zip。所以我添加了 zip 扩展名并解压了它。在解压后的文件夹中,我发现了许多 dSYM 文件,其中一个名为 83889B11-DEDD-363C-8E5E-E56233BCC90C.dSYM 与 UUID 匹配的 Crashlytics 报告为丢失(即使格式不同)。另请注意,此文件不在 xcarchive 中。

Hope it can help!"

希望能帮上忙!”

in my case, it works like charms

就我而言,它就像魅力一样

回答by daisura99

In my case, I could not find a dSYM file of my app in the Archives folder. If you face this, go to your Project Build Settings> Build Options> Debug Information Formatand make sure it is set to DWARF with dSYM file

就我而言,我在 Archives 文件夹中找不到我的应用程序的 dSYM 文件。如果您遇到这种情况,请转到您的项目构建设置>构建选项>调试信息格式,并确保将其设置为带有 dSYM 文件的 DWARF

回答by smukamuka

If dSYMs folder in package contents is empty(Ted's answer), try to check:

如果包内容中的 dSYMs 文件夹为空(Ted 的回答),请尝试检查:

  • Build Settings > Build Options > Enable Bitcodeis set to YES(Hymansonkr's answer)
  • Build Settings > Build Options > Debug Information Formatis set to DWARF with dSYM file(daisura99's answer)
  • Build Settings > Build Options > Enable Bitcode设置为YES(Hymansonkr 的回答)
  • Build Settings > Build Options > Debug Information Format设置为DWARF with dSYM file(daisura99's answer)

Please check them both.

请检查它们。

Then in show package contents -> dSYMs folder, this time, you should find something.

然后在 show package contents -> dSYMs 文件夹,这一次,你应该找到一些东西。

In my case, it worked.

就我而言,它奏效了。