This repository was archived by the owner on Apr 29, 2024. It is now read-only.
Commit 0a6947d
authored
[SoupChef] Fix build with Xcode 12.2 (#409)
Xcode 12.2
- adds `arm64` to the simulator architectures
- removes `i386` from the simulator architectures
`lipo` cannot create a _classic_ fat archive with `arm64` simulator and
`arm64` device slices - since they are the same architecture.
This requires `.xcframework` support which is not yet supported by XI
and XM.
However we can tweak the build to do:
- x86_64 only for simulator, which is the only support arch for XI today
- arm64 for devices
and that makes `lipo` happy and we can continue to have this sample under
test automation.
Note: the original `.a` names were incorrect as they did not match the
architectures that were present in the files. I changed them to mention
the platform.1 parent 73d7d0c commit 0a6947d
File tree
2 files changed
+5
-3
lines changed- ios12/SoupChef/OrderSoupIntentStaticLib
- OrderSoupIntentStaticLib.xcodeproj
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| 261 | + | |
261 | 262 | | |
262 | 263 | | |
263 | 264 | | |
| |||
270 | 271 | | |
271 | 272 | | |
272 | 273 | | |
| 274 | + | |
273 | 275 | | |
274 | 276 | | |
275 | 277 | | |
| |||
0 commit comments