kkharji/xbase

First class support for Cocapods

kkharji opened this issue · 1 comments

Experimenting with https://github.com/wojciech-kulik/Swift-MVVMC-Demo

Status:

  • Build/Run works fine
  • LSP features

Issues:

  • pod install needs to be ran manually for build/run to work
  • Fails to generate compile commands. xcworkspace is totally ignored.

Todos:

  • Generate compile commands based on project schema (see tuist.rs support)
  • Automatically run pod install on Podfile and no Pods directory, as well as when Podfile is updated.

cc @wojciech-kulik

I think in the first approach you don't have to worry about running pod install automatically and detecting changes there. Usually, people call it manually when working on the project.

You call it once and then you don't have to call it again unless you change something in the Podfile.