I released an App say 1.0 . Now , I am shipping a huge update say 2.0. But in 2.0 , I want to ship a framework of 1.0 , so that end users can fallback in case of any catastrophic issue in 2.0.
Now my 1.0 uses a dynamic framework(say version 1.5) and few static libs(say version 1.5)
Now my 2.0 app uses same libs and frameworks but different versions of them i.e. dynamic framework(say version 1.8) and static libs(say version 1.8)
So my app running is 2.0 , here is what I want
- When 2.0 is running and 1.0 framework is NOT running , it should use dynamic framework(version 1.8) and static libs(version 1.8)
- When 2.0 is running and 1.0 framework is running , it should use dynamic framework(version 1.5) and static libs(version 1.5)
Here is what I have done so far:
Dynamic Framework of 1.0 is compiled and dynamic framework(version 1.5) and static libs(1.5) are not embedded into the framework But when I integrate it in my container app(2.0) , My container app behaviour corresponding to these(dynamic framework and static libs) start throwing exceptions . If I remove the 1.0 framework then app behaves fine. So most probably linking issue
Any guidance to achieve this would be highly appreciated!