How to create Android like source set using XCode?

I have set of 1000+ source files. I would like to use this set in two of my targets which has additional features of their own.

I cannot create framework out of these 1000+ source files because of security reasons. Some 3rd party can directly use by framework in their app.

I cannot use static library out of these 1000+ soutce files as it includes nibs as well.

Android provides something called as 'Source Sets' which just packages these source files. I Xcode, I can create targets which references Bundles. Is there any solution for this?


Thanks.


Deepa

Why don't you just have a static library that contains only the code, and then include the nibs separately?

A framework is the right tool for this need. What is your security concern over using a framework?

I need to include entire app features including UI in this framework. Some other 3rd party developer can extract and embed this framework in their app and distribute. This is the security concern that I a, having.


The reason for making entire app as framework is that:

We need to distribute our application via different vendor channels. We keep adding some new vendor channels and some we might remove. We need to integrate different source/nib files for each vendor channel and hence we need to create different targets for each channel. Whenever I create new target, I need to manually search and add application related source files and nib files to this new target (I cannot create duplicate of existing target which has some set of source/nib files specific to that target).

When there are huge set of source/nib files, manual work would be impossible. So, I would lile to check if there is any solution which I might be missing.


Thank you.

Deepa

How to create Android like source set using XCode?
 
 
Q