commit | aeaaf6355ccf715c6b7dbe13c1c23d6a5865e9da | [log] [tgz] |
---|---|---|
author | davg <davg@google.com> | Wed Jan 04 22:19:49 2023 +0000 |
committer | David Goldman <davg@google.com> | Thu Jan 05 15:58:41 2023 +0000 |
tree | dfc7f5d745bd01fe2581a100dd035fb4fc436324 | |
parent | fb6ce34553f8c74f0deba03b1be2ef9f68c64d89 [diff] |
Updates version number to 0.4.499574255.20230104. Significant changes: - Silence warnings about being unable to resolve target configuration for Apple SDK targets. - Fixed an issue where code assistance/indexing would be broken if you generated the project in a workspace directory containing a symlink. - Added the `RunAspectsFromWorkspace` setting to run without requiring --override_repository support. - Fix an issue where user_build.py wouldn't default to iOS arm sim on Apple silicon. PiperOrigin-RevId: 499577250
Run build_and_run.sh
. This will install Tulsi.app inside $HOME/Applications
by default. See below for supported options:
-b
: Bazel binary that Tulsi should use to build and install the app (Default is bazel
)-d
: The folder where to install the Tulsi app into (Default is $HOME/Applications
)-x
: The Xcode version Tulsi should be built for (Default is 13.4.1
)Tulsi-generated Xcode projects use Bazel to build, not Xcode. Building in Xcode will cause it to only run a script; the script invokes Bazel to build the configured Bazel target and copies the artifacts to where Xcode expects them to be. 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.