Qbs Manual | List of Modules | Module ib

Qbs 1.7.2

# Module ib

The `ib` module contains properties and rules for building Interface Builder documents, storyboards, asset catalogs, and icon sets.

This module is only available on Apple platforms.

## General Properties

Property | Type | Since | Default | Description
--- | --- | --- | --- | ---
warnings | bool | 1.1 | `true` | Whether to print warnings when compiling. Does not apply to icon sets.
errors | bool | 1.1 | `true` | Whether to print warnings when compiling. Does not apply to icon sets.
notices | bool | 1.1 | `true` | Whether to print warnings when compiling. Does not apply to icon sets.
flags | stringList | 1.1 | undefined | Additional flags to pass to the underlying tool (ibtool, actool, iconutil).

## Properties Specific to NIBs and Storyboards

Property | Type | Since | Default | Description
--- | --- | --- | --- | ---
ibtoolName | string | 1.3 | `"ibtool"` | Name of the ibtool binary used to compile NIBs and storyboards. This should not normally need to be changed.
ibtoolPath | string | 1.3 | `ibtoolName` | Directory where the ibtool binary is located. This should not normally need to be changed.
flatten | bool | 1.1 | `true` | Compiles XIBs and storyboards into flattened (non-wrapper) files. Set to `false` to preserve editability of the resulting nib and storyboard bundles in Interface Builder. This property should not normally need to be changed.
module | string | 1.3 | `undefined` | Sets the name of the module that the nib or storyboard is a part of. Requires Xcode 6 or newer.
autoActivateCustomFonts | bool | 1.3 | `true` | Instructs the ibtool compiler to add custom fonts to the application's Info.plist when compiling XIBs and storyboards, which will cause the fonts to activate upon application launch. Requires Xcode 6 or newer.

## Properties Specific to Asset Catalogs

Property | Type | Since | Default | Description
--- | --- | --- | --- | ---
actoolName | string | 1.3 | `"actool"` | Name of the actool binary used to compile asset catalogs. This should not normally need to be changed.
actoolPath | string | 1.3 | `actoolName` | Directory where the actool binary is located. This should not normally need to be changed.
appIconName | string | 1.3 | `undefined` | Name of the resource in the asset catalog that will be used as the application's icon. Used to generate the partial Info.plist which will be merged into the resulting app. If this property is `undefined`, no application icon will be specified.
launchImageName | string | 1.3 | `undefined` | Name of the resource in the asset catalog that will be used as the application's launch image. Used to generate the partial Info.plist which will be merged into the resulting app. If this property is `undefined`, no launch image will be specified. Only applies to iOS applications.
compressPngs | bool | 1.3 | `true` | Whether to compress PNG image files when building asset catalogs.

## Properties Specific to Icon Sets

Property | Type | Since | Default | Description
--- | --- | --- | --- | ---
iconutilName | string | 1.3 | `"iconutil"` | Name of the iconutil binary used to compile icon sets. This should not normally need to be changed.
iconutilPath | string | 1.3 | `iconutilName` | Directory where the iconutil binary is located. This should not normally need to be changed.