Target type `tool` does not list bundle dependency in Dependencies Build Phase
armcknight opened this issue · comments
Andrew McKnight commented
It does appear in the Copy Bundle Resources Build Phase, but not in the Dependencies Build Phase. This results in the bundle not appearing at runtime. If I manually add the bundle target to the tool target's Dependencies Build Phase in the Xcode GUI, the tool runs successfully and can find the bundle contents.
relevant spec portion:
targets:
createYear:
type: tool
sources: [createYear]
platform: macOS
deploymentTarget: 10.15
dependencies:
- bundle: copyYearResources
createYearResources:
type: bundle
sources: [createYearResources]
platform: macOS
deploymentTarget: 10.15
Andrew McKnight commented
Would this be a good place to look for implementation? Either in this function body, or at a caller of this function?