ios - dead_strip flag conflicts with another one -


i trying build framework1 in have include 1 (framework2) weak linking. framework2 included, have set in target dead code stripping yes, otherwise duplicate symbols error (at least happened when included framework2 directly project alongside framework1. have combine these 2).

however when setting flag yes different error, saying:

ld: -r , -dead_strip cannot used 

any idea -r flag be, can disable it, or other solution problem?

thank in advance

-r emiited when set mach_o_type = mh_object "relocatable object file`. in case dead code stripping not supported, happens @ later stage.

disable 1 or other resolve this. recommend disabling dead code stripping should done @ final static/dynamic library.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -