Support for standalone Apple Watch app

I’m working on a project where I need to set up a standalone Apple Watch app

While configuring the project using Tuist, I noticed that none of the available values for the product field seem to generate a target with the productType = "com.apple.product-type.application.watchapp2-container", which is the required type for the Watch app container in standalone configurations.

I wanted to ask:

  • Is this product type currently supported in Tuist?
  • If so, which product value should I use to generate it?
  • If not, is there a recommended workaround, or is support planned for the future?

Thanks a lot for the great work you’re doing with Tuist

Hi @andrea-bb :wave:

It’s good to read that you are giving Tuist a shot. What motivated you to use it?

The list of products that we support are this one, so that particular product is not supported.

If you are interested, you can add support to it yourself. You’ll have to add the product there, and then update tuist/tuist to point to those changes. Since the product is an enum, you might need to go through some parts of the codebase reconciling the changes, but I don’t expect them to be many. You can then add a fixture under fixtures representing a standalone watchOS app, and an acceptance test that ensures that the app builds.

How does it sound?