kiwix-build/kiwixbuild/platforms
renaud gaudin afb7c504ea
Fixed #667: CoreKiwix for iOS Simulator
When we introduced CoreKiwix.xcframework, we made two mistakes:

- We forgot that some devs are on Apple Silicon and did not include arm64 arch for simulator
- We kept the `x86_64-apple-ios` target thinking simulator is a “just” an iOS on x64

This target mistake prevented XCode from finding our lib usable with the Simulator on x64.
Not including an arm64 version obviously prevented Silicon-using devs from using the Simulator.

The included libs changes now from

| Name                         | Content                                               |
| ---------------------------- | ----------------------------------------------------- |
| `ios-arm64`                  | All iOS devices are arm64                             |
| `ios-x86_64-simulator`       | Single x64 binary for Simulator                       |
| `macos-arm64_x86_64`         | Fat binary for macOS with both x64 and arm64          |

To

| Name                         | Content                                               |
| ---------------------------- | ----------------------------------------------------- |
| `ios-arm64`                  | All iOS devices are arm64                             |
| `ios-arm64_x86_64-simulator` | Fsat binary for iOS Simulator with both x64 and arm64 |
| `macos-arm64_x86_64`         | Fat binary for macOS with both x64 and arm64          |

- `iOSx64` Platforn renamed to `iOSx64Simulator` with its target fixed to `x86-apple-ios-simulator` (was `x86_64-apple-ios`)
- Added platformn `iOSArm64Simulator` for Apple Silicon devs to run Simulator
- `AppleXCFramework` dependency gets two changes:
    - Depends on all those platforms
    - `_make_macos_fat()` turned generic and called both for macOS fat binary and iOS Simulator one
2023-12-04 14:20:24 +00:00
..
__init__.py Rename `arm_musl.py` to `musl.py`. 2023-10-23 10:19:12 +02:00
android.py Run the command without using shell=True. 2023-12-01 11:11:24 +01:00
armhf.py Run the command without using shell=True. 2023-12-01 11:11:24 +01:00
base.py Run the command without using shell=True. 2023-12-01 11:11:24 +01:00
flatpak.py Correctly install io.qt.qtwebengine.BaseApp for flatpak build. 2021-06-29 16:06:53 +02:00
i586.py Run the command without using shell=True. 2023-12-01 11:11:24 +01:00
ios.py Fixed #667: CoreKiwix for iOS Simulator 2023-12-04 14:20:24 +00:00
musl.py Run the command without using shell=True. 2023-12-01 11:11:24 +01:00
native.py fixed typo in native (using min-macos-version) 2023-11-10 11:26:44 +00:00
neutral.py Merge toolchain and dependencies. 2018-05-31 11:30:25 +02:00
wasm.py Run the command without using shell=True. 2023-12-01 11:11:24 +01:00
win32.py Run the command without using shell=True. 2023-12-01 11:11:24 +01:00
win64.py Run the command without using shell=True. 2023-12-01 11:11:24 +01:00