yonaskolb / yonaskolb/XcodeGen
Does anyone know how to set different boolean value in Info.plist for each env?
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
For example, in my project.yml
settings:
configs:
Development:
ALLOWS_ARBITRARY_LOADS: true
Staging:
ALLOWS_ARBITRARY_LOADS: false
Production:
ALLOWS_ARBITRARY_LOADS: false
info:
properties:
NSAppTransportSecurity:
NSAllowsArbitraryLoads: $(ALLOWS_ARBITRARY_LOADS)
I want to set NSAllowsArbitraryLoads value is true in Development env, and false in Staging and Production, how to set?
Currently , this setting ,created a string Type for NSAllowsArbitraryLoads, and value is not $(ALLOWS_ARBITRARY_LOADS)

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 configuration from project.yml and inspect how settings and info.properties are converted into the generated Info.plist. Trace the handling of build-setting substitutions and boolean values; done means NSAllowsArbitraryLoads is emitted as a boolean and resolves differently for Development, Staging, and Production.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100