I am making a dynamic framework that requires some c++ libraries from Card IO.
My problem is that because of bitcode, my framework size is too large (more than 150mb) which I think that 3 c++ libraries from Card IO take most.
So I wanted to leave that 3 files to client side (client will need to include them instead of me doing that with my framework) which using my framework => framework size should be reduced some how.
Here is my structure at the moment:
Client Project
-My framework (dynamic)
--Card IO headers
--Card IO c++ libraries (.a) THIS ONE I DON'T WANT TO HAVE HERE (static c++)
-Client code
I tried to weak link with -weak_link the 3 c++ static libraries inside my framework in Other Linker Flags but it failed because Bitcode and weak link are not compatible.
I tried to move the folder of Card IO to client project which it cannot be found (I added path for all like Library Search Path, Framework Search Path... everything)
At this moment, I have no idea how I can do this because I came across a framework from Masterpass that they can leave c++ outside of their framework (client app will need to download and integrate) and also enable Bitcode.
My GOAL: - My framework does not need to include 3 static libraries when building and exporting as .framework - Client project will need to download and include 3 static libraries if they want to use that functionality.
It will be great if someone gives me a hand.
Thanks for reading.