Only install iOS builds if requested (#1614)

This commit is contained in:
Ben Doherty
2019-09-11 09:35:01 -07:00
committed by GitHub
parent 88bcd133f2
commit 0e3bc8a443
2 changed files with 7 additions and 2 deletions

View File

@@ -508,7 +508,12 @@ function build_ios_target {
../..
fi
${BUILD_COMMAND} install
${BUILD_COMMAND}
if [[ "$INSTALL_COMMAND" ]]; then
echo "Installing ${lc_target} in out/${lc_target}/filament..."
${BUILD_COMMAND} ${INSTALL_COMMAND}
fi
if [[ -d "../ios-${lc_target}/filament" ]]; then
if [[ "$ISSUE_ARCHIVES" == "true" ]]; then

View File

@@ -41,7 +41,7 @@ command. For example, the following command will build for both devices (ARM64)
(x86_64) in Debug mode:
```
$ ./build.sh -s -p ios debug
$ ./build.sh -s -p ios -i debug
```
When building for the simulator, the sample will then link against the libraries present in