yonaskolb / yonaskolb/XcodeGen
Missing package product when adding local package
Open
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
This was mentioned in a resolved thread. I'm not sure if the described fixed is legit: https://github.com/yonaskolb/XcodeGen/issues/721#issuecomment-2196428321
Here's my project.yml
name: FocussedProject.generated
options:
buildIndependentTargetsInParallel: true
createIntermediateGroups: true
deploymentTarget:
macOS: '15.2'
developmentLanguage: en
generateEmptyDirectories: true
groupSortPosition: top
minimizedProjectReferenceProxies: true
minimumXcodeGenVersion: 2.38.0
transitivelyLinkDependencies: true
useBaseInternationalization: true
xcodeVersion: '16.3'
packages:
AppFoundation:
path: ./modules/foundations/AppFoundation
ConcurrencyFoundation:
path: ./modules/foundations/ConcurrencyFoundation
DLS:
path: ./modules/coreui/DLS
DependencyFoundation:
path: ./modules/foundations/DependencyFoundation
FoundationInterfaces:
path: ./modules/foundations/FoundationInterfaces
JSONFoundation:
path: ./modules/foundations/JSONFoundation
LoggingServiceInterface:
path: ./modules/serviceInterfaces/LoggingServiceInterface
ServerServiceInterface:
path: ./modules/serviceInterfaces/ServerServiceInterface
SettingsFeature:
path: ./modules/features/Settings
SettingsServiceInterface:
path: ./modules/serviceInterfaces/SettingsServiceInterface
ThreadSafe:
path: ./modules/macros/ThreadSafe
settings:
base:
SWIFT_VERSION: '6.0'
targets:
FocusProject:
dependencies:
- package: DLS
products: DLS
- package: ServerServiceInterface
products: ServerServiceInterface
- package: JSONFoundation
products: JSONFoundation
- package: SettingsServiceInterface
products: SettingsServiceInterface
- package: SettingsFeature
products: SettingsFeature
- package: AppFoundation
products: AppFoundation
- package: LoggingServiceInterface
products: LoggingServiceInterface
- package: DependencyFoundation
products: DependencyFoundation
- package: ThreadSafe
products: ThreadSafe
- package: FoundationInterfaces
products: FoundationInterfaces
- package: ConcurrencyFoundation
products: ConcurrencyFoundation
deploymentTarget: '15.2'
platform: macOS
requiresObjCLinking: true
settings:
GENERATE_INFOPLIST_FILE: 'YES'
sources:
- path: FocusProject/Sources
type: application
From what I can tell, Xcode shows an alright configuration:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the supplied project.yml, especially its packages and target dependencies, and compare the generated Xcode project with the linked resolved thread. Reproduce the missing package product configuration and verify that local package products appear correctly in the generated project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift, yaml
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 48/100