How to build AppRTCMobile iOS with debug symbols in webrtc

647 views
Skip to first unread message

vitaliy....@quickblox.com

unread,
Nov 25, 2017, 4:03:36 AM11/25/17
to discuss-webrtc
Hi.

Currently building AppRTCMobile iOS using xcode by this guide https://webrtc.org/native-code/ios/
It is building webrtc as framework which is leading to no symbols being visible in instruments for webrtc framework. I haven't found an option to use webrtc as static lib in sample.
is_debug is true in gn args for sample, but it seems like it does not affect webrtc framework itself.
Tried to use dsyms, but instruments won't accept them, saying that they are not for the correct bundle (tried to import webrtc framework dsym in symbols menu in instruments for webrtc binary).

I think that dsyms (probably?) the only way to get symbols there, but I don't know how to get the correct ones.

kthel...@webrtc.org

unread,
Nov 27, 2017, 3:32:16 AM11/27/17
to discuss-webrtc
Hi Vitaly.

Please make sure you're supplying the `enable_dsyms=true` flag to gn. Also, when importing the symbols in instruments, first make sure you have set the binary path correctly before trying to add the dSYMs.

Hope this helps!

vitaliy....@quickblox.com

unread,
Nov 27, 2017, 6:29:32 AM11/27/17
to discuss-webrtc
Thanks, that did help!
Reply all
Reply to author
Forward
0 new messages