|
|
Эта страница руководства является частью версии 5.0 Инструментов XCodeПолучить эти инструменты:
Если Вы выполняете версию Инструментов XCode кроме 5,0, просматриваете документацию локально:
Читать страницы руководстваСтраницы руководства предназначаются как справочник для людей, уже понимающих технологию.
|
actool(1) actool(1)
NAME
actool - compiles, prints, updates, and verifies asset catalogs.
SYNOPSIS
actool [options] document
DESCRIPTION
actool verifies, updates, and prints the contents of an asset catalog, generating its output in stan-dard standard
dard plist format. The tool follows a "read", "modify", "write", "print" order of operations.
OPTIONS
Specifying Output:
--write path
Write the resulting asset catalog to the specified path.
--output-format format
By default, actool provides output in the form of an XML property list. Specifying binary1
will instruct actool to output a binary property list. Similarly, xml1 specifies an XML prop-erty property
erty list, and human-readable-text specifies human readable text.
Compiling:
--compile path
Compile the input file and writes the output to the specified path. The compile option
instructs actool to convert an asset catalog to files optimized for runtime. Additionally,
--warnings, --errors, and --output-format are three other options that are commonly combined
with --compile.
--warnings
Include document warning messages in actool's plist output. Warnings will appear under the
key com.apple.actool.document.warnings, with messages listed under the subkey message and
warning types under the subkey type.
--errors
Include document error messages in actool's plist output. Errors will appear under the key
com.apple.actool.document.errors, with messages listed under the subkey message and error
types under the subkey type.
--notices
Include document notice messages in actool's plist output. Notices will appear under the key
com.apple.actool.document.notices, with messages listed under the subkey message and error
types under the subkey type.
--output-partial-info-plist path
Emit a plist to path that contains keys and values to include in an application's info plist.
--app-icon name
Can be combined with --compile to select an app icon to compile to the output directory. This
flag also causes actool to declare the app icon in the patrial info plist component specified
by --output-partial-info-plist.
--launch-image name
Can be combined with --compile to select a launch image to compile to the output directory.
This flag also causes actool to declare the launch image in the patrial info plist component
specified by --output-partial-info-plist.
Listing Content:
--print-contents
Include a listing of the catalog's content in the output.
Version Information:
--version
Print the version of actool. The version information is output under the key
com.apple.actool.version with the subkeys bundle-version and short-bundle-version.
EXAMPLES
actool MyApp.assetcatalog --compile MyApp.car
actool will compile MyApp.assetcatalog and produce MyApp.car.
SEE ALSO
plist(1)
Apple Inc. Dec 15 2011 actool(1)
|
Сообщение о проблемах
Способ сообщить о проблеме с этой страницей руководства зависит от типа проблемы:
- Ошибки содержания
- Ошибки отчета в содержании этой документации со ссылками на отзыв ниже.
- Отчеты об ошибках
- Сообщите об ошибках в функциональности описанного инструмента или API через Генератор отчетов Ошибки.
- Форматирование проблем
- Отчет, форматирующий ошибки в интерактивной версии этих страниц со ссылками на отзыв ниже.