Crashlytics dSYM error

天大地大妈咪最大 提交于 2019-12-03 04:54:12
Maxim Pavlov

You need to change "Debug Information Format" option in build settings of your target to "DWARF with dSYM file", located under Build Settings>Build Options>Debug Information Format

Goto build setting of your project then Search for debug information format in build setting then set "Debug information format" to "DWARF with dSYM file"

If you don't need a Fabric in DEBUG mode you can just update a script to run it only on a specific configuration.

if [ "${CONFIGURATION}" = "Release" ]; then "${PODS_ROOT}/Fabric/run" 01c2d02bad8a3dbfd172897e1ea5cf89eb6b2306 7d515291891d5405f6bc1547c327dc3d08688d67f9057c269c25a11dcab83fee fi

"DWARF with dSYM file" makes projects compile slower for DEBUG mode. So just embrace the warning for now :)

Just an update here.

The DWARF with dSYM file flag is needed for crashlytics to log errors. If you're running locally, you probably don't need it to be active. Your project should even build a little faster if this is disabled.

So I would recommend you to only enabled it in case you need to log errors in all your configurations. Otherwise enable it only for those that will be used to generate your releases and live with the warnings (or find another way to disable it).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!