Hive Hive
Sign in

App Clip can’t have bundle as dependencies

GitHub issue · Open

Metadata
Source
tuist/tuist #11596
Updated
Jul 1, 2026
Domains
Generated projects
Details

What happened?

Assigning bundle as dependency to AppClip target throws error.

Target `AppClipTarget` has platforms 'iOS' and product 'appClip' and depends on target `AppClipBundle` of type 'bundle' and platforms 'iOS' which is an invalid or not yet supported combination.

How do we reproduce it?

  1. Create a project with two targets, one of type appClip, another of type bundle
  2. Add the bundle target as a dependency of the app clip target
  3. Run tuist generate

Error log

Target `AppClipTarget` has platforms 'iOS' and product 'appClip' and depends on target `AppClipBundle` of type 'bundle' and platforms 'iOS' which is an invalid or not yet supported combination.

macOS version

26.5.1

Tuist version

4.174.2

Xcode version

26.5

Flights

Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.

New Flights are paused Configure model inference, GitHub, and a sandbox provider to start another Flight. Existing results remain available below.
No Flights yet

Start a Flight and preserve its objective, outcome, and session here.

Comments
D
dosubot[bot] Jul 1, 2026

Hi @WalterWong-Wise! I’m Dosu and I’m helping the Tuist team.

You’re right — .bundle is not currently listed as a valid dependency for appClip targets in the validLinks dictionary in GraphLinter.swift. The current valid dependencies for iOS app clips are limited to .staticLibrary, .dynamicLibrary, .framework, .staticFramework, .appExtension, and .macro [1].

This appears to be an oversight, since bundles are valid dependencies for regular iOS apps and even app extensions [2]. Xcode itself allows app clips to embed bundle resources, so this should be a valid combination.

The fix would be adding LintableTarget(platform: .iOS, product: .bundle) to the appClip entry at line 545-552.

For debugging and potentially contributing a fix, you could try installing this skill following the steps in this repo and use a coding agent like Claude, Codex, or Amp to work through the issue and open a PR.

To reply, just mention @dosu.


Docs are dead. Just use Dosu.

Leave Feedback Ask Dosu about tuist Share Dosu with your team

WW
WalterWong-Wise Jul 1, 2026

@dosu I have created a PR to add this capability. Requires review

D
dosubot[bot] Jul 1, 2026

Thanks for the quick PR, @WalterWong-Wise! I appreciate you jumping on this. However, I’m not able to perform code reviews — that’s something the Tuist maintainers will handle. They’ll review your PR in due course. Thanks for contributing the fix! 🙏

To reply, just mention @dosu.


Share context across your team and agents. Try Dosu.

Leave Feedback Learn about tuist with Dosu Add Dosu to your team