objective c - Combine static libraries -


i tried approach in question, seems linux version of ar not same mac version since failed combine object files again.

what want is merge static library xcode static library build product via run-script build phase.

unfortunately can't compile other library directly project because has it's own build system (therefore use compiled libs).

i think should possible merge other library via ar xcode generated library without decompiling build product. how accomplish this?

you can use libtool it

libtool -static -o new.a old1.a old2.a 

Comments

Popular posts from this blog

c# - HttpResponseMessage System.InvalidOperationException -

sql - Postgresql error: "failed to find conversion function from unknown to text" -