1

I have a custom built WebKit.framework and WebCore.framework (a forked version of Apple's Webkit and WebCore). WebKit has a dependency on WebCore. WebCore is currently 30 MB which is too big.

I know I am not using all of WebCore, so I was thinking that if I could statically link WebCore into WebKit to strip all the unused code out of WebCore to shrink WebCore.

So can I statically link a framework into another framework? WebCore is not a static lib currently.

Is this possible? and how?

Thanks in Advance

Michael Wildermuth
  • 5,762
  • 3
  • 29
  • 48

1 Answers1

0

you can't link frameworks/libs together. you can combine multiple static libs into one .a (see: How to combine several C/C++ libraries into one?), but that's not really of any use to you.

Community
  • 1
  • 1
Mike K
  • 2,227
  • 1
  • 12
  • 6