Commit 9768ba5
authored
fix(ios): raise the deployment target to iOS 15.0 (#1731)
* fix(ios): raise the deployment target to iOS 15.0
Nothing set an iOS deployment target, so the Tauri CLI's own default of
14.0 applied silently and App Store Connect answered the 2.5.0 build 7
upload with ITMS-90068. Apple refuses anything below 15.0 from Spring
2027. CI now asserts the configured value against that floor, against the
generated project.yml, and against the exported IPA, since the warning
only arrives after a successful upload.
* Address review feedback
- Replace `sort -V` in the deployment-target check with a POSIX awk
comparator. The step runs on macOS, whose sort is BSD, and a `-V` that
errored would fail the step with the "below Apple's floor" message no
matter what the config said.
- Point the local verification at `project.yml` and the built app instead
of the generated source Info.plist. Xcode writes `MinimumOSVersion` from
the build setting, so it never appears in the source plist.
- Give the regeneration commands an explicit `cd apps/geolibre-desktop`
and spell out the config path, since the new section precedes the one
that establishes that working directory.
- Correct the `Info.ios.plist` merge timing: `ios init` applies
`tauri.ios.conf.json`, `ios build`/`dev` merges the plist.
- Use the American spelling "afterward".
* Address Claude review feedback
Scope the project.yml parse to the `deploymentTarget:` block, resetting at
the first line that dedents out of it. The previous version latched onto
the first `iOS:` line anywhere after the block opened, so a future
template that carried such a key under `targets:` would have been read as
the deployment target.
* Address CodeRabbit review feedback
The local verification recipe read MinimumOSVersion out of an xcarchive
that nothing in the recipe produced. Add the `tauri ios build --no-sign`
that creates it.
* Address Claude review feedback
Give the missing-key case its own actionable message. `jq -e` aborted the
step with a bare "Error: null (null)" if the config key were ever removed
or renamed, unlike every other failure path here.1 parent 863a4aa commit 9768ba5
3 files changed
Lines changed: 144 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
146 | 218 | | |
147 | 219 | | |
148 | 220 | | |
| |||
481 | 553 | | |
482 | 554 | | |
483 | 555 | | |
484 | | - | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
485 | 566 | | |
486 | 567 | | |
487 | 568 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
67 | 119 | | |
68 | 120 | | |
69 | 121 | | |
| |||
143 | 195 | | |
144 | 196 | | |
145 | 197 | | |
146 | | - | |
147 | | - | |
148 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
149 | 202 | | |
150 | 203 | | |
151 | 204 | | |
| |||
204 | 257 | | |
205 | 258 | | |
206 | 259 | | |
207 | | - | |
208 | | - | |
| 260 | + | |
| 261 | + | |
209 | 262 | | |
210 | 263 | | |
211 | 264 | | |
| |||
0 commit comments