Installing a target lets you test how it will work on the end user's computer. Project Builder builds it, if necessary, strips any debugging symbols, and places it where it will appear on the user's computer.
Installing a target is especially useful if your target contains elements used by other products that aren't in your project, so you can test how those products are affected by your changes.
You cannot install a target from within Project Builder. Instead, use
the pbxbuild
command-line
tool.
To install a target:
su
to
root (if necessary), cd
to
your project's directory, and enter pbxbuild
.Here's a detailed description:
su
to root (if
necessary).su
,
and enter the root password when prompted. cd
to your project's
directory..pbproj
file. For
example, if your project is in ~me/Projects/MyProj
,
enter cd ~me/Projects/MyProj
pbxbuild
.pbxbuild -target
target-name. To install a target's final product at a particular path:
You can install one target's product inside another target's product within the same project. For example, your project may have targets for an application, framework, and plugin, and you need to install the framework in the application's Frameworks folder and the plugin in the application's Plugins folder. To install a target's product inside another target's product:
When you're still debugging a target's product, you can place it somewhere else. See Choosing Where to Build a Target.