commit | 56a071bc4fc31ddb11bbcb5fe9ecce0b591ebba1 | [log] [tgz] |
---|---|---|
author | Googler <noreply@google.com> | Fri Jul 26 20:39:21 2019 +0000 |
committer | Ivan Hernandez <ivanhernandez@google.com> | Thu Aug 01 23:12:04 2019 +0000 |
tree | 43d343247c85d918b3c0879c715763a1a1223520 | |
parent | 79016be206d6456145ab7c3d87b1cc7801844a5e [diff] |
Move bazel_cache_reader to Contents/MacOS/ from Contents/Resources/ Contents/MacOS/ directory is the recommended place for embedded command-line tools: this is where url(forAuxiliaryExecutable:) looks. PiperOrigin-RevId: 260204555
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.