kiwix-build/kiwixbuild
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
..
dependencies Fixed #667: CoreKiwix for iOS Simulator 2023-12-04 14:20:24 +00:00
patches Move to ICU 73.2 2023-11-02 11:14:04 +01:00
platforms Fixed #667: CoreKiwix for iOS Simulator 2023-12-04 14:20:24 +00:00
templates Use a specific cross_file on iOS cross compilation. 2020-02-21 16:29:23 +01:00
__init__.py Add an option to set the build directory of kiwix-build. 2022-09-21 16:15:14 +02:00
__main__.py Create a real module kiwixbuild and make it installable. Split files. 2018-04-04 15:43:16 +02:00
_global.py First version of a flatpak builder. 2018-11-27 09:43:52 +01:00
buildenv.py Remove SvnClone. 2023-12-01 11:12:32 +01:00
builder.py Add the `dont_skip` attribute on dependency. 2021-04-12 18:09:52 +02:00
flathub.flatpakrepo Fix exe_wrapper. 2019-09-19 18:18:41 +02:00
flatpak_builder.py Run the command without using shell=True. 2023-12-01 11:11:24 +01:00
packages.py We don't need jdk anymore to build on android 2022-06-28 12:23:04 +02:00
utils.py Run the command without using shell=True. 2023-12-01 11:11:24 +01:00
versions.py Change base deps_meta version. 2023-12-01 11:12:24 +01:00