Size of static libraries generated by XCode

Posted by shaft80 on Stack Overflow See other posts from Stack Overflow or by shaft80
Published on 2010-04-24T18:06:32Z Indexed on 2010/04/24 18:13 UTC
Read the original article Hit count: 520

I have a project tree in XCode that looks like this: AppProject depends on ObjcWrapper that in turn depends on PureCppLib. ObjcWrapper and PureCppLib are static library projects. Combined, all sources barely reach 15k lines of code, and, as expected, the size of resulting binary is about 750Kb in release mode and slightly over 1Mb in debug mode. So far, so good.

However, ObjcWraper.a and PureCppLib.a are over 6Mb each in either mode. So the first question is why it is so. But more importantly, how can I ensure that those static libs do not include parts or all of the source code?

Thanks in advance!

© Stack Overflow or respective owner

Related posts about xcode

Related posts about iphone