Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to avoid "skipping copy phase strip" warning (because "binary is code signed”) without setting "strip debug symbols during copy" to NO?

When performing an archive build with "strip debug symbols during copy" set to YES, I get the warning "skipping copy phase strip, binary is code signed". The generally suggested solution on threads regarding this issue is to set "strip debug symbols during copy" to NO. Sure that get's rid of the warning, but I don't think the approach to remove the "low oil warning light" will solve the underlying issue.

It seems the size of the binary can get bloated when this option is set to NO. And also why would you want to ship debug symbols with your app?

I would appreciate tips, insights and optimally a solution.

like image 920
JensD Avatar asked Apr 12 '15 23:04

JensD


1 Answers

You can't. Xcode doesn't detect that the code signed framework is already stripped. The warning is harmless.

like image 186
Monstieur Avatar answered Sep 20 '22 08:09

Monstieur