commit | ca799bfb9545e78a8ce7bf9a70f7cc90deab0afb | [log] [tgz] |
---|---|---|
author | kaipi <kaipi@google.com> | Tue Aug 20 15:19:05 2019 -0400 |
committer | Rein Hillmann <rein@google.com> | Thu Aug 22 20:54:23 2019 -0400 |
tree | dd6580af7ca4d7d158f3292e88981740e962114a | |
parent | 4b16a662f3c375560c18c58b50c992ccea399bbe [diff] |
Use AppleBundleInfo to detect platform_type instead of always reading it from the attribute. PiperOrigin-RevId: 264439374
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.