Reputation: 4229
Here is my scenario: I have app A in Xcode project X. I will create framework F to use in app A. I could create framework F inside project X as another target. I could also create a new project Y to hold framework F.
What are the differences (capabilities, features) between those 2 choices?
The only thing I can think of is that separate Xcode projects make sharing of the framework source code easier. Everything else that I can think of is minor. The flexibility of schemes and targets in a single project eliminates most other differences that I can think of.
Examples of minor differences if choosing separate project:
No one seems to have written about this exact topic. Hence, why I am posting this question.
I wish this question was a duplicate but all other related questions that I have surveyed are about:
I am not asking any of these things.
So many questions and articles and docs are for ancient version of Xcode (like 4) and with the last two version of Xcode (14 & 15), the build system has been updated significantly. Answers to my question could be quite different for older versions of Xcode.
Upvotes: 1
Views: 126