- Brace every $NAME that is directly followed by a non-ASCII character in the shell scripts: bash 3.2 in a UTF-8 locale read the first byte of the following character as part of the variable name and aborted under set -u (#4, #6). - setup.sh and d2rm_pack.py: the shader translation step is complete only when every entry in the completion marker is ok and every library file exists; the script's exit status is no longer hidden by a pipe (#5). - devbattery.sh / devlock.sh: a missing local timeout or ideviceinfo is reported as such and stops at once, instead of being reported as an offline device and polled for up to an hour (#7). - smoke_mac.sh builds its package for iPhone only regardless of the project default. Reported by @SakuraToErii. The setup.sh part of #4 was also submitted by @hubeiqiao in #6. Co-authored-by: hubeiqiao <12777592+hubeiqiao@users.noreply.github.com>
This commit is contained in:
@@ -147,7 +147,7 @@ The scope when no run name is given:
|
||||
|
||||
The repository has no separate script for building an iPad package. The procedure is the same as the two packaging steps in `tools/smoke_mac.sh`, with just one more build setting:
|
||||
|
||||
1. The same `xcodebuild` command, with `DM_DEVICE_FAMILY=1,2` added at the end (adds iPad to the device family; the project targets only iPhone by default, see `../../project.yml`).
|
||||
1. The same `xcodebuild` command, with its `DM_DEVICE_FAMILY=1` replaced by `DM_DEVICE_FAMILY=1,2` (adds iPad to the device family; `tools/smoke_mac.sh` always builds its package for iPhone only, regardless of the default in `../../project.yml`).
|
||||
2. Wrap it the same way as `<name>.app/Wrapper/DmIOS.app`, plus the `WrappedBundle` symlink.
|
||||
|
||||
Use a new directory name each time you build a package, then give the path to `UIREG_APP_IPAD`.
|
||||
|
||||
Reference in New Issue
Block a user