dSYM file when Archiving is missing debug info

ⅰ亾dé卋堺 提交于 2021-01-27 10:41:17

问题


I have a workspace with two project files in it. One contains my app code (APP), the other builds a static library (Pods) that is linked into the APP project.

The dSYM being generated when selecting Product->Archive contains only the debug info for the APP project. If I build by selecting Product->Build For->Archiving/ Xcode generates a dSYM that contains all required debug info.

According to the following answer this was a bug in Xcode and is now fixed in version >=4.6.

https://stackoverflow.com/a/15368776/215748

I am using Xcode Version 4.6.2 (4H1003) and still have this problem.

Is this really a bug in Xcode or is there a build setting that is causing this?

I have looked into COPY_PHASE_STRIP, STRIP_INSTALLED_PRODUCT, GCC_SYMBOLS_PRIVATE_EXTERN and GCC_INLINES_ARE_PRIVATE_EXTERN already, which have no effect.

来源:https://stackoverflow.com/questions/16692923/dsym-file-when-archiving-is-missing-debug-info

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