yonaskolb / yonaskolb/XcodeGen
Get path to current spec file folder?
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
Hello,
I am using spec file nesting similar to this:
master -> folderA -> specA.yaml
-> folderB -> specB.yaml
specB.yaml includes specA.yaml. In specA, I am defining an Objective-C module that needs to specify MODULEMAP_FILE. But it needs to be an absolute path computed relatively to specA.yaml. Is there a variable that would give me access to current spec folder path?
Thank you
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 nested specA.yaml/specB.yaml example and trace how XcodeGen resolves included specs and MODULEMAP_FILE values. Define and document how a current spec folder path would be exposed, then verify that specA.yaml can use it to produce the required absolute module-map path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c, swift
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100