Hive Hive
Sign in

Auto-Embed XcodeKit Framework

GitHub issue · Open

Metadata
Source
tuist/tuist #8093
Updated
Jun 11, 2026
Domains
Generated projects
Details

Why is this needed?

When the XcodeKit framework is added to target dependencies, it’s set to Do Not Embed by default.

// Project.swift
dependencies: [
.sdk(name: "XcodeKit", type: .framework, status: .required),
]

However, according to Xcode Release Notes, it should be embedded instead.

A new Xcode Source Editor Extension target doesn’t automatically set up embedding XcodeKit.framework in the extension. (59274389)

Workaround: Embed XcodeKit.framework in the extension manually.

Steps to address the need

According to @pepicrft1

Tuist has this utility that’s responsible for generating the build phases and settings related to linking. The utility uses GraphTraverser to obtain information from the graph. So you’ll have to adjust the logic that creates the linking build phase in the former to account for this scenario, and codify any logic to obtain the information that you need in the latter.

  1. https://community.tuist.dev/t/725/7

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
P
pepicrft Aug 27, 2025

Thanks for opening the issue @navtoj 🙏🏼