3

我开始为我的 iOS 项目使用 Firebase 崩溃报告(我已启用 Firebase 并且一切正常,让示例崩溃出现在仪表板上)。

但唯一奇怪的是我在我的 Xcode 控制台(Xcode 8.1)中收到了一堆警告。我们如何摆脱警告?

这是我的警告截图:

在此处输入图像描述

一些警告控制台消息:

warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: in compilation unit '/Volumes/Data/OneDrive/Singpost/App/Version8c/SingPost/Pods/Realm/Realm/ObjectStore/src/impl/collection_change_builder.cpp' (offset 0x100318):
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: the DIE at offset 0x142603 has a DW_AT_specification attribute referring to the die at offset 0x14259e, which either was not marked as a declaration, or comes later in the file
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: the DIE at offset 0x149667 has a DW_AT_specification attribute referring to the die at offset 0x12fb7b, which either was not marked as a declaration, or comes later in the file
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: the DIE at offset 0x149e2d has a DW_AT_specification attribute referring to the die at offset 0x12fbc8, which either was not marked as a declaration, or comes later in the file
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: the DIE at offset 0x14b958 has a DW_AT_specification attribute referring to the die at offset 0x1322de, which either was not marked as a declaration, or comes later in the file
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: the DIE at offset 0x14c766 has a DW_AT_specification attribute referring to the die at offset 0x1323cd, which either was not marked as a declaration, or comes later in the file
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: the DIE at offset 0x14cbdf has a DW_AT_specification attribute referring to the die at offset 0x14b982, which either was not marked as a declaration, or comes later in the file
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: warning: function at offset 0x14cbdf has no name
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: the DIE at offset 0x14cda5 has a DW_AT_specification attribute referring to the die at offset 0x132409, which either was not marked as a declaration, or comes later in the file
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: the DIE at offset 0x1522ed has a DW_AT_specification attribute referring to the die at offset 0x1398bd, which either was not marked as a declaration, or comes later in the file
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: the DIE at offset 0x152bf8 has a DW_AT_specification attribute referring to the die at offset 0x152329, which either was not marked as a declaration, or comes later in the file
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: the DIE at offset 0x152c7c has a DW_AT_specification attribute referring to the die at offset 0x139908, which either was not marked as a declaration, or comes later in the file
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: the DIE at offset 0x154dca has a DW_AT_specification attribute referring to the die at offset 0x13b14a, which either was not marked as a declaration, or comes later in the file
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: the DIE at offset 0x155718 has a DW_AT_specification attribute referring to the die at offset 0x13b726, which either was not marked as a declaration, or comes later in the file
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: the DIE at offset 0x159fb5 has a DW_AT_specification attribute referring to the die at offset 0x143410, which either was not marked as a declaration, or comes later in the file
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: the DIE at offset 0x15a038 has a DW_AT_specification attribute referring to the die at offset 0x14345d, which either was not marked as a declaration, or comes later in the file
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: the DIE at offset 0x15a0bb has a DW_AT_specification attribute referring to the die at offset 0x1453c6, which either was not marked as a declaration, or comes later in the file
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: the DIE at offset 0x15a397 has a DW_AT_specification attribute referring to the die at offset 0x1434aa, which either was not marked as a declaration, or comes later in the file
warning: dump_syms: /Users/victory1908/Library/Developer/Xcode/DerivedData/SingPost-bsyrfyuoahxzibgwthrzgvnckyff/Build/Products/Debug-iphoneos/SingPost.app.dSYM/Contents/Resources/DWARF/SingPost: in compilation unit '/Volumes/Data/OneDrive/Singpost/App/Version8c/SingPost/Pods/Realm/Realm/ObjectStore/src/collection_notifications.cpp' (offset 0x15a565):
4

2 回答 2

0

看看这个线程:

https://github.com/firebase/quickstart-ios/issues/46

TL;DR - 似乎是 Firebase 问题,但对项目没有任何影响。警告仅在存档时显示。他们没有 ETA 来修复它们。

于 2016-12-16T20:57:41.737 回答
0

尝试:构建阶段 --> 运行脚本

单击“仅在安装时运行脚本”

它应该可以解决您的问题。

于 2016-12-24T16:36:40.193 回答