Documentation update

This commit is contained in:
Leon Styhre 2025-01-19 22:49:33 +01:00
parent e7286c3683
commit bec8ca431c
2 changed files with 15 additions and 0 deletions

View file

@ -10,7 +10,9 @@
* Added translations for Traditional Chinese (zh_TW)
* (Android) Added Pizza Boy SC standalone as an alternative emulator for the gamegear, genesis, mastersystem, megadrive and megadrivejp systems
* (Android) Changed all RetroArch core entries to use absolute paths (this makes the ancient Play store release work correctly)
* (Android) Changed the target SDK version to 35 (Android 15)
* (macOS) Added a build script to cross-compile for x86_64 using an ARM processor
### Bug fixes

View file

@ -580,6 +580,19 @@ export ASAN_OPTIONS=detect_container_overflow=0
Running ES-DE from the build directory may be a bit flaky as there is no Info.plist file available which is required for setting the proper window mode and such. It's therefore recommended to run the application from the installation directory for any more in-depth testing. But normal debugging can of course be done from the build directory.
**Cross-compiling for x86_64**
To cross-compile for x86_64 using an ARM processor you only need to change two things.
First you need to run `tools/macOS_dependencies_build_x86_cross.sh` instead of `tools/macOS_dependencies_build.sh`
Second you need to pass the target architecture using the CMAKE_OSX_ARCHITECTURES variable such as this:
```
cmake -DCMAKE_OSX_ARCHITECTURES=x86_64 .
```
Following this you can just build and package the application in the same way as a native ARM build.
**Code signing**
A detailed explanation of macOS code signing is beyond the scope of this document, but the CMake option MACOS_CODESIGN_IDENTITY is used to specify the code signing certificate identity, for example: