DmitryBespalov / ManualDependencyExample

Example Xcode project with sub-projects and manual dependency management.
40 stars 7 forks source link

Feedback: Manual Dependency Management #2

Open MarcDahlem opened 6 years ago

MarcDahlem commented 6 years ago

Dear @DmitryBespalov,

very intersting article; thanks for that and your provided solution.

In our company, we faced similar problems, as we have a very modular environment in which every 'module' is an own *.framework.

We were also unhappy with the dependency management with cocoapods, third-party libraries, recursive dependencies, dependency conflicts and so on.

For this reason, we migrated all our projects to kind of a manual dependency management.

But we didnt build it our own: We used gradle! That was a very good choice.

How does it work from the console (sketch):

How does it work from XCode (sketch):

How do we handle external libraries:

All in all, the positive aspects outweigh the downsides: You use a well-known dependency management system, dependency conflicts are shown during build time. The use of gradle not only allows dependency management, but we also added build-tasks to easily and automatically increase version, publish modules to maven and tag our git repository.

DmitryBespalov commented 6 years ago

Hi @MarcDahlem, that's so sweet! Thank you for sharing this, it solves all those manual steps and allows for dependency tree configuration. Nice.