Open jondwillis opened 7 years ago
The compiled framework still doesn't contain bitcode:
/V/H/w/s/out_ios_libs> otool -l WebRTC.framework/WebRTC | grep __LLVM
/V/H/w/s/out_ios_libs>
Please see http://stackoverflow.com/a/33105733/127422
It indeed does contain bitcode :) I am able to use my build of latest WebRTC master with bitcode enabled in my app.
otool -arch armv7 -l WebRTC.framework/WebRTC | grep LLVM
segname __LLVM
segname __LLVM
We should update the README if this gets applied and verified.
Are you getting a 700MB library when compiled bitcode ON ?
@antoniotuzzi Yeah, trying to figure out why.
@jondwillis compiled static is 776MB must be related to the huge number of .obj linked: the bitcode should be doing very strange tricky things with this sizes is impossibile to distribute in an SDK anyway, when compiled in a final product, or intermediate library, size decrease A LOT
@antoniotuzzi I have noted the large framework size in https://bugs.chromium.org/p/webrtc/issues/detail?id=5085&can=2&start=0&num=100&q=&colspec=ID%20Pri%20M%20ReleaseBlock%20Component%20Status%20Owner%20Summary&groupby=&sort=
I will update here if there is an answer.
I don't like bitcode, hard to manage dSYMs for little benefits
Bitcode doesnt change anything on symbolification of crash logs. apples / testflight gives you the correct dsyms if they recompile form source.
./tools-webrtc/ios/build_ios_libs.sh -e
!