Repository navigation
0.9.0
Added
.xcconfigsupport end to end.parseXcconfigandbuildXcconfigtreat the hand-authored format losslessly — an untouched file rebuilds byte for byte, comments, blank lines, alignment, and line endings included — and malformed lines fail with the newXcconfigParseErrorcarrying line and column instead of being dropped.Xcconfigmodel —parse/create/build,get/set/removeediting single lines in place,keys,assignments,includes, andsettings()flattening that applies#includedirectives at their position through a caller-supplied resolver. A file included again later re-applies like pasted text, while true cycles terminate through recursion-stack guards that work with both cached and fresh-instance resolvers.- Build-context flattening —
settings({ context: { sdk, arch, config } })applies conditional assignments when every condition matches, with trailing*wildcards.$(inherited)and${inherited}splice in the value accumulated earlier in the chain and stay literal when there is none, so lower layers can still resolve them. - Build-setting layering —
BuildConfiguration.baseConfigurationReference(),XcodeProject.registerXcconfig(reference, config), andTarget.getBuildSettingresolving in Xcode's order: target settings, target xcconfig, project settings, project xcconfig. - Four neutralized
.xcconfigfixtures captured from real file shapes run in CI, and the corpus sweep now covers every.xcconfigon the machine with a byte-exact losslessness bar.
Full Changelog: 0.8.0...0.9.0