Commit 32e0610
[7.x] Fix rules_apple device runner crash on Rapid Security Response versions (#2902)
Devices running an Apple RSR update report OS versions like "18.3.1
(a)". The rules_apple device runner fails to parse the "(a)" suffix:
```
ValueError: invalid literal for int() with base 10: '1 (a)'
```
Patch rules_apple 4.5.1 to strip non-numeric suffixes from each version
component before integer conversion.
`bazel run` an iOS application target on a physical device (builds,
uploads, and runs)
Fixes #2900
(cherry picked from commit 8c999a8)
Co-authored-by: Leland Jansen <hello@lelandjansen.com>1 parent 1b80aae commit 32e0610
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
189 | 191 | | |
190 | 192 | | |
191 | 193 | | |
192 | | - | |
193 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
194 | 199 | | |
195 | 200 | | |
196 | 201 | | |
| |||
0 commit comments