yonaskolb / yonaskolb/XcodeGen
buildPhase: headers not working
Open
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
Hi:
For some strange reason, when I specify buildPhase: headers, the corresponding buildPhase is not created in the Xcode project. While this does not prevent successful compilation, it's just weird that everything works well except this. Here's my full spec:
name: sndpipe~
options:
bundleIdPrefix: org.me
targets:
sndpipe~:
type: bundle
platform: macOS
deploymentTarget: "10.13"
sources:
- path: src/sndpipe~.c
buildPhase: sources
- path: src/include
includes: "*.h"
buildPhase: headers
dependencies:
- sdk: CoreFoundation.framework
- framework: src/lib/libsndfile.a
- framework: src/lib/libsoundpipe.a
configFiles:
Debug: project.xcconfig
Release: project.xcconfig
settings:
CODE_SIGN_IDENTITY: "-"
DEVELOPMENT_TEAM: ""
GCC_OPTIMIZATION_LEVEL: 0
HEADER_SEARCH_PATHS:
- $(C74SUPPORT)/max-includes
- $(C74SUPPORT)/msp-includes
- $(C74SUPPORT)/jit-includes
- $(PROJECT_HEADERS)
INFOPLIST_FILE: $(SRCROOT)/../../../Info.plist
LIBRARY_SEARCH_PATHS: $(PROJECT_LIBS)
MACOSX_DEPLOYMENT_TARGET: "10.13"
OTHER_LDFLAGS:
- $(C74_SYM_LINKER_FLAGS)
- $(PROJECT_LDFLAGS)
PRODUCT_BUNDLE_IDENTIFIER: org.me.sndpipe
PRODUCT_NAME: $(TARGET_NAME)
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
Reproduce the issue using the supplied XcodeGen YAML specification, focusing on the source entry with buildPhase: headers. Trace how that setting is handled during project generation, and consider the issue done when the generated Xcode project contains the expected headers build phase.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100