commit | 458d7706c7caa1ee5096282be18b3bd5d321b0be | [log] [tgz] |
---|---|---|
author | kaipi <kaipi@google.com> | Thu Jan 10 21:34:14 2019 +0000 |
committer | Ivan Hernandez <ivanhernandez@google.com> | Thu Jan 10 23:40:20 2019 +0000 |
tree | 7ad418db81c8adbcf5b8dc459b63ac24cb9aa41d | |
parent | 69310ac77bb2e527e11d19d339e5c6d190f780d6 [diff] |
Chmod tree artifact output to allow Xcode to write into it. When copying a tree artifact output from Bazel's output directory, it comes with Bazel's permissions, which are readonly. By adding +w to the attributes of the copied bundle, Tulsi allows Xcode to modify the output bundle, for example, for codesigning and injecting IDE specific dylibs. PiperOrigin-RevId: 228767293
build_and_run.sh
. This will install Tulsi.app inside ~/Applications.Tulsi-generated Xcode projects use Bazel to build, not Xcode via xcbuild. This means that many common components of an Xcode project are handled differently than you may be used to. Notable differences:
bazel
invocations, some of which may affect Bazel caching. In order to maximize cache re-use when building from the command line, try using the user_build.py
script which is located in the generated xcodeproj at <xcodeproj>/.tulsi/Scripts/user_build.py
.Tulsi projects contain a few settings which control various behaviors during project generation and builds.
build
flags, customizable per compilation mode (dbg
and opt
)build
startup flags, also customizable per compilation modedbg
or opt
, no fastbuild
) used during project generation.dbg
, swap to opt
if you normally build Release builds in Xcode (i.e. profiling your app). Setting this improperly shouldn't break your project although it may potentially worsen generation and build performance.No
, swap to Yes
if your project contains Swift (even in its dependencies). Setting this improperly shouldn't break your project although it may potentially worsen generation and build performance.