name: InvalidConfigsValueNonMappingAggregateTargets

# This fixture tests validation of `settings.configs` under an aggregate target.
# Here, `invalid_key0` and `invalid_key1` are scalar values (not mappings),
# so parsing should throw SpecParsingError.invalidConfigsMappingFormat.
targets:
  valid_target1:
    type: application
    platform: iOS
  valid_target2:
    type: application
    platform: iOS

aggregateTargets:
  invalid_target:
    targets:
      - valid_target1
      - valid_target2
    settings:
      configs:
        invalid_key0: value0
        debug:
          valid_key: value1
        invalid_key1: value2
