Hive
Auto-Embed XcodeKit Framework
GitHub issue · Open
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 @pepicrft…1
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.
Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.
Start a Flight and preserve its objective, outcome, and session here.