The ultimate xcode workflow


Spend zero time managing dependencies. Build speed is almost down to zero even for big projects, and 99.99% of my time is spent coding.

Wants:

  • Ability to Build from .framework (because of zero to low build times)
  • Synchronise source code across projects autonomously (many to many sync)
  • Synchronise directly to 1 singular origin repo at github (version control)
  • Full SPM integration (Sharing code w/ Community)
  • Ability to edit external framework code directly inside app projects, and automatically sync back to origin.
  • Playground friendly (You are building .frameworks so it works in playground)
  • iOS support (macOS only, 🍏 is working on πŸ“± support experimental )

To achieve this: Read my series on SPM (Swift package manager) and use gitsync.io

SPM Series:

Scenario:

Problem:
You have a Testing xcode project, A Library xcode project and an App xcode project. You want to fix a problem in your Library. And you want to test if the fix works, if it does you want to see that change in the app project.

Solution:
This would require an enormous amount of work to achieve. Even the simplest variable change would take 15 minutes to propagate and be perfectly aligned in all projects and git repos etc etc. All this is automatic with GitSync + SPM. You simply change the lib hit cmd save in xcode and all the other projects are synced within seconds. Just switch tab and see the changes be reflected. Then just run your test and your app and .frameworks will be rebuilt and source is up today. Thats not all. You don’t have to edit your code in your test library. You can edit the lib code right in your app code. GitSync syncs uni-directionally. πŸ‘Œ