Set necessary default compiler flags for iOS Simulator builds.

This is consistent with Xcode and also required for building 32-bit iOS
Simulator binaries that use ARC, since the compiler's default
Objective-C ABI version is 0 ("legacy" runtime) for 32-bit targets.

Change-Id: Ia7575fd9d4788170a6805a8ff8fe5f6426003da9
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Fix symlink generation for Darwin frameworks.

As these three links point to directories, the -n option is needed to
avoid dereferencing the symlink when replacing it. Otherwise, a broken
symlink with the same name as the target is created within the target.

Change-Id: Ibd171e1d174fc5d5d12ff677a83911fc8f7407a0
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
qbs-setup-toolchains: Fix property name.

It's "cpp.compilerVersionPatch", not "cpp.compilerVersionPatchLevel".

Change-Id: I526c2c6b46b31fd27c562a3a8e62c4a316820c06
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Allow compiler defines to participate in Info.plist env replacement.

This is useful to pass through i.e. -DQBS_VERSION="1.4.0" so that:

<key>CFBundleVersion</key>
<string>$(QBS_VERSION)</string>

will work.

Change-Id: Ib289eb7b980561a76423472fe18ffd9b6195f342
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Rename useObjcAutomaticReferenceCounting to automaticReferenceCounting.

This name is more consistent with what other properties are called.

Change-Id: Id5b8a17a41209e40adade1666811589999099f20
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>