commit | 1f3524ace419234e1be3a78cfa8da35e82b5c330 | [log] [tgz] |
---|---|---|
author | ivanhernandez <ivanhernandez@google.com> | Thu Aug 08 17:53:12 2019 +0000 |
committer | Ivan Hernandez <ivanhernandez@google.com> | Wed Aug 14 19:00:25 2019 +0000 |
tree | f9e110574ef78d4dfb62fd5488a621905f8bfe75 | |
parent | 515e77538988cf52392357336df7fd81a0c1385e [diff] |
Change XCTFail in setUp() to print statements because calling XCTFail results in a test crash and prevents the errors from being displayed. If something fails in setUp(), the errors will be printed and the test will eventually fail do to setup not being done. Also bumps the simulator version to iOS 12.2. PiperOrigin-RevId: 262388845
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.