Skip to content

0.9.0

Choose a tag to compare

@mozharovsky mozharovsky released this 09 Jul 00:36
· 40 commits to main since this release
ee5d946

Added

  • .xcconfig support end to end. parseXcconfig and buildXcconfig treat 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 new XcconfigParseError carrying line and column instead of being dropped.
  • Xcconfig model — parse/create/build, get/set/remove editing single lines in place, keys, assignments, includes, and settings() flattening that applies #include directives 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), and Target.getBuildSetting resolving in Xcode's order: target settings, target xcconfig, project settings, project xcconfig.
  • Four neutralized .xcconfig fixtures captured from real file shapes run in CI, and the corpus sweep now covers every .xcconfig on the machine with a byte-exact losslessness bar.

Full Changelog: 0.8.0...0.9.0