I am aware of this question being raised, but my concern here is that my application is not going to app store, rather its just for in-house development. I want to create a dynamic library (not static library) for my project. The problem where I am having issues in creating static library is that, I am bundling two unity asset's into two different frameworks, however few contents of such framework is similar, and at the last compile time, I am getting many duplicates. I tried -all_load for other flags, but still no go.
This is how my project is laid out:
Project -> Frameworkone -> UnityAssetone
-> Frameworktwo -> UnityAssettwo
If I compile my project without any of any framework, it compiles fine, however if I put together, I am having issues of duplicate symbols. The concern is that in Unity assets, besides the "Data", there are subsets of the library that are dedicated to particular asset, and is not "Common" to any asset. Therefore, I thought if it would be possible to create dynamic sets of libraries to avoid duplicates, OR if there is any another approach to get rid of such duplicates, will really appreciate to know that.