Repository navigation
v0.10.2 — the iOS build ends cleanly without a phone
With no phone on a cable, ios-build/build.sh ended in an error right after «7/7 Installing on the phone», without a word, even though the build had succeeded. It now says «no phone connected» and where the app is, and ends as it should.
The fix
The lookup for a connected phone is a pipeline of greps, and with no phone the result is empty. Under pipefail that failed the whole assignment and stopped the script before the line that reports it. The lookup now accepts an empty result.
Tests
- 175 unit tests.
- Step 7 run against a stand-in
devicectl: with the phone unavailable it exited 1 after the heading before the fix, and now says «no phone connected» and exits 0; with the phone connected it installs, before and after.
After updating: nothing to rebuild, apply or restart. An app you already built is unchanged.
Full changelog: v0.10.1...v0.10.2